Hi,

On Wed, Aug 13, 2025 at 06:25:18PM +0200, Gert Doering wrote:
> > /usr/libexec/openvpn/dns-updown: line 194: dns_server_1_address_*: invalid 
> > variable name
> > No DNS servers specified, refusing operation.
> > 2025-08-08 11:44:24 dns up command exited with status 0
> 
> Can you test this patch, please?
> 
> https://gerrit.openvpn.net/c/openvpn/+/1144

I found time to set up a VM with Debian Unstable, installed "resolvconf",
and tested this.  Without the patch, same error, with the patch, proper
DNS :-)

Merged to master, 2.7_beta1-to-be

commit 72a0e6f94f16a6dcfe2b445758d42dedaba11b92
Author: Heiko Hund <he...@ist.eigentlich.net>
Date:   Mon Aug 18 18:46:08 2025 +0200

    dns: fix systemd dns-updown script

    In the resolvconf part of the script there was one instance of a dynamic
    variable using _* left. The _* ones do not work as the regular ones, but
    only when you directly place them within ${!}, not indirectly using a
    variable.


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