Libro sobre Proxmox maestria
4. Define zones for the local domain using the following command: # sudo nano /etc/bind/named.conf.local
Enter the following entries in the named.conf.local file:
zone "domain.com" IN { type master;
file "/etc/bind/zones/domain.com.db";
5. We will now add a reverse DNS lookup as follows for the local network in the same named.conf.local file:
zone "10.168.192.in-addr.arpa" { type master;
file "/etc/bind/zones/rev.10.168.192.in-addr.arpa"; };
6. Create a zones directory using the following command:
# sudo mkdir /etc/bind/zones
7. Configure the local domain using the following command:
Enter the following settings in the domain.com.db file. Match the IP addresses and hostnames with your network:
; Use semicolons to add comments.
; Host-to-IP Address DNS Pointers for home.lan
; Note: The extra "." at the end of the domain names are important.
; The following parameters set when DNS records will expire, etc.
; Importantly, the serial number must always be iterated upward to prevent
; undesirable consequences. A good format to use is YYYYMMDDII where
; the II index is in case you make more that one change in the same day.
$ORIGIN.
$TTL 86400
; 1 day domain.com. IN SOA ceph-admin-01.domain.com. hostmaster.domain. com. (