[Dnsmasq-discuss] Strange query-ports and server
options dependencies
Simon Kelley
simon at thekelleys.org.uk
Sun Jul 1 21:57:54 BST 2007
Pieter Hollants wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> dnsmasq 2.35:
>
> If I specify
>
> query-port=53
>
> it is no longer sufficient to specify
>
> server=10.240.0.254
>
> because this yields a
>
> dnsmasq[28893]: ignoring nameserver 10.240.0.254 - cannot make/bind
> socket: Permission denied
>
> error.
>
> I must then specify the server using an explicit interface IP as in
>
> server=10.240.0.254 at 10.240.0.1
>
> Why is that?
>
> If I omit the "query-port" directive the result is
>
> dnsmasq[28421]: using nameserver 10.240.0.254#53
>
> so apparantly the same.
>
Which version are you using? I can't reproduce this error in the latest
code. (I do get "address already in use" errors, which makes sense:
dnsmasq is listening for queries on port 53, so it needs to listen for
replies from upstream on a different port.)
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list