Host resolve question.
Thomas Porter
tporter at dtool.com
Thu May 4 11:54:12 UTC 2000
On 3 May 2000 16:06:46 -0700, Hugh Lewis <hlewis at master.roundtuit.com>
wrote:
>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.
>
Why not??
>
>>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.
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
*****************************
Thomas Porter, Ph.D.
http://www.dtool.com
There is magic in the web.
Shakespeare
Othello, Act 3, Scene 4
**********************************
More information about the bind-users
mailing list