Hi, On Tue, Jun 09, 2026 at 06:03:59PM +0000, Leroy Tennison via Openvpn-users wrote: > I saw https://community.openvpn.net/openvpn/ticket/1209 but the resolution > isn't clear. The man page for 2.6.14 seems to imply that DOMAIN can only be > used once (but doesn't specifically state that) and DOMAIN-SEARCH can be used > up to 10 times. > Although the server will push both (at lease as of 2.5.something) the 2.6.14 > update-resolv-conf doesn't refer to DOMAIN-SEARCH so it's ignored (I'm > dealing with Linux exclusively if that's not obvious). What I've discovered > from testing is that multiple DOMAIN directives work to produce a multiple > domain search list with the current update-resolv-conf. > I have created an enhanced update-resolv-conf if anyone's interested (don't > know if this mailing list supports attachments), the change is trivial (just > diff it). I probably could supply a systemd script if there's any interest, > just reply.
2.6 is in maintenance mode, so your time is better invested looking into
2.7.x, which brings more full-featured "dns-updown" scripts, and also
fully supports the much better defined "--dns" options.
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 [email protected]
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
