Bind9 on Debian
#CloudTips How to add new Zone in Bind or Bind9 . Tested with Ubuntu and Debian. Must work with other distros as well
Add the forllowing on /etc/bind/named.conf
zone "vodafone.qa" IN {
type master;
file "/etc/bind/db.zone1";
allow-update { none; };
};
and on /etc/bind/db.zone1
$TTL 604800
@ IN SOA example.com. mail.example.com. (
21 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.example.com.
ns IN A 8.8.8.8
@ IN A 172.16.6.4
ims IN A 172.16.6.4
Restart service bind
sudo service bind restart
Team Claudion
Senior consultant
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1