Posted by Asok on Mon 8 Aug 2005 at 20:14
Can somebody point me in the right direction for setting up DNS for a small home network?
My main machine (Windows 2000 server) is running AD, and DNS and DHCP.
My router, which is connected to cable modem, is setup as my gateway.
I am going to start moving everything to a Debian based server with Samba, Bind9, and DHCP.
The part I'm not sure on is how to setup DNS.
[ Parent ]
Definitely.
For a small home setup you have no real need to use the full power of bind.
By contrast dnsmasq is trivial to setup.
Install it with:
apt-get install dnsmasq
Then modify the configuration file /etc/dnsmasq.conf to enable DHCP serving. The file is commented extensively and is very readable.
Any static hosts you have locally, like the router, you can simply add to /etc/hosts upon that machine - and they will be served via DNS too.
Steve
-- Steve.org.uk
[ Parent ]
[ Parent ]
True if you need AD then you're probably stuck with it.
I read the question as if the active directory was only being used for DNS purposes and that was what the submitter wished to have replaced though.
Steve
-- Steve.org.uk
[ Parent ]
[ Parent ]
--
Serge van Ginderachter
[1] Debian System Administrators
[ Parent ]
Good comments.
I personally haved used the internal domain my.flat, or my.house for the past few years when I've been at home.
In a business context I'd use an internal domain which was related to the main companies domain. eg. If the company used foo.com then the internal names would be "steve.scotland.foo.com", or "steve.internal.foo.com", etc.
Using a full external domain name is a real source of pain and, as you say, should be avoided completely.
Steve
-- Steve.org.uk
[ Parent ]
[ Parent ]
I think there are a couple of good reasons for it:
I guess though that it is optionally, it's certainly possible to run hosts without a local domain. It's also possible to run a network without DNS although I've found the pain of keeping /etc/host files in sync above 5 machines makes DNS almost mandatory.
The second point makes it all worthwhile for me. Having renumbered local IP addresses in the past not having to change "192.168.1.0/24" because I'm matching client addresses against "my.flat" saves time and effort.
Steve
-- Steve.org.uk
[ Parent ]
[ Parent ]
[ Parent ]
[ Parent ]
Although you have to compile it, it is easy to set up and secure.
[ Parent ]