DNS Server: Difference between revisions

From QmailToaster
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
=Bind=
=Bind=
Tutorial [http://www.troubleshooters.com/linux/dns.htm here].
Tutorial [http://www.troubleshooters.com/linux/dns.htm here].
  # dnf -y install bind
  # dnf -y install bind bind-utils
  # cp /etc/resolv.conf /etc/resolv.conf.bak
  # cp /etc/resolv.conf /etc/resolv.conf.bak
  # 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

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

Tutorial here.

# dnf -y install bind bind-utils
# 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

Tutorial here.