To install a DNS server, start YaST and select Software > Software Management. Choose Filter > Patterns and select DHCP and DNS Server. Confirm the installation of the dependent packages to finish the installation process.