Creating a caching name server is the most basic BIND configuration. This configuration is the main building block for other more advanced BIND configurations. Students will learn to configure a caching name server and test name resolution with the `nslookup` command.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Install the bind and bind-utils Packages
$ yum install -y bind bind-utils
- Verify the named Configuration for localhost
$ cat /etc/named.conf
- Check the named Configuration with the named-checkconf Command
$ named-checkconf
- Start and Enable the named Service
$ systemctl start named $ systemctl enable named
- Test that Records are Returned for google.com Using the /etc/resolv/conf and the localhost Name Server Configurations
$ nslookup google.com $ nslookup google.com localhost