Jump to content

Hello guys sometimes when I turn my pc back on when I try to go on a website other then youtube it says dns not resolved and I have to do the steps in this video 

but its almost all the time I turn my pc on I have to do that!! how can I fix it once and for all I do use a vpn/proxy sometimes. THANKS! 

RIG: CPU: i7-5930K 4.5GHz GPU: EVGA GTX 980 TI Superclocked 6GB RAM: 16GB DDR4 Motherboard: Msi X99S SLI Krait Edition Storage: 128GB SSD 2TB HDD

Link to comment
https://linustechtips.com/topic/593793-dns-problems/
Share on other sites

Link to post
Share on other sites

6 minutes ago, MartinWake said:

Hello guys sometimes when I turn my pc back on when I try to go on a website other then youtube it says dns not resolved and I have to do the steps in this video 

but its almost all the time I turn my pc on I have to do that!! how can I fix it once and for all I do use a vpn/proxy sometimes. THANKS! 

I'm almost willing to bet it has to do with the VPN software you're using.  Make sure you set your DNS server to something like OpenDNS or googles free DNS service.

Please spend as much time writing your question, as you want me to spend responding to it.  Take some time, and explain your issue, please!

Spoiler

If you need to learn how to install Windows, check here:  http://linustechtips.com/main/topic/324871-guide-how-to-install-windows-the-right-way/

Event Viewer 101: https://youtu.be/GiF9N3fJbnE

 

Link to comment
https://linustechtips.com/topic/593793-dns-problems/#findComment-7721629
Share on other sites

Link to post
Share on other sites

I am familiar with everything presented in this video, and my issue is that each of these commands and steps targets a completely different type of issue. The two netsh commands are frequently only required when a computer *should* be getting an IP address via DHCP (i.e. Local router and network are working and it's just the computer being dumb and nit accepting the IP offered). The flushdns command has no use right acter you turn on your computer, because the dns cache isn't retained when you turn off your computer (Caveat: If your computer is using Windows 10's Fast Boot, which is really more like Hibernation, then I don't know how it handles the DNS cache.)

 

Setting your IP address statically is a bad idea unless you know what you are doing and why. Setting your DNS servers to something more reliable like OpenDNS or Google DNS is a good idea. 

Looking to buy GTX690, other multi-GPU cards, or single-slot graphics cards: 

 

Link to comment
https://linustechtips.com/topic/593793-dns-problems/#findComment-7721859
Share on other sites

Link to post
Share on other sites

On 5/10/2016 at 10:46 PM, brwainer said:

I am familiar with everything presented in this video, and my issue is that each of these commands and steps targets a completely different type of issue. The two netsh commands are frequently only required when a computer *should* be getting an IP address via DHCP (i.e. Local router and network are working and it's just the computer being dumb and nit accepting the IP offered). The flushdns command has no use right acter you turn on your computer, because the dns cache isn't retained when you turn off your computer (Caveat: If your computer is using Windows 10's Fast Boot, which is really more like Hibernation, then I don't know how it handles the DNS cache.)

 

Setting your IP address statically is a bad idea unless you know what you are doing and why. Setting your DNS servers to something more reliable like OpenDNS or Google DNS is a good idea. 

I dont understand you

RIG: CPU: i7-5930K 4.5GHz GPU: EVGA GTX 980 TI Superclocked 6GB RAM: 16GB DDR4 Motherboard: Msi X99S SLI Krait Edition Storage: 128GB SSD 2TB HDD

Link to comment
https://linustechtips.com/topic/593793-dns-problems/#findComment-7743578
Share on other sites

Link to post
Share on other sites

What VPN/proxy service are you using? And how are you connecting to it? Through your OS itself, or via a application (VPN's provided client or something like OpenVPN)? What kind of (brand/model) router are you using? You can go into your router and set the router's DNS servers to ones other than your ISP's. I prefer OpenDNS (208.67.222.222 and 208.67.220.220), Level 3 (209.244.0.3 and 209.244.0.4) and Comodo (8.26.56.26 and 8.20.247.20) DNS servers over Google's...because it's Google..

 

It sounds like your VPN client is reking your DNS settings. Sometimes you can do the 'diagnose problems' and Windows will fix itself. I had been using OpenVPN and a DNS leak script, but then I realized I can change the OpenVPN config files to prevent DNS leaks. With the script, if it didn't disconnect properly (or Private Internet Access's client's DNS leak protection) it would jack up the settings. Right click the network icon on your taskbar, click 'Open Network and Sharing Center,' click 'Change Adapter Settings' in the left bar thing (just under 'Control Panel Home'). Right click your network device (the actual device, not the TAP device) and select 'Properties.' Select the 'Internet Protocol 4 (IPv4)' setting (it should be checked by default, if not, that's a problem) and then click the 'Properties' button. Make sure the 'Obtain an IP address automatically' and 'Obtain DNS Server address automatically' options are selected. Most VPN clients will override these default settings to whatever it needs to connect to the VPN, if it doesn't disconnect correctly, they won't necessarily default back. That is also where you could manually specify your DNS server (put in the two IP addresses, or any combination of them that are listed above; the first one listed is the primary, the second is a backup for it) if you wanted to; but as I described, I would do it on your router rather than on your device.

Link to comment
https://linustechtips.com/topic/593793-dns-problems/#findComment-7744370
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×