Hi,

On Mon, Aug 11, 2025 at 10:04:18PM +0200, Ralf Hildebrandt wrote:
> > I guess "systemd-resolved" comes preinstalled
> 
> So I checked (25.04):
> 
> $ sudo apt install resolvconf
> Note, selecting 'systemd-resolved' instead of 'resolvconf'
> systemd-resolved is already the newest version (257.4-1ubuntu3.1).
> systemd-resolved set to manually installed.
> 
> :(
> 
> And alas, it doesn't work with systemd-resolved, but you do know that:
> 
> ...
> 2025-08-11 17:42:11 net_addr_v4_add: 172.29.0.2/21 dev tun0
> 2025-08-11 17:42:11 /usr/libexec/openvpn/dns-updown setting DNS using 
> resolvconf

The interesting thing is that it thinks it's *not* using systemd-resolved,
because then it should print

        echo "setting DNS using resolvectl"

... which depends on

function do_resolved {
    [[ "$(readlink /etc/resolv.conf)" =~ systemd ]] || return 1


Mmmh.

(But Heiko is aware of the bug in the other method, so we should see
a bugfix soon...)

gert

-- 
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             g...@greenie.muc.de

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to