Jump to content
Not connected, Your IP: 18.224.70.11
Bob.Dole

[SOLVED] Moved address, DNS lookup fails

Recommended Posts

I've changed address, and so am using a different internet connection and provider. I can connect to the vpn fine, and the p2p protocol works, but when I try to go to a website it says DNS lookup failure. Any suggestions? 

 

Thanks in advance

Share this post


Link to post

Are you using windows or linux? Are you using the AirVPN client?

 

If on Windows, can you go to Start -> Run -> CMD -> type "ipconfig /all" and then copy paste the output (right click, mark) here?

Share this post


Link to post

Hello!

 

Do you have resolvconf installed? Can you send us the content of your /etc/resolv.conf file?

 

Kind regards

Share this post


Link to post

Thanks for the response.

 

Contents of resolv.conf:

 

# This file was written by dns-fix (mintsystem)

# OpenDNS
nameserver 208.67.222.222
nameserver 208.67.220.220

# Google DNS
# nameserver 8.8.8.8
# nameserver 8.8.4.4

 

I may be wrong here, but I seem to remember reading somewhere that AirVPN has its own DNS server, how would I go about using that rather than google's or OpenDNS? Also, I seem to remember when I started using OpenDNS instead of my ISP's I changed settings in my router to point them at it. Could it be something to do with that, since I am now using a different router?

Share this post


Link to post

Hello!

 

Yes, we have our own VPN DNS:

10.4.0.1

10.5.0.1 etc. (see also https://airvpn.org/specs)

 

10.4.0.1 is accessible regardless of the AirVPN server port your system connects to.

 

Try to set:

 

nameserver 10.4.0.1

as first nameserver in your /etc/resolv.conf file.

 

Also check how that "dns-fix" works, just in case it overwrites your /etc/resolv.conf.

 

A more elegant solution is accepting the DNS push from our servers. For that you'll need to install resolvconf package (if available for your Linux distribution):

http://en.wikipedia.org/wiki/Resolvconf

 

and add the following lines to your .ovpn configuration file(s):

 

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

 

The script update-resolv-conf is provided in most OpenVPN packages, but if you don't have it you can just create it in the /etc/openvpn directory (watch out for permissions). The content of the script is attached in the text file below.

 

Kind regards

 

 

update-resolv-conf.content.txt

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...