Differences between revisions 1 and 2
Revision 1 as of 2009-06-27 18:22:08
Size: 679
Editor: SamatJain
Comment:
Revision 2 as of 2009-06-27 18:22:25
Size: 681
Editor: SamatJain
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
CategoryCategory CategoryCheetSheet

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:

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


CategoryCheetSheet

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