Host resolve question.

Jon Stewart Jstewart at digsigtrust.com
Wed May 3 16:45:07 UTC 2000


You should use a CNAME record to alias the zone, that's what CNAME records are
for.

company.com.                 IN     A                 172.10.4
www.company.com        IN     CNAME      company.com.

staalejg wrote:

> Ok. I if add the following entry I get the desired results:
>
> company.com.        IN A        172.16.10.4
>
> But, shouldn't the blank entry work as well since it gets the "company.com."
> entry from the named.conf file?
>
> "staalejg" <staalejg at bigfoot.com> wrote in message
> news:tCWP4.199532$AT6.270283 at dfw-read.news.verio.net...
> > Can someone help?
> >
> > I have two entries in my zone file. (company.com)
> >
> >             IN A        172.16.10.4
> > www    IN A        172.16.10.4
> >
> > When I run NSLOOKUP and do a query for these hosts I get the following
> > results.
> >
> > >company.com
> > Server: dns.company.com
> > Address: 172.16.10.1
> >
> > *** dns.company.com can't find company.com:  Non-existent host/domain
> >
> > >www.company.com
> > Server: dns.company.com
> > Address: 172.16.10.1
> >
> > Name:    www.company.com
> > Address:    172.16.10.4
> >
> > I want to the dns server to resolve a query for company.com to the same
> > address as www.company.com.
> >
> > Thanks.
> >
> >
> >
> >
> >
> >
> >
> >




More information about the bind-users mailing list