[Dnsmasq-discuss] listen on loopback for dns not working..
B. Cook
bcook at poughkeepsieschools.org
Sat May 22 20:01:53 BST 2010
Sorry for the terse email.. I just do not understand what I am missing..
If I start dnsmasq 2.52 before powerdns, pdns wont start..
if I start pdns first then dnsmasq all is fine..
cat -n dnsmasq.conf
1 all-servers
2 cache-size=4096
3 log-facility=/var/log/dnsmasq.log
4 #log-queries
5 resolv-file=/usr/local/etc/dnsmasq.resolv
6 except-interface=bge0
7 interface=lo0
8 listen-address=127.0.0.1
9 no-hosts
10
11 dns-forward-max=256
sockstat -4l | grep 53
nobody dnsmasq 37257 3 udp4 *:53 *:*
nobody dnsmasq 37257 4 tcp4 *:53 *:*
May 22 14:56:55 PowerDNS recursor 3.1.7.2 (C) 2001-2010 PowerDNS.COM BV
(Mar 8 2010, 13:43:15, gcc 4.2.1 20070719 [FreeBSD]) starting up
May 22 14:56:55 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free
software, and you are welcome to redistribute it according to the terms of
the GPL version 2.
May 22 14:56:55 Operating in 64 bits mode
May 22 14:56:55 Reading random entropy from '/dev/urandom'
May 22 14:56:55 Only allowing queries from: 127.0.0.1/32, 1.2.3.0/22
May 22 14:56:55 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8,
192.168.0.0/16, 172.16.0.0/12, ::1/128, fe80::/10
May 22 14:56:55 Inserting rfc 1918 private space zones
May 22 14:56:55 Exception: Resolver binding to server socket on port 53
for 1.2.3.4: Address already in use
Can someone suggest what I might possibly try..
everything is fine until you reboot the box, dnsmasq starts before pdns..
Thanks in advance.
More information about the Dnsmasq-discuss
mailing list