Jump to content
Not connected, Your IP: 3.133.157.231
duemo

How to Use Custom DNS Server for a Specific Domain?

Recommended Posts

Hello,

 

I'm on Windows 7, using AirVPN client Eddie. I would like to keep using the AirVPN DNS server by default, but specify a different DNS server to be used if the record to be queried is on a specific domain (e.g. anything.example.com). What is the best way to go about this?

 

Thanks!

duemo

Share this post


Link to post

Hello,

 

I'm on Windows 7, using AirVPN client Eddie. I would like to keep using the AirVPN DNS server by default, but specify a different DNS server to be used if the record to be queried is on a specific domain (e.g. anything.example.com). What is the best way to go about this?

 

Thanks!

duemo

 

Depending on what it is you want to achieve, perhaps you can just use your "hosts" file:

 

https://en.wikipedia.org/wiki/Hosts_%28file%29

 

Failing that, you could set up BIND on your PC and tell it what domains to forward where. See for example

 

http://serverfault.com/questions/208231/in-bind-forward-dns-query-for-specific-domain-to-specific-nameserver

 

If you are completely unfamiliar with BIND, this may be a struggle.

 

You can run BIND under Windows. See:

 

https://airvpn.org/topic/9289-dns-leaks-and-how-to-fix-them/?p=9978

Share this post


Link to post

Depending on what it is you want to achieve, perhaps you can just use your "hosts" file:

 

https://en.wikipedia.org/wiki/Hosts_%28file%29

 

Failing that, you could set up BIND on your PC and tell it what domains to forward where. See for example

 

http://serverfault.com/questions/208231/in-bind-forward-dns-query-for-specific-domain-to-specific-nameserver

 

If you are completely unfamiliar with BIND, this may be a struggle.

 

You can run BIND under Windows. See:

 

https://airvpn.org/topic/9289-dns-leaks-and-how-to-fix-them/?p=9978

 

Thanks for that. I don't think I can use my hosts file, as there are a large number of DNS records on the domain, which may change from time to time, so keeping them all in the hosts file would be a bit of a nightmare. I'll look at BIND, but unfortunately I am completely unfamiliar with it at the moment!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...