BIND Add Host

From TheBestLinux.com
Jump to navigationJump to search

Here is a screenshot showing the actual commands I typed on my VM running BIND version 9.11 on a CentOS Linux release 8.4.210 virtual machine in order to add a new host to my domain on my network. It just shows the commands, but not what I did while typing these commands, which I will detail after showing the screenshot of just the commands typed. Of course, since this is a critical sensitive administrative task, you must become the root superuser, either by using the "sudo" command, as shown in my screenshot, or just as the "root" user.

Last login: Fri Oct  8 01:58:44 2021 from 192.168.200.125
[jamie@ns1.dawgland.com:~]$ sudo su -
Last login: Fri Oct  8 01:58:47 PDT 2021 on pts/0
[root@ns1.dawgland.com:~]# cd /var/named/
[root@ns1.dawgland.com:/var/named]# vi db.dawgland.com 
[root@ns1.dawgland.com:/var/named]# vi db.200.168.192.in-addr.arpa 
[root@ns1.dawgland.com:/var/named]# rndc reload
server reload successful
[root@ns1.dawgland.com:/var/named]#