On Thu, 2004-06-17 at 08:43, Lance A. Brown wrote:
> For Redhat/Fedora systems:
> 
> root $ yum -y install caching-nameserver
> root $ /sbin/chkconfig named on
> root $ /sbin/service named start
> 
> :-)
> 

Beat me to it.  If you want to test the server, do this:

$ nslookup -sil
> server 127.0.0.1
Default server: 127.0.0.1
Address: 127.0.0.1#53
> www.trilug.org
Server:         127.0.0.1
Address:        127.0.0.1#53
 
Non-authoritative answer:
www.trilug.org  canonical name = moya.trilug.org.
Name:   moya.trilug.org
Address: 64.244.27.141
>

(The > is the prompt in nslookup, so it should be pretty easy to figure
out the above exchange.)

I find nslookup to the easiest program to use for testing name servers;
it doesn't output a lot of info you don't need, unlike 'dig', and it has
more features than 'host'.

Once you're sure the caching nameserver is working, change
/etc/resolv.conf to use your local nameserver (127.0.0.1) as the first
'nameserver' line.  

Hope this helps,
Jeremy

P.S. I usually specify the upstream ISP's servers as 'forwarders' to
reduce load on the root servers.  For example, in /etc/named.conf, in
the first section ("options"), I have these lines:
        forwarders{
                192.101.21.1; 128.109.131.3; 207.217.126.11;
        };

-J.P.

-- 
/---------------------------------------------------------------------\
| Jeremy Portzer        [EMAIL PROTECTED]      trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\---------------------------------------------------------------------/

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to