Re: dhcp-option DOMAIN and DOMAIN-SEARCH

Leroy Tennison via Openvpn-users <[email protected]> Wed, 10 Jun 2026 05:28:16 +0000 (UTC)
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
--===============1462927776905115035==
Content-Type: multipart/alternative; 
	boundary="----=_Part_329404_484720429.1781069296508"
Content-Length: 5326

------=_Part_329404_484720429.1781069296508
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

 Wow, I see what you mean, a lot has changed with 2.7.4, thanks.
    On Tuesday, June 9, 2026 at 04:00:08 PM CDT, Gert Doering <gert@greenie=
.muc.de> wrote:  =20

 Hi,

On Tue, Jun 09, 2026 at 06:03:59PM +0000, Leroy Tennison via Openvpn-users =
wrote:
> I saw=C2=A0https://community.openvpn.net/openvpn/ticket/1209=C2=A0but the=
 resolution isn't clear.=C2=A0 The man page for 2.6.14 seems to imply that =
DOMAIN can only be used once (but doesn't specifically state that) and DOMA=
IN-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).=C2=A0 What I've disc=
overed from testing is that multiple DOMAIN directives work to produce a mu=
ltiple 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).=C2=A0 I probably could supply a systemd script if there's an=
y 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

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

Gert Doering - Munich, Germany=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [email protected]
 =20
------=_Part_329404_484720429.1781069296508
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydp9dee989byahoo-style-wrap" style=
=3D"font-family:Arial, Helvetica, sans-serif;font-size:16px;"><div></div>
        <div dir=3D"ltr" data-setdir=3D"false">Wow, I see what you mean, a =
lot has changed with 2.7.4, thanks.</div><div><br></div>
       =20
        </div><div id=3D"ydp8f1dea76yahoo_quoted_1886817072" class=3D"ydp8f=
1dea76yahoo_quoted"><div class=3D"ydp8f1dea76yahoo-style-wrap" style=3D"fon=
t-family:Arial, Helvetica, sans-serif;font-size:16px;">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div class=3D"ydp8f1dea76quoted-text-header">
                        On Tuesday, June 9, 2026 at 04:00:08 PM CDT, Gert D=
oering &lt;[email protected]&gt; wrote:
                    </div>
                </div><div style=3D"font-family:'Helvetica Neue', Helvetica=
, Arial, sans-serif;font-size:13px;color:#26282a;border-left: 1px solid #cc=
c;padding-left: 8px;margin: 0px 0px 0px 8px" class=3D"ydp8f1dea76inline_rep=
ly_quote_container" data-split-quote-node=3D"true">
                <div><br></div><div><br></div>
                <div>Hi,<br><br>On Tue, Jun 09, 2026 at 06:03:59PM +0000, L=
eroy Tennison via Openvpn-users wrote:<br>&gt; I saw&nbsp;https://community=
.openvpn.net/openvpn/ticket/1209&nbsp;but the resolution isn't clear.&nbsp;=
 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.<br>&gt; Although the server will push both (at lease as of 2.5.some=
thing) 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).&nbsp; =
What I've discovered from testing is that multiple DOMAIN directives work t=
o produce a multiple domain search list with the current update-resolv-conf=
.<br>&gt; I have created an enhanced update-resolv-conf if anyone's interes=
ted (don't know if this mailing list supports attachments), the change is t=
rivial (just diff it).&nbsp; I probably could supply a systemd script if th=
ere's any interest, just reply.<br><br>2.6 is in maintenance mode, so your =
time is better invested looking into<br>2.7.x, which brings more full-featu=
red "dns-updown" scripts, and also<br>fully supports the much better define=
d "--dns" options.<br><br>gert<br><br>-- <br>"If was one thing all people t=
ook for granted, was conviction that if you <br> feed honest figures into a=
 computer, honest figures come out. Never doubted <br> it myself till I met=
 a computer with a sense of humor."<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Robert A. He=
inlein, The Moon is a Harsh Mistress<br><br>Gert Doering - Munich, Germany&=
nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=
 &nbsp; &nbsp; &nbsp;  <a href=3D"mailto:[email protected]" rel=3D"nofoll=
ow" target=3D"_blank">[email protected]</a><br></div>
            </div>
        </div></div></body></html>
------=_Part_329404_484720429.1781069296508--


--===============1462927776905115035==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============1462927776905115035==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

--===============1462927776905115035==--