10. cd /var/named/
11. cp named.localhost forward.zone
12. cp named.loopback reverse.zone
13. change below entries in forward.zone file
@ IN SOA kalwa2.home.com. root.kalwa2.home.com. (
IN NS kalwa2.home.com.
Kalwa2 IN A 192.168.216.131
e.g. [root@kalwa2 named]# cat forward.zone
$TTL 1D
@ IN SOA kalwa2.home.com. root.kalwa2.home.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
IN NS kalwa2.home.com.
kalwa2 IN A 192.168.216.131
14. Change below entries in reverse.zone file
@ IN SOA kalwa2.home.com. root.kalwa2.home.com. (
IN NS kalwa2.home.com.
131 IN PTR kalwa2.home.com.
e.g.
[root@kalwa2 named]# cat reverse.zone
$TTL 1D
@ IN SOA kalwa2.home.com. root.kalwa2.home.com. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
IN NS kalwa2.home.com.
131 IN PTR kalwa2.home.com.
Leave a Reply