dnsmasq: update to 2.73 (23.06.2015)
[tomato.git] / release / src / router / dnsmasq / contrib / reverse-dns / README
blob2ec4df1f957ed8b4ac41035c4cacad60a45fb6f1
1 The script reads stdin and replaces all IP addresses with names before\r
2 outputting it again. IPs from private networks are reverse looked  up\r
3 via dns. Other IP adresses are searched for in the dnsmasq query log.\r
4 This gives names (CNAMEs if I understand DNS correctly) that are closer\r
5 to the name the client originally asked for then the names obtained by\r
6 reverse lookup. Just run\r
7 \r
8 netstat -n -4 | ./reverse_replace.sh \r
9 \r
10 to see what it does. It needs \r
12 log-queries\r
13 log-facility=/var/log/dnsmasq.log\r
15 in the dnsmasq configuration.\r
17 The script runs on debian (with ash installed) and on busybox.\r