On Sun, 4 Mar 2007, 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?
Given that 2 of your IP addresses are in RFC 1918 private IP space, it is a good thing not to have your public DNS name resolve to those IP addresses, as they should not be routable, and may be in use at amny other sites (and thus could resolve to a local address at those sites). Having multiple domain names, each pointing to a separate interface on one machine is certainly within the rules for DNS, and is very effective in certain situations. Some services (email especially) may need to be configured with a list of "these DNS names are also the local server" to operate correctly, but this should not be a huge burden. -- Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol Asking for technical help in newsgroups? Read this first: http://catb.org/~esr/faqs/smart-questions.html#intro -- [email protected] mailing list

