Link to home
Start Free TrialLog in
Avatar of caandal
caandal

asked on

I am unabvle to resolve server name through OPENVPN connection

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
Avatar of Olaf De Ceuster
Olaf De Ceuster
Flag of Australia image

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
Avatar of caandal
caandal

ASKER

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.
Avatar of Jeffrey Kane - TechSoEasy
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
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.
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

Avatar of caandal

ASKER

I got the answer from a business partner of mine in Capetown prior to the same being posted her
ASKER CERTIFIED SOLUTION
Avatar of Jeffrey Kane - TechSoEasy
Jeffrey Kane - TechSoEasy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of caandal

ASKER

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 :)