Wiki source for BryonEldridge
====== Bryon Eldridge ======
Former operator of Tier2 servers.
===== Tier2 Hint File Updater =====
This simple bash script will update your bind hint file if the Tier1 servers have changed. This should be run as a daily cron job.
Usage: updateHints [ dest | /var/named/named.root ] [ reload | true ]
%%(bash)if [ "$1" ]
then
dest=$1
else
dest=/var/named/named.root
fi
dig . NS @root.opennic.glue > /tmp/opennic.raw
if [ "`grep 'status: NOERROR' /tmp/opennic.raw`" ]
then
grep -v "^;" /tmp/opennic.raw | sort > /tmp/opennic.hint
if [ `md5sum /tmp/opennic.hint | awk {'print $1'}` != `md5sum $dest | awk {'print $1'}` ]
then
mv /tmp/opennic.hint $dest
if [ -z "$2" ] or [ "$2" == "true" ]
then
service named reload
fi
fi
else
echo Error updating hint file
cat /tmp/opennic.raw
fi
rm /tmp/opennic.raw%%
====== Other TLD Forwarders ======
Tier2 servers can configure forwarders to support non-OpenNIC TLDs as well. These are high maintenance, in that you need to update the forwarder list manually.
===== .bit =====
Forwarders copied from [[http://dot-bit.org/How_To_Browse_Bit_Domains#List_of_DNS_servers | List of DNS servers]]
%%zone "bit" IN {
type forward;
forwarders {
178.32.31.41; 2001:41d0:2:f391::401;
95.211.195.245; 2001:1af8:4020:a037:1::1000;
178.63.16.21;
54.235.73.82;
84.122.135.197;
};
};%%
===== .42 =====
Forwarders copied from [[http://wiki.42registry.org/page/Resolve#The_list | The list]]
%%zone "42" IN {
type forward;
forwarders {
81.93.248.69;
81.93.248.68;
91.194.60.196;
193.17.192.53;
109.235.51.12;
85.17.236.67;
94.23.63.126; 46.105.58.35; 2001:41d0:2:407e::42;
88.174.229.171; 2a01:e35:8aee:5ab0:224:1dff:fe62:aee9;
178.32.96.38; 188.165.34.42;
};
};%%
----
CategoryUsers
Former operator of Tier2 servers.
===== Tier2 Hint File Updater =====
This simple bash script will update your bind hint file if the Tier1 servers have changed. This should be run as a daily cron job.
Usage: updateHints [ dest | /var/named/named.root ] [ reload | true ]
%%(bash)if [ "$1" ]
then
dest=$1
else
dest=/var/named/named.root
fi
dig . NS @root.opennic.glue > /tmp/opennic.raw
if [ "`grep 'status: NOERROR' /tmp/opennic.raw`" ]
then
grep -v "^;" /tmp/opennic.raw | sort > /tmp/opennic.hint
if [ `md5sum /tmp/opennic.hint | awk {'print $1'}` != `md5sum $dest | awk {'print $1'}` ]
then
mv /tmp/opennic.hint $dest
if [ -z "$2" ] or [ "$2" == "true" ]
then
service named reload
fi
fi
else
echo Error updating hint file
cat /tmp/opennic.raw
fi
rm /tmp/opennic.raw%%
====== Other TLD Forwarders ======
Tier2 servers can configure forwarders to support non-OpenNIC TLDs as well. These are high maintenance, in that you need to update the forwarder list manually.
===== .bit =====
Forwarders copied from [[http://dot-bit.org/How_To_Browse_Bit_Domains#List_of_DNS_servers | List of DNS servers]]
%%zone "bit" IN {
type forward;
forwarders {
178.32.31.41; 2001:41d0:2:f391::401;
95.211.195.245; 2001:1af8:4020:a037:1::1000;
178.63.16.21;
54.235.73.82;
84.122.135.197;
};
};%%
===== .42 =====
Forwarders copied from [[http://wiki.42registry.org/page/Resolve#The_list | The list]]
%%zone "42" IN {
type forward;
forwarders {
81.93.248.69;
81.93.248.68;
91.194.60.196;
193.17.192.53;
109.235.51.12;
85.17.236.67;
94.23.63.126; 46.105.58.35; 2001:41d0:2:407e::42;
88.174.229.171; 2a01:e35:8aee:5ab0:224:1dff:fe62:aee9;
178.32.96.38; 188.165.34.42;
};
};%%
----
CategoryUsers