From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HNbFi-0004bu-C4 for garchives@archives.gentoo.org; Sat, 03 Mar 2007 20:54:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l23Krcsc024690; Sat, 3 Mar 2007 20:53:38 GMT Received: from mail (c-24-245-14-14.hsd1.mn.comcast.net [24.245.14.14]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l23KmwWR019802 for ; Sat, 3 Mar 2007 20:48:58 GMT Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) by mail (Postfix) with ESMTP id D03BD645B for ; Sat, 3 Mar 2007 14:48:57 -0600 (CST) Date: Sat, 3 Mar 2007 14:48:57 -0600 From: Dan Farrell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] A DNS question. Message-ID: <20070303144857.453b4355@pascal.spore.ath.cx> In-Reply-To: <011c01c75dc8$a3c0ea80$08200a0a@PowerMoneySex.Lan> References: <011c01c75dc8$a3c0ea80$08200a0a@PowerMoneySex.Lan> Organization: Spore, Ltd. X-Mailer: Sylpheed-Claws 2.4.0 (GTK+ 2.10.6; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: d7c7b168-f3f0-4041-9d90-e0a7212be27e X-Archives-Hash: 5d96d4e25930d06a3774958f8e17e5dc On Sat, 3 Mar 2007 11:17:52 -0800 "Bob Young" wrote: > This isn't strictly a Gentoo question, but I'm setting up Gentoo box > to be used as a secondary DNS server, plus some other duties, and I'm > hoping there is a DNS wizard reading who can authoritatively answer > my question. > > First off the machine has three network cards, one with a (DHCP) > private IP (10.10.32.1) for talking to the local (Windows Domain) > LAN. A second NIC with a (Manually configured) IP address > (69.12.134.79) that is publicly registered (ns.debug1.com) as a > secondary DNS for several domains. And the third NIC has a (Manually > configured) private IP address (192.168.0.1) that will be used to > "sniff" all traffic that crosses the DSL modem. > > Obviously on a given system each NIC is usually connected to a > different domain, my question is, whether or not it > is /legal/possible/okay to use different *hostnames* on different > NICs? > > For example, in the scenario described above, assume the windows > domain is named "mydomain.lan," can I have 69.12.134.79 (NIC #2) > resolve to ns.debug1.com as that is it's publicly registered name, > while IP address 10.10.32.1 (NIC #1) resolves to gentoo.mydomain.lan? > > TIA > Bob Young > San Jose, CA. > > If your question is whether you can use multiple names in DNS, I believe you can. However, Im not sure they all can be A records -- you might need to use CNAME records instead. Also, you may or may not need PTR records to the ip from the various names. Different ip addresses usually deserve/get their own name, and this is appropriate. IF you want to have all 3 ip addresses have the same hostname, that should be ok too, but whether that's a reasonable way of doing things is questionable. -- gentoo-user@gentoo.org mailing list