Skip to main content
SUSE

Lesson 11 DNS Server

By October 2, 2013September 12th, 2022No Comments



The DNS server is the subject of this lesson. We look at installing the DNS server and managing it through both YaST and from the command line. The software package to install in BIND, the Berkeley Internet Name Daemon. This is installed automatically if we use YaST to first set up the DNS server on openSUSE. To manage from the command line we need to set the /etc/resolv.conf to point towards the localhost. The configuration is made using the /etc/named.conf file. Without adding any DNS zones the server will working in caching-only mode. It can resolve names via the root zone servers but does not host and zones. The zone names are defined in the named.conf but usually stored in /var/lib/named the running directory for the DNS server.