[Fwd: Re: Hostnames on an internal subnet that also resolve in public DNS]

Ken Lyons - Graphix Wizard/Data-Forms KenL at GraphixWizard.com
Tue Feb 10 12:59:48 EST 2009

I just run two DNS servers, (two running copies of maradns), one for 
public and one private resolving.
I setup the server to have two Internal network addresses, i.e.  
10.x.x.10  (53) = public DNS resolv
10.x.x.11 (53) = private DNS resolv
And use the firewall to route who gets what... 
all WAN side request go to public and all LAN side go to private
(or just setup local computers to go directly to the private dns address)

Ken Lyons

Tom Harrison wrote:
> Hello -- re MaraDNS running on Ubuntu/Debian...
> I need intercommunication of a cluster of servers living in a private 
> network (10.x.x.x), but also need to get to the address of the hosts 
> via public DNS.  So, for example, web1.example.com might resolve to 
>, routable only within the subnet, but from an external 
> location (our office) would resolve to a publicly routable IP like 
> 98.76.544.321.  Within the subnet the servers also need to get at 
> public addresses too, like google.com.  I have all of this working 
> with the config below.
> However, some of the addresses for our domain are not in the subnet, 
> e.g. our office "corp.example.com"; these are public addresses that 
> can be resolved by the upstream servers.  Is there a way to configure 
> MaraDNS so that a "miss" on a name like "corp.example.dom" is passed 
> along thus resolving to its public address?
> mararc:
> ipv4_bind_addresses = ""
> chroot_dir = "/etc/maradns"
> hide_disclaimer = "YES"
> recursive_acl = ""
> upstream_servers = {}
> upstream_servers["."] = ""
> csv2 = {}
> csv2["example.com."] = "db.example.com"
> db.example.com:
> master.example.com.
> web1.example.com.

Ken Lyons
/ e/Solutions / IT Services
*/Toll Free/* 800.447.3676
*/Direct/* 407.656.9742
*/Fax/* 407.656.3353
kenl at graphixwizard.com <mailto:KenL at GraphixWizard.com>
hosting.graphixwizard.com <http://hosting.graphixwizard.com/>

More information about the list mailing list