dhcp-option DOMAIN and DOMAIN-SEARCH

Leroy Tennison via Openvpn-users <[email protected]> Tue, 9 Jun 2026 18:03:59 +0000 (UTC)
Newsgroups gmane.network.openvpn.user
Message-ID <[email protected]>
--===============7381927870527998038==
Content-Type: multipart/alternative; 
	boundary="----=_Part_203299_1032154120.1781028239793"
Content-Length: 2574

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

I saw=C2=A0https://community.openvpn.net/openvpn/ticket/1209=C2=A0but the r=
esolution isn't clear.=C2=A0 The man page for 2.6.14 seems to imply that DO=
MAIN 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.1=
4 update-resolv-conf doesn't refer to DOMAIN-SEARCH so it's ignored (I'm de=
aling with Linux exclusively if that's not obvious).=C2=A0 What I've discov=
ered from testing is that multiple DOMAIN directives work to produce a mult=
iple 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 (ju=
st diff it).=C2=A0 I probably could supply a systemd script if there's any =
interest, just reply.
------=_Part_203299_1032154120.1781028239793
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami=
ly:Arial, Helvetica, sans-serif;font-size:16px;"><div dir=3D"ltr" data-setd=
ir=3D"false">I saw&nbsp;<a href=3D"https://community.openvpn.net/openvpn/ti=
cket/1209" rel=3D"nofollow" target=3D"_blank">https://community.openvpn.net=
/openvpn/ticket/1209</a>&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 does=
n't specifically state that) and DOMAIN-SEARCH can be used up to 10 times.<=
/div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data=
-setdir=3D"false">Although the server will push both (at lease as of 2.5.so=
mething) 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=
 to produce a multiple domain search list with the current update-resolv-co=
nf.</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" =
data-setdir=3D"false">I have created an enhanced update-resolv-conf if anyo=
ne's interested (don't know if this mailing list supports attachments), the=
 change is trivial (just diff it).&nbsp; I probably could supply a systemd =
script if there's any interest, just reply.</div></div></body></html>
------=_Part_203299_1032154120.1781028239793--


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


--===============7381927870527998038==
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

--===============7381927870527998038==--