DNS Server: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
[http://www.oreilly.com/catalog/linuxckbk/ <i>The Linux Cookbook</i> (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 [http://safari.oreilly.com/0596006403/linuxckbk-PREFACE-2#X2ludGVybmFsX1RvYz94bWxpZD0wNTk2MDA2NDAzL2xpbnV4Y2tiay1DSFAtMjQ= here].
[http://www.oreilly.com/catalog/linuxckbk/ <i>The Linux Cookbook</i> (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 [http://safari.oreilly.com/0596006403/linuxckbk-PREFACE-2#X2ludGVybmFsX1RvYz94bWxpZD0wNTk2MDA2NDAzL2xpbnV4Y2tiay1DSFAtMjQ= here].


==== bind ====
=Bind=
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].
  # dnf -y install bind
  # dnf -y install bind
Line 8: Line 8:
  # sed -i 's/nameserver.*/nameserver 127.0.0.1/g' /etc/resolv.conf
  # sed -i 's/nameserver.*/nameserver 127.0.0.1/g' /etc/resolv.conf
  # systemctl enable --now named
  # systemctl enable --now named
==== djbdns ====
=djbdns =
A very nice tutorial for djbdns can be found [http://www.troubleshooters.com/linux/djbdns/index.htm here].
A very nice tutorial for djbdns can be found [http://www.troubleshooters.com/linux/djbdns/index.htm here].

Revision as of 13:10, 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.

# dnf -y install bind
# cp /etc/resolv.conf /etc/resolv.conf.bak
# sed -i 's/nameserver.*/nameserver 127.0.0.1/g' /etc/resolv.conf
# systemctl enable --now named

djbdns

A very nice tutorial for djbdns can be found here.