Where does my_domain.com come from ?

Barry Margolin barmar at genuity.net
Wed Jan 2 16:55:25 UTC 2002


In article <a0t6i3$ha2 at pub3.rc.vix.com>,
Jacques Blutch <blutch1954 at lycos.fr> wrote:
>if I have defined the my_domain.com domain in the configuration of my
>DNS with hosts www, pop and ftp, I can get the IP address of
>www.my_domain.com, pop.my_domain.com and ftp.my_domain.com but where
>does the IP address of my_domain.com come from. As all those addresses
>resolve to the same host, I am not sure of the origin of the IP
>address of my_domain.com. My guess is that it is defined by the
>wildcard which is at the end of my zone definition but I am not really
>sure.

No, a wildcard in the zone will apply to any XXX.my_domain.com names that
aren't already in the zone.  It doesn't apply to my_domain.com itself.

If you want an address for the domain name itself, just create an A record
for it:

my_domain.com. IN A 1.2.3.4

>Is this defined in a RFC or does it depend on the DNS software used ?

It's just like any other record.  The RFC's on DNS don't say anything
special about this, since there's nothing special to say.

You didn't have any problem entering the SOA, NS, or MX records for
my_domain.com, did you?  Why do you think the A record should be any
different?

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, 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