-----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

Reply via email to