Date: Sun, 3 Jul 2005 21:20:09 -0400 From: Ken Ebling <ken@idealinter.net> To: Alan Curtis <alan.curtis@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: DNS setup Message-ID: <1F4B89A9-C671-43C1-89DE-405F76F20E2F@idealinter.net> In-Reply-To: <D0F27E90-43EA-4380-A9FE-92889DC4F2BA@gmail.com> References: <28EDBC57-9AE6-4D8B-9BA5-F8445C71600F@gmail.com> <20050703125754.53452296@phobos.mars.bsd> <EFDFAAFE-756D-47F3-BD9B-87FA335FFE48@gmail.com> <20050703200156.52602591@phobos.mars.bsd> <D0F27E90-43EA-4380-A9FE-92889DC4F2BA@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 3, 2005, at 8:21 PM, Alan Curtis wrote: > > On Jul 3, 2005, at 7:01 PM, Alejandro Pulver wrote: > > >> If you want examples I can provide you some. >> >> Then let me know if you want option 1) or 2) so I can help you >> with the >> next step. >> >> 1) Have an independent DNS server on each machine (there is one for >> Windows called TreeWalk - free -, that is the same as named). >> >> 2) Put a DNS server on *one* machine, and that DNS server is used >> by all >> the machines on the network. >> >> > > I would like to implement 2. > > Thanks for your help. > > Alan It's pretty easy to get working on FreeBSD 5.3. This is how I'd do it: 1) cd /etc/named 2) sh make-localhost 3) echo "named_enable=\"YES\"" >> /etc/rc.conf (note two double quotes after "YES\" and two ">") 4) edit /etc/namedb/named.conf to suit your needs. (you'll probably need to change the "listen-on" directive to add the IP address of your machine, because it's defaulted to 127.0.0.1, which means bind won't be listening on the network interface.) 5) /etc/rc.d/named start That's it. Now your machines can be configured to use that system as their primary name server. You may still want to do some things, like disallow other people from using your name servers, by only enabling "recursion" for your machines. You can find detailed instructions on configuring recursion here: http://www.netadmintools.com/art234.html Ken Ebling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F4B89A9-C671-43C1-89DE-405F76F20E2F>
