Reverse entries

Reverse entries file

Once you’ve completed the configuration of the Forward entries file you can move to the next step, that is the creation of the Reverse entries configuration file.

File location

Both the Forward and the Reverse entries files are located at the following path:

/var/named

Sample configuration

Here, once again, feel free to copy and use the following text adapting it to your LAB.

$TTL 86400
@   IN  SOA     centos7.tdtlab.com. root.tdtlab.com. (
        1        ;Serial
        1H       ;Refresh
        1H       ;Retry
        1W       ;Expire
        3H        ;Minimum TTL
)

        IN  NS      centos7.tdtlab.com.
21      IN  PTR     centos7.tdtlab.com.
169     IN  PTR     cucm.tdtlab.com.
196     IN  PTR     uccx.tdtlab.com.

Using “vi” to create the Reverse entries file

You can use the text editor of your preference or even better, use the GUI provided by WinSCP to make things as easy as possible.

vi /var/named/dns.rev.zone.tdtlab.com
DNS BIND Reverse Entries configuration file

Where to go next?