DNS Server: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
A very nice tutorial for bind can be found [http://www.troubleshooters.com/linux/dns.htm here]. | A very nice tutorial for bind can be found [http://www.troubleshooters.com/linux/dns.htm here]. | ||
#* # yum -y install bind caching-nameserver | #* # yum -y install bind caching-nameserver | ||
# Set named up to run after reboot. And start named | # Set named up to run after reboot. And start named |
Revision as of 12:04, 19 October 2024
Back
The Linux Cookbook (O'Reilly) by Carla Schroder has very good recipes for setting up a DNS server. Caching, public and private servers for both bind and djbdns are covered. You can also read it online here.
bind
A very nice tutorial for bind can be found here.
- # yum -y install bind caching-nameserver
- Set named up to run after reboot. And start named
- # chkconfig named on
- # service named start
- Edit /etc/resolv.conf and add the following above other entries
- nameserver 127.0.0.1
- Test
- # dig qmailtoaster.com | grep "^;; SERVER"
- If you get ";; SERVER: 127.0.0.1#53(127.0.0.1)" then you're good to go.
djbdns
A very nice tutorial for djbdns can be found here.