all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Divan Santana <divan@santanas.co.za>
To: Help guix <help-guix@gnu.org>
Subject: split dns with dnsmasq and networkmanager broken since 1.10.10 -> 1.14.4
Date: Mon, 28 Oct 2019 21:04:34 +0200	[thread overview]
Message-ID: <87blu0669p.fsf@santanas.co.za> (raw)

Hi Guix,

I've configured split DNS with dnsmasq and networkmanager and been using
that for quite a while on guix system.

Since a recent update this split DNS setup has stopped working.

Booting the older guix system confirms all just works. I'm not quite
sure what could be wrong.

Here is the details:

Older system profile with these versions works:
kernel 5.2.17
lr29sc29fi0gpy48b2qzbjs6b744m0d6-dnsmasq-2.80
v481hl6d8syq8x9g3hrhmbbdw5qq612l-network-manager-1.10.10

Newer setup with these versions does not:
Kernel 5.3.7
snzrgg9qb6zf3jbshxb4j97ja90ppkng-dnsmasq-2.80
9ciqpyc6jzn1ia607w8s8ziy42jgasv2-network-manager-1.14.4

I've compared the way the processes are started, all looks the same,
except the versions.

Here is a comparison of dnsmasq procs. Working proc on top, broken on bottom.

/gnu/store/lr29sc29fi0gpy48b2qzbjs6b744m0d6-dnsmasq-2.80/sbin/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 --clear-on-reload --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
/gnu/store/snzrgg9qb6zf3jbshxb4j97ja90ppkng-dnsmasq-2.80/sbin/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 --clear-on-reload --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d

Comparison of networkmanager, old and new.

/gnu/store/v481hl6d8syq8x9g3hrhmbbdw5qq612l-network-manager-1.10.10/sbin/NetworkManager --config=/gnu/store/ib8k67r4lnqw52lwkw4dzds4a2dj4xwi-NetworkManager.conf --no-daemon
/gnu/store/9ciqpyc6jzn1ia607w8s8ziy42jgasv2-network-manager-1.14.4/sbin/NetworkManager --config=/gnu/store/ib8k67r4lnqw52lwkw4dzds4a2dj4xwi-NetworkManager.conf --no-daemon

Only other thing of interest, on the newer/problematic guix system, it
seems that if you start dnsmasq manually (via sudo) on another port it
seems to function fine.

I can't start it easily on port 53 since NM kills it when NM runs.

so running this to start it in parallel to the broken dnsmasq works:

sudo /gnu/store/snzrgg9qb6zf3jbshxb4j97ja90ppkng-dnsmasq-2.80/sbin/dnsmasq -p 54 --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 --clear-on-reload --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d

Testing with dig @127.0.0.1 -p 54 somewhere.example.com shows correct lookup.

But that's not of much help to me since it's on port 54 and not 53.

Any ideas?

                 reply	other threads:[~2019-10-28 19:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87blu0669p.fsf@santanas.co.za \
    --to=divan@santanas.co.za \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.