Linux Lite Forums

Full Version: VPNs, DNS, and Linux Lite
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have my own OpenVPN Access Server.  In order to get Linux Lite to work with it fully, I was told this by the folks at OpenVPN:

Quote:Hello Torrey,

I am reviewing this ticket and I get the feeling that the problem is entirely related to DNS.

Here's something to try:
Connect your Linux machine with the internet rerouting function enabled and then ping 8.8.8.8. If that works, then next try pinging www.google.com.

I suspect the ping to www.google.com will fail.

Interestingly I see that 127.0.1.1 is being used as your DNS server. That is a local loopback IP, meaning your own computer is functioning as the DNS server. However it is doing that, it is probably running a local DNS server and when it doesn't have an answer for a query it will try to query some external DNS server. And that one appears not to be reachable.

Next try this;
sudo nano /etc/resolv.conf

Change the line that states
nameserver 127.0.1.1

To:
nameserver 8.8.8.8

And save and exit. Now ping www.google.com. Does it work now?



Kind regards,
Johan Draaisma
OpenVPN Technologies, Inc.


It did work.  I also had to add 8.8.8.8 as seen below.
[Image: ssi3OV9.png]


My question is this, is what the folks at OpenVPN saying true?  If so, why does Linux Lite appear to be functioning as the DNS server using the 127.0.0.1 address?