Philippe Teuwen wrote:
> Package: dnsmasq
> Version: 2.40-1
> Severity: minor
> 
> --- Please enter the report below this line. ---
> 
> Hello,
> 
> I'm using --listen-address=1.2.3.4 --bind-interfaces
> 
> ns0:/# netstat -ltupn
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address  Foreign Add State PID/Program
> tcp     0      0 1.2.3.4:53        0.0.0.0:* LISTEN  8061/dnsmasq
> udp     0      0 0.0.0.0:32799     0.0.0.0:*         8061/dnsmasq
> udp     0      0 1.2.3.4:53        0.0.0.0:*         8061/dnsmasq
> 
> So the query-port (the one you can choose with --query-port)
> is set without being bound to the IP as I asked for.

This is working as designed: dnsmasq is listening for DNS queries on
1.2.3.4 port 53 , both UDP and TCP. (the first and third lines of the
netstat output)

The second line is the socket that dnsmasq uses to communicate with
upstream servers. You can bind that to a specific interface, but using a
differnt syntax: something like

server=<server-ip>@1.2.3.4:32799

check the manpage for the --server option for details.

Cheers,

Simon.



> 
> Phil
> 
> --- System information. ---
> Architecture: i386
> Kernel:       Linux 2.6.22-3-vserver-686
> 
> Debian Release: lenny/sid
>   990 testing         ftp.kulnet.kuleuven.ac.be
>   500 unstable        ftp.kulnet.kuleuven.ac.be
> 
> --- Package information. ---
> Depends          (Version) | Installed
> ==========================-+-===========
> netbase                    | 4.30
> libc6           (>= 2.5-5) | 2.7-6
> libdbus-1-3      (>= 0.94) | 1.1.2-1
> adduser                    | 3.105
> 
> 
> 
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to