1,760
edits
Changes
no edit summary
* echo PTR record should contain the FQDN and the corresponding IP address in reverse dotted-decimal notation format (e.g. use 53.99.168.192.in-addr.arpa. for IP address 192.168.99.53)
== BIND configuration file ==
File name: named.conf
Directory: /etc (or in /var/named/chroot/etc with "chroot" activated)
Configure the following major options:
* listen-on: port 53 and all network interface
* directory: /var/named
* allow-query: any
* recursion: no
* dnssec-enable: yes
* dnssec-validation: no
* dnssec-lookaside: auto
Add two zone statements: one points to the forward lookup zone file "my-zone.txt", and the other points to the reverse lookup zone file "rev-zone.txt".
<pre>
zone "mydomain.net" IN {
type master;
file "my-zone.txt";
allow-update { none; };
};
zone "99.168.192.in-addr.arpa" {
type master;
file "rev-zone.txt";
allow-update { none; };
};
</pre>