2 ms·
It's a nice website, but developers would be more inspired to try tools such as dnrd which allows one to run multiple dns servers on one machine and reverse-pro
by guylhem 15y ago
It's a nice website, but developers would be more inspired to try tools such as dnrd which allows one to run multiple dns servers on one machine and reverse-proxy the requests.
Ex on my dsl modem where I love to test stuff:
dnrd-port53 -a 192.168.178.1 -m off -s 127.0.0.1:mydomain.com -s 127.0.0.2:local -s 127.0.0.4:fritz.box -s 127.0.0.4:178.168.192.in-addr.arpa -s 213.16.20.51 -s 213.188.172.70 -s 74.82.42.42 -u dns -R /tmp/dnrd -l
This runs dnrd (hardcoded to bind on port 53 - I sometimes use other ports), and case switch the requests :
if it ends by .mydomain.com, it goes to 127.0.0.1
if it ends by .local, it goes to 127.0.0.2
if it ends by .fritz.box, it goes to 127.0.0.4
if it ends by .178.168.192.in-addr.arpa (reverse), it goes to 127.0.0.4
everything else goes to 213.16.20.51, 213.188.172.70, 74.82.42.42 : if one stops responding it's removed from the list and the others are used.
THAT is a tool for developpers.
Shameless plug : bind6.c on http://code.google.com/p/guylhem/source/browse/bind6.c http://code.google.com/p/guylhem/source/browse/bind6.c : if you also have a fritzbox dsl modem, you can "force bind" its default dns server to a given ip:53 instead of *:53, allowing another servers on say 127.0.0.1 :
killall multid; LD_PRELOAD=bind6.so BIND_IPV6=::ffff:127.0.0.4 /sbin/multid -v -d -U -P