Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Cc: RKY@×××××.Net
Subject: Re: [gentoo-user] A DNS question.
Date: Sat, 03 Mar 2007 22:32:49
Message-Id: 20070303172103.22d320e9@osage.osagesoftware.com
In Reply to: [gentoo-user] A DNS question. by Bob Young
1 On Sat, 3 Mar 2007 11:17:52 -0800
2 Bob Young wrote:
3
4 > This isn't strictly a Gentoo question, but I'm setting up Gentoo box
5 > to be used as a secondary DNS server, plus some other duties, and I'm
6 > hoping there is a DNS wizard reading who can authoritatively answer
7 > my question.
8 >
9 > First off the machine has three network cards, one with a (DHCP)
10 > private IP (10.10.32.1) for talking to the local (Windows Domain)
11 > LAN. A second NIC with a (Manually configured) IP address
12 > (69.12.134.79) that is publicly registered (ns.debug1.com) as a
13 > secondary DNS for several domains. And the third NIC has a (Manually
14 > configured) private IP address (192.168.0.1) that will be used to
15 > "sniff" all traffic that crosses the DSL modem.
16 >
17 > Obviously on a given system each NIC is usually connected to a
18 > different domain, my question is, whether or not it
19 > is /legal/possible/okay to use different *hostnames* on different
20 > NICs?
21 >
22 > For example, in the scenario described above, assume the windows
23 > domain is named "mydomain.lan," can I have 69.12.134.79 (NIC #2)
24 > resolve to ns.debug1.com as that is it's publicly registered name,
25 > while IP address 10.10.32.1 (NIC #1) resolves to gentoo.mydomain.lan?
26 >
27 > TIA
28 > Bob Young
29 > San Jose, CA.
30
31 H'lo Bob,
32
33 I'm not a DNS wizard though (with help from friends) I have DNS running
34 locally/publicly. While my environment is not exactly the same as what
35 you describe, it has lots of similarities (which I realized as I wrote
36 the description below)....
37
38 The DNS configuration has several zone files. One is for my
39 192.168.x.y LAN. A second is for osagesoftware.com. The third is for
40 bogofilter.org.
41
42 My LAN has multiple machines, with a variety of operating systems and
43 distros. There are appropriate entries for each machine in the LAN zone
44 file. FWIW, each machine has a static IP address.
45
46 osagesoftware.com's zone file has multiple entries, i.e. www, ftp,
47 mail, etc which all resolve to one machine.
48
49 bogofilter.org's zone file also has multiple entries.
50
51 The DNS machine has 2 NIC's - one for connecting to the LAN's switch
52 and the other for connecting to the WAN (internet). The WAN card
53 responds to two static IP addresses (one each for osagesoftware.com and
54 bogofilter.org).
55
56 HTH,
57
58 David
59 --
60 gentoo-user@g.o mailing list