During the last couple of days i've been trying to set up a DNS server (specifically, BIND). And i'm completely stumped.
named(8) is running fine, as shown by the output of lsof -iUDP:53:
What am i missing here? If anyone has any suggestions, i'd be most interested to hear them . . . .
named(8) is running fine, as shown by the output of lsof -iUDP:53:
named 8842 named 20u IPv4 7765318 UDP [host]:domain named 8842 named 22u IPv4 7765320 UDP [host]:domain named 8842 named 24u IPv4 7765322 UDP *:domainand dig(1) seems to be working properly, since running dig -b 127.0.0.1 @127.0.0.1 localhost followed by tshark -i lo -f 'port 53' produces:
Capturing on lo 0.000000 127.0.0.1 -> 127.0.0.1 DNS Standard query A localhost 5.000241 127.0.0.1 -> 127.0.0.1 DNS Standard query A localhost 10.001650 127.0.0.1 -> 127.0.0.1 DNS Standard query A localhost 3 packets capturedbut the result returned by dig is:
; <<>> DiG 9.3.1 <<>> -b 127.0.0.1 @127.0.0.1 localhost ; (1 server found) ;; global options: printcmd ;; connection timed out; no servers could be reachedNow the obvious possible problem here is the firewall, but iptables -vL INPUT gives us:
pkts bytes target prot opt in out source destination 1819K 705M ACCEPT all -- lo any anywhere anywhereand anyway, Privoxy is communicating with Squid via loopback just fine.
What am i missing here? If anyone has any suggestions, i'd be most interested to hear them . . . .