Hello Noah,

> I am running osx 10.15.7 and installed the openvpn v3.2.7 client.
I am not so I am not sure this will be relevant but...

> Has anybody documented a decent way to be able to resolve hosts that are 
> reachable by the VPN. 
> We have resolvers at the site I can get resolution from when using the dig 
> @<ip> command. Any really good solutions are welcome.

If I understand correctly you want to open the VPN to the "other network" and 
after that want to access the hosts on the "other network" via dns lookup.
Then why don’t you set your dns server to the dns servers at the "other site"?
If you want to have that feature for all clients using OpenVPN then simply have 
the following line in the OpenVPN server config.
  push "dhcp-option DNS 192.168.1.10"  (but then with the proper ip address).
That line, along with the proper
  push "route 192.168.1.0 255.255.255.0"
line will set you up for "normal" access to resources on that site.

I do not know if you can set this in the client config on your side, probably 
you can.
If the "other network" dns server does NOT do full dns for all names local and 
on the internet then you might need a dns resolver in between that knows what 
to resolve itself and what to forward to the "other network" dns server.
I have it set up that way on my home situation where any dns name company.org 
gets sent to the company dns server via the vpn tunnel. Any other dns request 
will be forwarded to my isp.

Bonno Bloksma


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to