[Dnsmasq-discuss] Making dnsmasq listen to only one IP address

Leo R. Lundgren dnsmasq at finalresort.org
Sat Mar 17 09:39:46 GMT 2007


Thank you Paul and Simon! :) Doing `dnsmasq --bind-interfaces -- 
listen-address=1.2.3.4 `certianly did the trick! They must be used in  
conjunction, should've figured that out from the man page :)


16 mar 2007 kl. 20.48 skrev Leo R. Lundgren:

> 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