packages/net/djbdns/files/dnsroots-update
markus 272c366e05 added djbdns patch provided by Johnny Halfmoon
removed dnsmasq.patch as the options were included upstream already.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@15612 3c298f89-4303-0410-b956-a3cf2f4a3e73
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