dnsmasq --bind-interfaces does not bind to /dev/wwan0 after resume from suspend



Hi all,

I have an issue with NetworkManager 1.2.4 and 1.4.0/1.4.1 in combination with dnsmasq and my GSM modem: after 
a resume from suspend dnsmasq will not bind with the GSM modem, and the following `dig` shows status REFUSED:

---
$ dig google.com
---
; <<>> DiG 9.10.4-P2 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 32356
---

When I kill the dnsmasq process and let it be respawned by NetworkManager dnsmasq will resolve DNS requests 
again using the GSM modem.

---
$ ps aux |grep dnsmasq
---
nobody    8291  0.0  0.0  48352  4140 ?        S    15:55   0:00 /usr/bin/dnsmasq --no-resolv 
--keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid 
--listen-address=127.0.0.1 --cache-size=400 --conf-file=/dev/null --proxy-dnssec 
--enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
---
$ kill 8291
$ dig google.com
---
; <<>> DiG 9.10.4-P2 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 27965
---

Maybe the modem comes online after the dnsmasq process is started so it won't bind to the interface.  But 
then again should interfaces, once they become available, not be provided to dnsmasq by NM via dbus?

Any advice on how to narrow down the issue would be appreciated!

Thanks, Dan


--
Daniel R. van Rossum
Witte de Withstraat 46
6712 HD Ede, Netherlands
home: +31 317 702 722
cell: +31 6 88 818284

Attachment: signature.asc
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]