DNS setup to resolve domain.com

Barry Margolin barmar at genuity.net
Tue May 16 19:38:44 UTC 2000


In article <39217C6E.5B816B56 at alamut.net>,
michael23  <michael23 at alamut.net> wrote:
>How do the DNS records need to be setup to resolve the host
>"domain.com"?
>I have www.domain.com working just spiffy...
>but I'd like to allow people to type "domain.com" into their browser's
>location bar and still find my server

domain.com.  IN A  <address>

>My first attempt was to leave the host name blank in the "domain.db" and
>"192.168.1.1.db" record files, but that didn't work.

It should work in the domain.db file if it's on the line right after
another record for the domain itself, like the SOA or NS records.  Leaving
the name blank means a continuation of the previous name.

In the reverse domain, you would put

<reverse-addr>  IN PTR  domain.com.

As you can see, there's nothing particularly special about the domain name;
as far as DNS is concerned, it's just another hostname.

-- 
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