Host resolve question.
Hugh Lewis
hlewis at master.roundtuit.com
Wed May 3 22:58:34 UTC 2000
The problem with using a CNAME is if you're using the same machine
for PRIMARY DNS. Then you can't use the CNAME solution.
>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.
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
--
----------------------------------------------------------------------
Hugh Lewis
Lewis Enterprises 615.941.3083
213 Sugarberry Court http://www.roundtuit.com
Nashville, TN 37211 hlewis at roundtuit.com
More information about the bind-users
mailing list