[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: DNS Servers



At 11:30 1/9/2004, you wrote:
I am running RH9 and want to know where can i find out more
about how to setup a DNS server in RH9?

I want to create a caching DNS server with a forwarder to
my ISP.

1. Install the bind and caching-nameserver RPM packages.


2. Read the man page for named.conf and look for the forwarders and forward directives. Set up your ISP's DNS servers as forwarders using lines similar to these:

                // forward      first;
                // forwarders   { 200.30.144.4; 200.30.153.132; };

3. Edit /etc/resolv.conf on your nameserver system to contain the following (using your domain instead of "domain.com" of course!):
search domain.com
nameserver 127.0.0.1


4. "service named restart"

5. Check /var/log/messages to make sure it started properly. Test it by running queries; see the man pages for "host" and "dig".

6. Ensure that your firewalls allow DNS traffic (TCP and UDP on port 53) as appropriate. Connections should be allowed from the client PC's to your nameserver ONLY, not to the outside; connections should also be allowed from your nameserver to any computer on the outside, not just those two IP addresses.

7. Change all your client PC's so resolve DNS with this nameserver ONLY.

Done. Questions?


-- Rodolfo J. Paiz rpaiz simpaticus com http://www.simpaticus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]