Create zone file with name "poison"
@ IN SOA ( ns1.domain.com. hostmaster.domain.com.
1 10800 3600 86400 21600 )
IN NS ns1.domain.com.
save and exit
After setting up the "poison" zone file, you need to direct the domains to this file in your named.conf file. You should add lines (or blocks, if you prefer to keep things on multiple lines) to named.conf which look like this:
named.conf
zone "virus.com" in { type master; file "poison"; };
zone "irfan.com" in { type master; file "poison"; };
zone "pathan.com" in { type master; file "poison"; };
save and exit
#rndc reload
or
#service named restart
@ IN SOA ( ns1.domain.com. hostmaster.domain.com.
1 10800 3600 86400 21600 )
IN NS ns1.domain.com.
save and exit
After setting up the "poison" zone file, you need to direct the domains to this file in your named.conf file. You should add lines (or blocks, if you prefer to keep things on multiple lines) to named.conf which look like this:
named.conf
zone "virus.com" in { type master; file "poison"; };
zone "irfan.com" in { type master; file "poison"; };
zone "pathan.com" in { type master; file "poison"; };
save and exit
#rndc reload
or
#service named restart
No comments:
Post a Comment