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.
H'lo Bob, I'm not a DNS wizard though (with help from friends) I have DNS running locally/publicly. While my environment is not exactly the same as what you describe, it has lots of similarities (which I realized as I wrote the description below).... The DNS configuration has several zone files. One is for my 192.168.x.y LAN. A second is for osagesoftware.com. The third is for bogofilter.org. My LAN has multiple machines, with a variety of operating systems and distros. There are appropriate entries for each machine in the LAN zone file. FWIW, each machine has a static IP address. osagesoftware.com's zone file has multiple entries, i.e. www, ftp, mail, etc which all resolve to one machine. bogofilter.org's zone file also has multiple entries. The DNS machine has 2 NIC's - one for connecting to the LAN's switch and the other for connecting to the WAN (internet). The WAN card responds to two static IP addresses (one each for osagesoftware.com and bogofilter.org). HTH, David -- gentoo-user@gentoo.org mailing list