Jump to content
Not connected, Your IP: 18.188.40.207
Frunobulax

DNS Cache/timeout setting?

Recommended Posts

Hi - I apologize if this is a dumb question, or if it can be done already and I just don't know how to do it.  I have checked the settings and don't see anything like this, but I don't understand all the options.

 

Is it possible to change a setting somewhere so that AirVPN caches DNS lookups for a longer time?  I am of course worried about my privacy and security, but doing DNS lookups as often as AirVPN does seems a bit excessive.  I seem to spend half my time waiting for lookups, especially for sites that I use a lot, even when I just accessed them a couple minutes ago.  Does AirVPN it have to do it quite so often?  Can I tell AirVPN "only do a new hostname lookup if I haven't accessed that site in 20 minutes"?

 

I appreciate the solid security, and I know DNS issues can be security problems, but all the waiting is really making me frustrated and I"m start to think of not using the VPN at all..  Clearly AirVPN caches the lookups *somewhere* for *some* period of time because it doesn't literally do a lookup for each instance of the domain, say, on a web page.  Is it possible to add a user-configurable option to cache for longer?  For example, I use DuckDuckGo for searches.  And I do a LOT of searches.  But if I don't access it for a few minutes, then for every search I do I have to wait for another lookup, which can take 3-6 seconds.  Doesn't sound like much, but it's annoying when you have to wait 15 times an hour.

 

Thanks for any tips!

Share this post


Link to post

Is it possible to change a setting somewhere so that AirVPN caches DNS lookups for a longer time?

 

That's not a feature of Eddie/OpenVPN. Your local DNS cache does it. On Windows, the cache is enabled automatically. On Linux, you need to install and configure it. To help you further: What is your OS?


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

 

Is it possible to change a setting somewhere so that AirVPN caches DNS lookups for a longer time?

 

That's not a feature of Eddie/OpenVPN. Your local DNS cache does it. On Windows, the cache is enabled automatically. On Linux, you need to install and configure it. To help you further: What is your OS?

 

Well, it has at least *something* to do with OpenVPN *somewhere*, because this issue didn't happen before I installed it.  I use Linux Mint 18.3/Sylvia.  I am happy to hear your solution and try it, but I'm curious - doesn't Mint have at least *some* kind of DNS cache by default?  I haven't (AFAIK) installed any special DNS caching software, and yet when I use the system without having installed anything extra, it seems to cache fine - i.e., when I go to a site multiple times, it doesn't look up the site each time.  It certainly doesn't look up the site for each element on a web page, for example - it would take an hour to load every page.

Share this post


Link to post

doesn't Mint have at least *some* kind of DNS cache by default?

 

Mint = Ubuntu = dnsmasq-base, which does not cache DNS by default. This is for everything before 18.04 because with 18.04 Ubuntu started using systemd-resolved for DNS resolution and I have no idea whether this module caches its results. Further, I have no idea whether Mint changed Ubuntu's behavior like Ubuntu changed Debian's (which, by default, does not come preinstalled with such things).

 

when I go to a site multiple times, it doesn't look up the site each time.

 

How do you tell?


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

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