DNS

2006-09-07 14:18
[personal profile] flexibeast
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:
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 *:domain
and 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 captured
but 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 reached
Now 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             anywhere
and 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 . . . .
 
This account has disabled anonymous posting.
(will be screened if not validated)
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Profile

flexibeast: Baphomet (Default)
flexibeast

Journal Tags

Style Credit

Powered by Dreamwidth Studios