Skip to main content
VPN Tracker Manual

How to Set Up DNS for Your VPN Connection

By GabrielleFebruary 22, 2023March 9th, 2023No Comments

During the VPN configuration process, you will likely have already come across the term DNS. This guide explains all you need to know about using DNS and how to correctly configure DNS settings for your VPN connection.

What is DNS and when do I need it?

DNS stands for Domain Name System. It lets you translate a URL or domain name (e.g. "vpntracker.com") into the IP address your device needs in order to reach the service.

When talking about DNS, it's helpful to distinguish between two different kinds of DNS:

Public DNS

This refers to the DNS records of websites that are publicly available to everyone on the internet (i.e. google.com, amazon.com, etc.). This is usually provided by your internet service provider.

Private DNS

Private DNS is for network resources that aren't publicly available to everyone (e. g. an intranet webpage, the internal address of a server, etc.).

When is private DNS needed?

IP addresses are difficult to memorize, so it's useful to set up a private DNS so users can quickly and easily access internal services like intranet, file servers, etc. via URLs (e.g. intranet.greenhaven.net) instead of having to enter IP addresses.

In order for this to work, the network admin needs to configure a private DNS server for the network.

How to set up a private DNS server

The easiest way is to enable local DNS lookups on the router or gateway for your internal network. You can also set up a dedicated DNS server on another server (e.g. a Synology NAS or a Raspberry Pi).

Do I need to configure DNS settings for my VPN?

If you have configured a DNS server for services within your network, you will need to tell your VPN client about it, so you can access to these network resources when connecting over VPN.

How to configure DNS settings for a VPN connection

In this section of the guide, we'll take you through setting up DNS in VPN Tracker. Note that the options you see may be different, depending on your VPN gateway / protocol.

Use Remote DNS Server

Select this checkbox to tell VPN Tracker that you have configured a private DNS server for your network.

You will then have two options:

Receive settings from VPN Gateway

Select this option to tell VPN Tracker to receive DNS settings from your VPN gateway. This doesn't work with all setups, but is worth trying first.

Manually add DNS settings

If your VPN doesn't automatically provide DNS settings, you can uncheck that option to manually enter the DNS servers you want to use.

DNS Servers

Enter the IP address of your DNS server. VPN Tracker will tell your device to query this server when you're connected to VPN.

Search Domains

Enter the domain name you have registered for your network to reach internal services (e.g. "internal.example.com").

Use DNS Server for 

Here you have the option to choose between only using the DNS server for your internal search domains - and using your ISP for all other services - or using your DNS for all domains (including public). Please see the troubleshooting section for further tips.

Reverse lookup

If DNS allows us to find the IP address for a given hostname, reverse DNS allows us to find the hostname for a given IP address. This is used by certain networking tools to let you figure out which hostnames you can use on the VPN.

Troubleshooting: Common DNS problems while connected to VPN

No DNS settings configured on the VPN gateway

If you select the option in VPN Tracker to "Receive DNS Settings from VPN Gateway", please ensure you or your admin has configured DNS on your gateway. If not, you will not be able to reach websites and other services, as VPN Tracker will be referring to settings which do not exist.

Use DNS for all domains

If you tell VPN Tracker to use your DNS server for all domains when your server has only been configured for specific search domains, your internet access will be restricted whenever you connect to VPN.

To rectify this, select search domains only and enter the domains you need to use DNS for (e.g. greenhaven.net.)

Why VPN Tracker?

VPN Tracker is the best secure remote access solution for Mac, iPhone and iPad and is compatible with the most popular VPN gateways, including UniFi, NETGEAR, TP Link, Draytek, and many more.

Your VPN Tracker benefits

  • Securely connect with your home and office networks
  • Use your own gateway
  • Preconfigured profiles for 300+ VPN devices
  • Expert productivity features for teams
  • For Mac, iPhone, iPad
  • Explore all features
connect to IPsec vpn on iOS
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedback
View all comments
Privacy-Settings / Datenschutz-Einstellungen
0
Feedback or improvements? Let us know!x
()
x