No subject


Tue May 4 07:41:36 BST 2010


configuration isn't limiting itself to the lo0 interface. Try adding
in bind-interfaces

    6  except-interface=3Dbge0
    7  interface=3Dlo0
    8  listen-address=3D127.0.0.1



-a, --listen-address=3D<ipaddr>
Listen on the given IP address(es). Both --interface and
--listen-address options may be given, in which case the set of both
interfaces and addresses is used. Note that if no --interface option
is given, but --listen-address is, dnsmasq will not automatically
listen on the loopback interface. To achieve this, its IP address,
127.0.0.1, must be explicitly given as a --listen-address option.
-z, --bind-interfaces
On systems which support it, dnsmasq binds the wildcard address, even
when it is listening on only some interfaces. It then discards
requests that it shouldn't reply to. This has the advantage of working
even when interfaces come and go and change address. This option
forces dnsmasq to really bind only the interfaces it is listening on.
About the only time when this is useful is when running another
nameserver (or another instance of dnsmasq) on the same machine.
Setting this option also enables multiple instances of dnsmasq which
provide DHCP service to run in the same machine.


On Sat, May 22, 2010 at 12:01 PM, B. Cook <bcook at poughkeepsieschools.org> w=
rote:
> 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
> =A0 =A0 1 =A0all-servers
> =A0 =A0 2 =A0cache-size=3D4096
> =A0 =A0 3 =A0log-facility=3D/var/log/dnsmasq.log
> =A0 =A0 4 =A0#log-queries
> =A0 =A0 5 =A0resolv-file=3D/usr/local/etc/dnsmasq.resolv
> =A0 =A0 6 =A0except-interface=3Dbge0
> =A0 =A0 7 =A0interface=3Dlo0
> =A0 =A0 8 =A0listen-address=3D127.0.0.1
> =A0 =A0 9 =A0no-hosts
> =A0 =A010
> =A0 =A011 =A0dns-forward-max=3D256
>
> sockstat -4l | grep 53
> nobody =A0 dnsmasq =A0 =A037257 3 =A0udp4 =A0 *:53 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0*:*
> nobody =A0 dnsmasq =A0 =A037257 4 =A0tcp4 =A0 *:53 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0*:*
>
>
> May 22 14:56:55 PowerDNS recursor 3.1.7.2 (C) 2001-2010 PowerDNS.COM BV
> (Mar =A08 2010, 13:43:15, gcc 4.2.1 20070719 =A0[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 o=
f
> 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.
>
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>



More information about the Dnsmasq-discuss mailing list