Getting systemd-resolved to ignore an interface

This forum is for discussion about general software issues.

Getting systemd-resolved to ignore an interface

Postby Havinit » Thu Apr 23, 2015 4:56 pm

Hi,

I'm setting up an OpenVPN tap-mode client on a Pi 2, and can establish the link successfully, but I find that systemd-resolved then messes up my resolv.conf by adding the default nameservers (Google DNS! Not a default that everyone'll appreciate, I would think) not to mention the IPv6 version/s which are immaterial to my setup, though don't hurt I suppose.

I can manually patch that up while the VPN is up, but when I drop it, the same problem afflicts my wifi connection, rather than reinstating the DHCP-supplied values.

From this much, I think I'm right in saying that the archlinuxarm layout is at least a little bit different from x86 Arch when it comes to networking, so I don't want to trust the Arch wiki on this one.

What I'd like to know is, how do I (a) prevent the DHCP settings pushed to me by the openvpn server from being monkeyed with by systemd-resolved (or perhaps it's by systemd-networkd, I'm ex-Gentoo so this systemd lark is all a bit new to me); and (b) get my wifi nic to return to its original lease without interference?

Any tips welcome. Sorry if I'm being dense, it has been known.
Havinit
 
Posts: 6
Joined: Wed Apr 22, 2015 12:40 pm

Re: Getting systemd-resolved to ignore an interface

Postby WarheadsSE » Thu Apr 23, 2015 5:42 pm

I can't speak to this exactly, but have a look at http://www.freedesktop.org/software/sys ... ml#UseDNS=
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests