Differences between revisions 3 and 4
Revision 3 as of 2009-06-27 18:44:58
Size: 695
Editor: SamatJain
Comment:
Revision 4 as of 2009-06-27 20:20:54
Size: 695
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
CategoryCheetSheet CategoryCheatSheet

Generate new dnsroots.global for dnscache

When dnscache is not in forwarding mode, the Internet's root DNS servers are contacted for DNS resolution. IP addresses for these servers is "hard-coded" into djbdns by way of configuration files. Sometimes the IP addresses for the Internet's root DNS servers change (though infrequent), and these configuration files need to be updated.

To update the relevant files:

   1 mv /etc/dnsroots.global /etc/dnsroot.global.old
   2 dnsip `dnsqr ns . | awk '/answer:/ { print $5; }' |sort` \
   3   > /etc/dnsroots.global
   4 cp /etc/dnsroots.global /service/dnscache/root/servers/@
   5 svc -du /service/dnscache


CategoryCheatSheet

SamatsWiki: CheatSheet/djbdns (last edited 2009-06-27 20:20:54 by SamatJain)