DNS:
setup: bind, caching-nameserver, bind-utils.
at /etc/named.conf -what is at NEW-serv
make /var/named/ros.co.il.zone
service named restart/reload for changing the zone file
/usr/sbin/rndc status
test: dig jojo.mytree, dig www, dig www1, dig -x 192.168.1.51
dig yahoo.com MX --> thats for the mail servers ip.
-run check: named-checkzone ros.co.il /var/named/ros.co.il.zone
-named -u named -g
err:
-FC2: couldnt add command channel ::#953 :
copy /etc/named.conf+/etc/rndc.conf to /var/named/chroot/etc
-FC2:"connection refused":
run: dnssec-keygen -a hmac-md5 -b 5 -n HOST 1.key
(will generate 2 files:K1...key+K1....private & made~ /etc/rndc.key)
take the key from rndc.key put it in ../etc/rndc.conf
(chown,chgrp named rndc.conf
.key )
|