[TriLUG] Caching DNS quickstart Was: RR DNS?

John Beimler john at radiomind.com
Thu Jun 27 12:04:00 EDT 2002


Quick Start guide to running your own DNS server.

On RedHat or Mandrake
---------------------
1. Install bind and caching-nameserver (Versions will vary depending on
your distribution of choice - on my RedHat 7.1 server it's bind-9.1.0-10
and caching-nameserver-7.1-3)

# rpm -Ivh bind
# rpm -Ivh caching-nameserver

2.  Run bind (not sure if you need this, but better safe than sorry)

# service bind start

3.  Set it up

in /etc/resolv.conf

add the line 

nameserver 127.0.0.1

before any other nameserver lines in the file already.

On Debian:

1. Install bind

# apt-get install bind

2.  Set it up

in /etc/resolv.conf

add the line 

nameserver 127.0.0.1

before any other nameserver lines in the file already.

Viola! You will now use your local name server to resolve names. If you
are interested in what you just did (and you should be!) check out the
DNS HOWTO:  http://www.tldp.org/HOWTO/DNS-HOWTO.html

Peace.

john




More information about the TriLUG mailing list