Bug#923963: dnsmasq: listen-address option is ignored, always listens on 0.0.0.0:domain / [::]:domain

2019-03-07 Thread Andreas Metzler
On 2019-03-07 Andreas Metzler  wrote:
> Package: dnsmasq
> Version: 2.80-1
> Severity: important

> Hello,

> the listen-address option is ignored:

> root@argenau:/etc# service dnsmasq stop
> root@argenau:/etc# netstat -ul
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address   Foreign Address State
> root@argenau:/etc# dnsmasq  --listen-address=127.0.0.1 
> --resolv-file=/etc/resolv.conf.static --no-daemon 
[...]

Looks like I need to set 

interface=
bind-interfaces

instead of listen-address to limit listening on 127.0.0.1/:i:

cu Andreas



Bug#923963: dnsmasq: listen-address option is ignored, always listens on 0.0.0.0:domain / [::]:domain

2019-03-07 Thread Andreas Metzler
Package: dnsmasq
Version: 2.80-1
Severity: important

Hello,

the listen-address option is ignored:

root@argenau:/etc# service dnsmasq stop
root@argenau:/etc# netstat -ul
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
root@argenau:/etc# dnsmasq  --listen-address=127.0.0.1 
--resolv-file=/etc/resolv.conf.static --no-daemon &
[1] 2423
root@argenau:/etc# dnsmasq: started, version 2.80 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua 
TFTP conntrack ipset auth DNSSEC loop-detect inotify dumpfile
dnsmasq: reading /etc/resolv.conf.static
dnsmasq: using nameserver 195.3.96.67#53
dnsmasq: using nameserver 213.33.98.136#53
dnsmasq: read /etc/hosts - 8 addresses
root@argenau:/etc# netstat -ul
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State  
udp0  0 0.0.0.0:domain  0.0.0.0:*  
udp6   0  0 [::]:domain [::]:* 


cu Andreas
-- System Information:
Debian Release: buster/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dnsmasq depends on:
ii  dnsmasq-base [dnsmasq-base]  2.80-1
ii  init-system-helpers  1.56+nmu1
ii  lsb-base 10.2018112800
ii  netbase  5.6

dnsmasq recommends no packages.

Versions of packages dnsmasq suggests:
pn  resolvconf