NameServer Caching: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
 
Line 4: Line 4:
</pre>
</pre>


Edit the file '''/etc/resolv.conf''' so the operating system looks for the local name server first.  the entry below should be listed as the first nameserver entry.
Edit the file '''/etc/resolv.conf''' so the operating system looks for the local name server first.  The entry below should be listed as the first nameserver entry.
<pre>
<pre>
nameserver 127.0.0.1
nameserver 127.0.0.1

Latest revision as of 01:16, 2 January 2009

Install the cching nameserver

yum install caching-nameserver

Edit the file /etc/resolv.conf so the operating system looks for the local name server first. The entry below should be listed as the first nameserver entry.

nameserver 127.0.0.1

Start the service

/etc/init.d/named start

Set for automatic startup on system boot.

chkconfig named on