Open main menu

CDOT Wiki β

Changes

OPS535-L2

722 bytes added, 03:02, 19 September 2016
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>
1,760
edits