Author: adamg Date: Sat Feb 10 16:47:15 2007 New Revision: 8259 Added: admin/dns/README Log: - short installation howto
Added: admin/dns/README ============================================================================== --- (empty file) +++ admin/dns/README Sat Feb 10 16:47:15 2007 @@ -0,0 +1,54 @@ +pld-linux.org's nameserver installation howto: +---------------------------------------------- + +author: Adam Golebiowski (adamg@) + +Requirements: +- bind (no pdns nor djbdns, sorry) +- subversion +- cron + +Installation: + +1) checkout dns data somewhere into /var/lib/named + + # svn co http://svn.pld-linux.org/svn/admin/dns/ /var/lib/named/pld-dns + +2) include named.conf.pld in your named.conf file + + # echo 'Include "/etc/named.conf.pld";' >> /var/lib/named/etc/named.conf + +3) if you have any zones defined in your named.conf, you need to put them inside + a view, simplest way is to change: + + zone "example.com" { + ... + }; + + zone "example2.com" { + ... + }; + + to + view "world" { + match-clients { any; }; + + zone "example.com" { + ... + }; + + zone "example.com" { + .. + }; + }; + +4) run a check.sh to see if everything is ok + + # cd /var/lib/named/pld-dns + # ./check.sh + +5) add a crontab entry for a check.sh script, like: + + */5 * * * * cd /var/lib/named/pld-dns; ./check.sh + +That's it. _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
