Hi, On Fri, Aug 08, 2025 at 11:48:32AM +0200, Ralf Hildebrandt via Openvpn-users wrote: > 2025-08-08 11:44:24 /usr/libexec/openvpn/dns-updown > setting DNS using resolvconf > /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 the shell trickery Heiko uses here is a bit beyond my pay grade - and I haven't had time to setup my own 25.04 system "with resolvconf" yet (holiday season...). The basic problem here is that "dns_server_${n}_address_*" only works in some contexts, but not in a variable assignment (or not in all bash versions, or something). So this is now solved differently. 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
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users