We help IT Professionals succeed at work.

I am unabvle to resolve server name through OPENVPN connection

caandal
caandal asked
on
Hi there

We have just finished installing a new mandriva linux firewall with OPENVPN running.  We go through this firewall to the SBS server 2003 vias OPEN VPN to exchange to send/receive mail and share resources.  We can log on to the VPN no problem but are unable to resolve server name and can only do it via IP Address.  This does not help when we are remoting in via Outlook Please can someone help.

Thanks
Alan
Comment
Watch Question

Can you resolve the FQDN as in servername.domain.local?
If so please add domain.local to the DNS Suffix and set primary DNS on the client to the server IP.
Hope that helps,
Olaf

Author

Commented:
Hi Olaf

Will try but it looks like we are going to have to reload SBS 2003 anyway.  We have a very unhappy SBS2003
Have resolved it using hosts file in Windows on client
Thanks
We usually add a host entry for remote nodes (we use OpenVPN too) as they may be inside another domain etc and you can't go changing the local DNS.
Jeffrey Kane - TechSoEasyPrincipal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014

Commented:
The only way you can get it to resolve the servername instead of via IP address is to run WINS, or to use a HOSTS entry on the remote machine, since that machine isn't getting it's DNS from the SBS.

Jeff
TechSoEasy
nociSoftware Engineer
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
If you run a BIND DNS server on your local VPN gateway, why not have that relay a domain  resolution through the tunnel?
It can be setup to forward the query by domain to several places.
Gabriel OrozcoSolution Architect

Commented:
Use these options on your OpenVPN config file:


# match your ip addresses:
push "dhcp-option DNS 10.66.0.4"
push "dhcp-option DNS 10.66.0.5"
push "dhcp-option WINS 10.66.0.8"

Open in new window

Author

Commented:
I got the answer from a business partner of mine in Capetown prior to the same being posted her
Principal Consultant
CERTIFIED EXPERT
Most Valuable Expert 2016
Top Expert 2014
Commented:
So, be a champ and select the solution and close the question.

Jeff
TechSoEasy

Author

Commented:
I tried to give you 250 points because the solution that I got from my partner in Capetown is the same that you gave me but I was unable to only award 250 points.
Might as well award to full points :)

Explore More ContentExplore courses, solutions, and other research materials related to this topic.