openwrt_archive/net/djbdns/files/dnsroots-update
Markus Wigge 13f6125f52 added djbdns patch provided by Johnny Halfmoon
removed dnsmasq.patch as the options were included upstream already.


SVN-Revision: 15612
2009-05-05 09:27:07 +00:00

10 lines
364 B
Bash

#!/bin/sh
# This is a script that outputs the current list of active DNS
# root servers. To run, it requires an active internet connection
# and a working resolving DNS server. It also requires that the
# djbdns dnstools be installed, or at least the tools dnsqr and
# dnsip.
dnsqr ns .|grep answer|cut -f 5 -d " "|sort|while read server; do dnsip $server; done