Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 1996 11:18:05 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Verdell hicks <verdell@novalink.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Name Server Q
Message-ID:  <Pine.BSF.3.91.961122111335.8206R-100000@panda.hilink.com.au>
In-Reply-To: <3294DE17.252A@novalink.com>

next in thread | previous in thread | raw e-mail | index | archive | help



On Thu, 21 Nov 1996, Verdell hicks wrote:

> Using Named I have CNAME entries which map to an actual entry, ie
> 
> 	somename            A       192.168.12.234
> 	news	            CNAME   loki

I hope you mean
somename IN A 192.168.12.234

 
> So at this point in time somename.novalink.com is 192.168.12.234 and
> news.novalink.com is an alias that points to somename.novalink.com.
> If you nslookup either name it hits back with the correct IP address.
> Problem, How do you get it to respond with both names if you nslookup
> the IP address.  Currently it only comes back with the actual machines
> name and no alias.  This is a problem beacause our reverse lookup file
> can have only one reverse entry in per ip number.  So it reads like this
> 
> 	234     IN      PTR     somename.novalink.com.
> 
> If i put in 
> 
> 	234	IN	PTR	somename.novalink.com.
> 	234	IN	PTR	news.novalink.com.
> 
> it only responds with the first entry.

Yes, the PTR records only give the *real* name.  You should only use one.
 
> so when you look up 192.168.12.234 it comes back with
> somename.novalink.com, but I need it to come back with both
> somename.novalink.com and news.novalink.com.  Any help would be
> appreciated.  All of of our CNAME entries are having this problem in
> that only name maps to the ip the ip maps only to the real machine name.

This is correct DNS behavior.  If you don't like it, you'll have to 
modify your own behaviour, not that of the DNS.

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961122111335.8206R-100000>