Does "@" in CNAME record not work?
Joseph S D Yao
jsdy at cospo.osis.gov
Fri Jul 13 17:28:48 UTC 2001
On Fri, Jul 13, 2001 at 12:05:49AM +0000, Jim Lum wrote:
> > mydomain.com SOA ...
> > mydomain.com NS ns1.mydomain.com
> > mydomain.com A 192.168.0.4 ; must be an A record
> > ns1.mydomain.com A 192.168.0.4 ; must be an A record
> > www.mydomain.com CNAME mydomain.com
I didn't even notice that one of those names was "ns1". Certainly, if
it is the object of an NS record, it must be an A record rather than a
CNAME!
> Doesn't that bring me back to the problem pointed out in the Bind/DNS
> book (3rd edition, pgs. 64-65)?
There is a problem mentioned on pp. 63-64 of 3E that has to do with TWO
ADDRESSES for ONE NAME - not TWO NAMES for ONE ADDRESS. The discussion
ends on pp. 64-65 with a problem specific to the 'sendmail' program and
figuring out "the" canonical name. This is not your problem.
With the DNS protocol as currently defined, you must use two A records.
I would comment both instances to remind people that if one changes,
they should consider changing the other. Even if "people" is just you,
nobody corporeal has infinite memory capacity [you might forget].
--
Joe Yao jsdy at cospo.osis.gov - Joseph S. D. Yao
OSIS Center Computer Support EMT-B
-----------------------------------------------------------------------
This message is not an official statement of COSPO policies.
More information about the bind-users
mailing list