Closed GoogleCodeExporter closed 9 years ago
First, a belated thanks for reporting this.
I think this is related to Issue 144
(http://code.google.com/p/tunnelblick/issues/detail?id=144), but it isn't
exactly a duplicate.
I have a question about the original post of this issue: What is
"DOMAIN-SEARCH"? I don't find it mentioned on the OpenVPN 2.3 man page [2]. nor
do I find it in the OpenVPN source code.
Does OpenVPN accept it as a parameter of the --dhcp-option option, and just
pass it to scripts as a $foreign_option_n variable?
[1] http://code.google.com/p/tunnelblick/issues/detail?id=144
[2] https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage
Original comment by jkbull...@gmail.com
on 19 Feb 2013 at 6:11
domain-search is a dhcp option for supplying the domain name search path
(http://linux.die.net/man/5/dhcp-options).
Server-side, it's configured in openvpn via the push command as a dhcp option.
Here's an example from our config file:
push "dhcp-option DOMAIN domain.com"
push "dhcp-option DOMAIN-SEARCH subdomain.domain.com"
push "dhcp-option DOMAIN-SEARCH domain.com"
Hope that helps!
Original comment by geoff.fr...@gmail.com
on 19 Feb 2013 at 11:52
I suppose it would be nice to have the option to handle it, since OS X (and
many Linux distros) do use DHCP option 119 (DOMAIN-SEARCH) for system network
connections, but the "Prepend domain name to search domains" option already
takes care of my needs since I only have one internal domain.
This does not appear to be widely supported; in testing this OpenVPN on other
operating systems, I found the following:
* Windows 7: prepends DOMAIN to search list, DOMAIN-SEARCH ignored, complained
about unknown option
(note that Windows ignores this DHCP option entirely, so not surprising)
* Ubuntu 12.10: connecting via Network Manager prepends DOMAIN and ignores
DOMAIN-SEARCH
Same for connecting via cmdline, although a one-line patch to the
update-resolv-conf script does make it behave as desired.
Original comment by andrew.d...@gmail.com
on 13 Mar 2013 at 8:36
Tunnelblick 3.3beta34 includes the following changes, which I think should
close this Issue and Issue 144:
* Multiple "DOMAIN-SEARCH" entries are allowed, and are set, prepended, or ignored, like DNS or WINS servers.
* "DOMAIN" is used (A) as the "domain" and (B) if no DOMAIN-SEARCH entries are specified, as the "search domain"
* Only the last "DOMAIN" entry is used (like Windows)
(But I'll leave this Issue and Issue 144 open for a while.)
Original comment by jkbull...@gmail.com
on 27 Mar 2013 at 10:55
Original comment by jkbull...@gmail.com
on 10 Apr 2013 at 6:41
Original issue reported on code.google.com by
geoff.fr...@gmail.com
on 15 Nov 2012 at 2:53Attachments: