Forum Home
Press F1
 
Thread ID: 108660 2010-04-06 08:37:00 Serving DNS for internal "domain" via poptop Chilling_Silence (9) Press F1
Post ID Timestamp Content User
873638 2010-04-06 08:37:00 Hi all,

So I've got a VPN service (We'll call it domain.com)
What I'm wanting is so that when users are connected, my internal DNS overrides their current stuff, so if they then look up domain.com and server1.domain.com that it points them to an internal IP of 192.168.217.1 instead of the public IP Address.

What's the easiest way to do this in Linux? Do I need to go through and setup a full-blown DNS server? Or is there a "smarter" way for me to do this?
If I'm going for a full DNS, any recommendations on one that's easy to setup that I won't have to mess around with a lot? :D

Thanks


Chill.
Chilling_Silence (9)
873639 2010-04-06 09:04:00 Go with PowerDNS :D.

By the way, give me a shout when you've got a mo - we need to talk servers.
Erayd (23)
873640 2010-04-06 10:51:00 dnsmasq may suit.


Description: A small caching DNS proxy and DHCP/TFTP server
Dnsmasq is a lightweight, easy to configure, DNS forwarder and DHCP server. It
is designed to provide DNS and optionally, DHCP, to a small network. It can
serve the names of local machines which are not in the global DNS. The DHCP
server integrates with the DNS server and allows machines with DHCP-allocated
addresses to appear in the DNS with names configured either in each host or in
a central configuration file. Dnsmasq supports static and dynamic DHCP leases
and BOOTP/TFTP for network booting of diskless machines.

I've been using it in my small LAN routers for years and it is very easy to configure & pretty bulletproof.
Now I think about it, it is probably what is used in most off the shelf modem/routers as well.
fred_fish (15241)
873641 2010-04-06 13:04:00 Dnsmasq is good, provided you're only serving a handful of authoritative records, and don't need a dynamic backend. It doesn't scale well.

I've also experienced annoying stability issues with it in the past (random segfaults every few days), and occasional memory leaking.
Erayd (23)
1