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 1HPBfC-0005Lc-Ig for garchives@archives.gentoo.org; Thu, 08 Mar 2007 05:59:43 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l285w5RN020633; Thu, 8 Mar 2007 05:58:05 GMT Received: from atlantis.flyingjoke.org (soggy88.drizzle.com [216.162.199.88]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l285sAh4016096 for ; Thu, 8 Mar 2007 05:54:11 GMT Received: from atlantis.flyingjoke.org (atlantis.flyingjoke.org [192.168.1.8]) by atlantis.flyingjoke.org (Postfix) with ESMTP id 7CEDC11A77 for ; Wed, 7 Mar 2007 21:54:08 -0800 (PST) Date: Wed, 7 Mar 2007 21:54:00 -0800 (PST) From: David Talkington X-X-Sender: dtalk@atlantis.flyingjoke.org To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: A DNS question. In-Reply-To: <011c01c75dc8$a3c0ea80$08200a0a@PowerMoneySex.Lan> Message-ID: References: <011c01c75dc8$a3c0ea80$08200a0a@PowerMoneySex.Lan> 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; format=flowed X-Archives-Salt: a5aa643d-9691-4b24-88c3-d282219ebdfd X-Archives-Hash: cd1f38dfc2c75997967ffce684983a1d -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bob Young wrote: > 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? DNS is for other computers to find yours. Yours doesn't give a squirt what other computers call it (web server software might, if it's using virtual hostnames, but a router or DNS server won't). Traffic either arrives and is dealt with, or it doesn't. It can be known by a bazillion names, if it makes sense to do so. I do this for my home router as well; each segment has its own network and DNS namespace, and thus knows the router by a different name. (*) You do not, however, want to publish DNS information for RFC 1918 addresses, as was pointed out. You should use "views" or a "split horizon" configuration, so that private names are only seen by private machines. (*) But use multiple A records, not CNAME. CNAME is almost never necessary, and gains you nothing except an extra query from every client. I've seen some cluster configurations in which CNAME offered an advantage, but it's rare. - -- David Talkington PGP key: http://www.prairienet.org/~dtalk/004B8F8B.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFF76UA5FKhdwBLj4sRAgKSAJwPYLT5NkcsDvZj94H6yJSwHrcbSgCfWMYf 9Ghfgopn1kESEYSH+tWqlX8= =ux8w -----END PGP SIGNATURE----- -- gentoo-user@gentoo.org mailing list