Does "@" in CNAME record not work?

Barry Margolin barmar at genuity.net
Fri Jul 13 01:26:35 UTC 2001


In article <9il96n$e2v at pub3.rc.vix.com>, Jim Lum  <jlum at cox.rr.com> wrote:
>
>Barry, Kevin, et al,
>
>Ok, ok, I give up.  I *got* it already :)!  
>
>So, this still leaves me with the question about what to do, per my
>earlier post:

@   IN A 192.168.0.4
ns1 IN A 192.168.0.4
www IN CNAME @

@ needs to be an A record for the reason we've given.  ns1 needs to be an A
record because NS records are required to point to hostnames, not aliases.
There's nothing preventing www from being a CNAME, so do so.


>> > So, if, as in my case, the name server and the web server and the base
>> > domain all have the same IP address (as in my case), and if the @
>> > doesn't work, and if the mydomain.com. doesn't work, and I don't want to
>> > use an A record, how can I assign an IP address to the base zone/domain
>> > name??
>> >
>> > In other words, I want something like:
>> >
>> > mydomain.com            192.168.0.4
>> > ns1.mydomain.com        192.168.0.4
>> > www.mydomain.com        192.168.0.4
>
>


-- 
Barry Margolin, barmar at genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list