[Dnsmasq-discuss] Making dnsmasq listen to only one IP address
Paul Chambers
bod at bod.org
Fri Mar 16 20:11:23 GMT 2007
Have you tried specifying 'bind-interfaces' as well? I think it's what
you're looking for. I'm using it in combination with 'except-interface'
to have dnsmasq listen to only the internal network interfaces. The man
page has a good description of what 'bind-interfaces' does, and it works
as described for me.
Paul
Leo R. Lundgren wrote:
> Hi,
>
> I run FreeBSD on a server, and have some jails running on it.
> Currently dnsmasq listens on *:53 on this server, but I need it to
> listen to one specific IP address instead. The reason for this is so
> that the jail host won't hijack incoming traffic to any of the jail
> IP's, port 53.
>
> I've tried giving dnsmasq the flag --listen-address=1.2.3.4, but it
> just won't change anything. The output of netstat is still *:53. I've
> also looked at the various other arguments, but can't find anything
> that seems like it would do the job.
>
> Have I seriously missed something here, or is dnsmasq behaving weird?
> It's FreeBSD 6.2, nothing special. Please let me know if you need
> details :)
>
> Thanks, // Leo
>
> _______________________________________________
> 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