martin f krafft wrote:
Package: dnsmasq
Version: 2.45-1
Severity: minor
Tags: ipv6

I cannot seem to find a way to tell dnsmasq to listen on port53 for
both, ipv4 and ipv6 on a given interface. I specify multiple
--listen-address, the second one seems to be ignored. If I specify
only the --interface, only ipv4 is bound.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Works for me:
# dnsmasq -d --bind-interfaces --listen-address=192.168.0.150 --listen-address=fe80::20d:60ff:fe36:f83 --conf-file

spike:~# lsof -nc dnsmasq
COMMAND   PID USER   FD   TYPE     DEVICE    SIZE    NODE NAME
dnsmasq 22990 root cwd DIR 3,1 4096 2949776 /home/srk/dnsmasq-2.47/dnsmasq-2.47
dnsmasq 22990 root  rtd    DIR        3,1    4096       2 /
dnsmasq 22990 root txt REG 3,1 152195 2950088 /home/srk/dnsmasq-2.47/dnsmasq-2.47/src/dnsmasq dnsmasq 22990 root mem REG 0,0 0 [heap] (stat: No such file or directory) dnsmasq 22990 root mem REG 3,1 38412 721017 /lib/libnss_files-2.7.so dnsmasq 22990 root mem REG 3,1 34352 721020 /lib/libnss_nis-2.7.so
dnsmasq 22990 root  mem    REG        3,1   83708  721011 /lib/libnsl-2.7.so
dnsmasq 22990 root mem REG 3,1 30436 721013 /lib/libnss_compat-2.7.so
dnsmasq 22990 root  mem    REG        3,1 1356012  720994 /lib/libc-2.7.so
dnsmasq 22990 root  mem    REG        3,1  117344  720977 /lib/ld-2.7.so
dnsmasq 22990 root    0u   CHR      136,8              10 /dev/pts/8
dnsmasq 22990 root    1u   CHR      136,8              10 /dev/pts/8
dnsmasq 22990 root    2u   CHR      136,8              10 /dev/pts/8
dnsmasq 22990 root 3u sock 0,4 496134 can't identify protocol dnsmasq 22990 root 4u IPv6 496139 TCP [fe80::20d:60ff:fe36:f83]:domain (LISTEN) dnsmasq 22990 root 5u IPv6 496140 UDP [fe80::20d:60ff:fe36:f83]:domain dnsmasq 22990 root 6u IPv4 496141 TCP 192.168.0.150:domain (LISTEN) dnsmasq 22990 root 7u IPv4 496142 UDP 192.168.0.150:domain
dnsmasq 22990 root    8r  FIFO        0,5          496147 pipe
dnsmasq 22990 root    9w  FIFO        0,5          496147 pipe
dnsmasq 22990 root   10u  unix 0xf485f900          496149 socket


and
#dnsmasq -d --bind-interfaces --interface=eth0 --conf-file

spike:~# lsof -nc dnsmasq
COMMAND   PID USER   FD   TYPE     DEVICE    SIZE    NODE NAME
dnsmasq 23007 root cwd DIR 3,1 4096 2949776 /home/srk/dnsmasq-2.47/dnsmasq-2.47
dnsmasq 23007 root  rtd    DIR        3,1    4096       2 /
dnsmasq 23007 root txt REG 3,1 152195 2950088 /home/srk/dnsmasq-2.47/dnsmasq-2.47/src/dnsmasq dnsmasq 23007 root mem REG 0,0 0 [heap] (stat: No such file or directory) dnsmasq 23007 root mem REG 3,1 38412 721017 /lib/libnss_files-2.7.so dnsmasq 23007 root mem REG 3,1 34352 721020 /lib/libnss_nis-2.7.so
dnsmasq 23007 root  mem    REG        3,1   83708  721011 /lib/libnsl-2.7.so
dnsmasq 23007 root mem REG 3,1 30436 721013 /lib/libnss_compat-2.7.so
dnsmasq 23007 root  mem    REG        3,1 1356012  720994 /lib/libc-2.7.so
dnsmasq 23007 root  mem    REG        3,1  117344  720977 /lib/ld-2.7.so
dnsmasq 23007 root    0u   CHR      136,8              10 /dev/pts/8
dnsmasq 23007 root    1u   CHR      136,8              10 /dev/pts/8
dnsmasq 23007 root    2u   CHR      136,8              10 /dev/pts/8
dnsmasq 23007 root 3u sock 0,4 496184 can't identify protocol dnsmasq 23007 root 4u IPv6 496189 TCP [fe80::20d:60ff:fe36:f83]:domain (LISTEN) dnsmasq 23007 root 5u IPv6 496190 UDP [fe80::20d:60ff:fe36:f83]:domain dnsmasq 23007 root 6u IPv6 496191 TCP [::1]:domain (LISTEN)
dnsmasq 23007 root    7u  IPv6     496192             UDP [::1]:domain
dnsmasq 23007 root 8u IPv4 496193 TCP 192.168.0.150:domain (LISTEN) dnsmasq 23007 root 9u IPv4 496194 UDP 192.168.0.150:domain dnsmasq 23007 root 10u IPv4 496195 TCP 127.0.0.1:domain (LISTEN)
dnsmasq 23007 root   11u  IPv4     496196             UDP 127.0.0.1:domain
dnsmasq 23007 root   12r  FIFO        0,5          496201 pipe
dnsmasq 23007 root   13w  FIFO        0,5          496201 pipe
dnsmasq 23007 root   14u  unix 0xf66dac80          496203 socket


What are you doing differently to me?

Cheers,

Simon.



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

Reply via email to