From owner-freebsd-isp Thu Nov 21 20:09:25 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id UAA19241 for isp-outgoing; Thu, 21 Nov 1996 20:09:25 -0800 (PST) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id UAA19232 for ; Thu, 21 Nov 1996 20:08:53 -0800 (PST) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id WAA09937; Thu, 21 Nov 1996 22:07:23 -0600 From: Joe Greco Message-Id: <199611220407.WAA09937@brasil.moneng.mei.com> Subject: Re: Name Server Q To: verdell@novalink.com Date: Thu, 21 Nov 1996 22:07:22 -0600 (CST) Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: <3294DE17.252A@novalink.com> from "Verdell hicks" at Nov 21, 96 05:56:23 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-isp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Using Named I have CNAME entries which map to an actual entry, ie > > somename A 192.168.12.234 > news CNAME loki > > 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. This is perfectly and absolutely correct behaviour. > 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. Why do you "need" it to come back that way? Good DNS policy (until you understand the exceptions) is to have a single canonical name per address. That means one domain name maps to precisely one address, and this is implemented with both an "A" and a "PTR" record. A CNAME simply lists a convenient alias by which a machine might be known. In some cases ("news"), it might be because the machine provides a service. In some cases ("met" CNAME "metropolis") it might be because typing in the full name is a pain in the rump. If you really, really want to have a reverse mapping (and there is probably no reason to do so in this case), you assign another IP address to the machine. I do this with my DNS servers, for example. "dns1.sol.net" has a permanent IP address assigned to it, which never moves, even if the service switches from one machine to another. You can _always_ reach dns1 at 206.55.64.68. However, I did this simply for the wire-down-ability. There would be NO need for me to have a reverse entry for dns1 if it were implemented as a CNAME. In general: you should have as many A records as PTR records. ... JG