Monday, April 25, 2011

Setting up DNS Server with BIND9

- have bind9 installed
-edit the /etc/network/interfaces: change dhcp to static IP
-make file backup for your configuration files:
  sudo cp /etc/bind/named.conf.local   /etc/bind/named.conf.local.original  sudo cp /etc/bind/named.conf.options   /etc/bind/named.conf.options.original-configure /etc/bind/named.conf.local file: adding the reverse and forward lookup zones references into that file.
-setting up the forward lookup zone in
/etc/bind/named.conf.options file
-setting the reverse lookup zone in  /etc/bind/named.conf.local file
-making new directory to contain the reverse and foreward "db" files: mkdir /etc/bind/zones-create files inside zone directory: thanhsite.com.db  and rev.0.0.10.in-addr.arpa-restart
bind9 using: sudo /etc/init.d/bind9 restart-After testing: forward is working, reverse not working. trying to figure out what is wrong........

No comments:

Post a Comment