DNS Tutorial
file “slave/192.192.192.reverse”;
masters {kshounish1.bigleap.com}
};
If we go by dnsconf, it will create a slave under /var/named and then it will keep the files under it.
After we have done this just start the daemon
#/etc/rc.d/init.d/named restart (in kshounish2.bigleap.com.)
Similarly, for slave’s slave configuration, we can simply make another slave as kshounish4.bigleap.com saying that its master will be kshounish2.bigleap.com.
Remember
Whenever you do a new entry in zone file or reverse zone file of the master, always add 1 to the serial number and the restart daemon #/etc/rc.d/init.d/named restart.
But there is no need to restart the slave daemon.
Example:
Lets take the previous master file and updated master file and see the change in it
Normal database:
@ IN SOA kshounish2.love.com. root@kshounish2.love.com. (
2000011301 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
@ IN NS kshounish1.bigleap.com
kshounish1.bigleap.com IN A 192.192.192.1
kshounish2.bigleap.com IN A 192.192.192.2
kshounish3.bigleap.com IN A 192.192.192.3
kshounish4.bigleap.com IN A 192.192.192.4
kshounish5.bigleap.com IN A 192.192.192.5
kshounish5.bigleap.com IN A 192.192.192.6
kshounish7.bigleap.com IN A 192.192.192.7
kshounish8.bigleap.com IN A 192.192.192.8
kshounish9.bigleap.com IN A 192.192.192.9
kshounish10.bigleap.com IN A 192.192.192.10
@ IN SOA kshounish2.love.com. root@kshounish2.love.com. (
2000011301 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
43200 ; default_ttl
)
@ IN NS kshounish1.bigleap.com
1 IN PTR kshounish1.bigleap.com.
2 IN PTR kshounish2.bigleap.com.
3 IN PTR kshounish3.bigleap.com.
4 IN PTR kshounish4.bigleap.com.
5 IN PTR kshounish5.bigleap.com.
6 IN PTR kshounish6.bigleap.com.
7 IN PTR kshounish7.bigleap.com.
8 IN PTR kshounish8.bigleap.com.
9 IN PTR kshounish9.bigleap.com.
10 IN PTR kshounish10.bigleap.com.
Updated database:
@ IN SOA kshounish2.love.com. root@kshounish2.love.com. (
2000011302 ; serial
3600 ; refresh
900 ; retry
1209600 ; expire
- « first
- ‹ previous
- of 8
- next ›
- last »