Hi,
MX to CNAME Causes Extra Lookups
The sendmail program is frequently more forgiving than other MTAs because it accepts an MX record that points to a CNAME record. The presumption is that, eventually, the CNAME will correctly point to an A record. But beware, this kind of indirection can cost additional DNS lookups. Consider this example of an exceptionally bad setup:
hostA IN MX 10 mailhub
mailhub IN CNAME nfsmast
nfsmast IN CNAME hostB
hostB IN A 123.45.67.89
First, sendmail looks up hostA and gets an MX record pointing to mailhub. Since there is only a single MX record, sendmail considers mailhub to be official. Next, mailhub is looked up to find an A record (IP address), but instead a CNAME (nfsmast) is returned. Now sendmail must look up the CNAME nfsmast to find its A record. But again a CNAME is returned instead of an A record. So sendmail must again look for an A record (this time with hostB). Finally, sendmail succeeds by finding the A record for hostB, but only after a few too many lookups.
The correct way to form the above DNS file entries is as follows:
hostA IN MX 10 hostB
mailhub IN CNAME hostB
nfsmast IN CNAME hostB
hostB IN A 123.45.67.89
In general, try to construct DNS records in such a way that the fewest lookups are required to resolve any A or MX records
More information About MX record then Look this
MX to CNAME Causes Extra Lookups
The sendmail program is frequently more forgiving than other MTAs because it accepts an MX record that points to a CNAME record. The presumption is that, eventually, the CNAME will correctly point to an A record. But beware, this kind of indirection can cost additional DNS lookups. Consider this example of an exceptionally bad setup:
hostA IN MX 10 mailhub
mailhub IN CNAME nfsmast
nfsmast IN CNAME hostB
hostB IN A 123.45.67.89
First, sendmail looks up hostA and gets an MX record pointing to mailhub. Since there is only a single MX record, sendmail considers mailhub to be official. Next, mailhub is looked up to find an A record (IP address), but instead a CNAME (nfsmast) is returned. Now sendmail must look up the CNAME nfsmast to find its A record. But again a CNAME is returned instead of an A record. So sendmail must again look for an A record (this time with hostB). Finally, sendmail succeeds by finding the A record for hostB, but only after a few too many lookups.
The correct way to form the above DNS file entries is as follows:
hostA IN MX 10 hostB
mailhub IN CNAME hostB
nfsmast IN CNAME hostB
hostB IN A 123.45.67.89
For more Information.
http://www.busan.edu/~nic/networking...il/ch21_03.htm
Bright
24/7 Technical Support