Windows 8.1 resets my DNS settings to auto

martienne

New Member
Member
Messages
128
Location
European Union
I don't want to use the DNS servers of my ISP and I don't know how many times I changed over to third party DNS
servers now.

But 2 weeks later when it occurs to me to check, they are almost always back to Auto, i.e. the ISPs.

Why does this happen and how can I prevent it?
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
Are the changes made on the local machine or at the router level? If you can I would change the DNS servers handed out by your router. If you configure a full static IP address on to your client device it will only use the DNS servers that you specify.

Choice is yours,
Josh :)
 

My Computer

System One

  • OS
    Windows 8.1 Pro 64-bit ; Windows Server 2012 R2 Standard
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom Built
    CPU
    Intel Core i5 2400 @ 3.10GHz
    Motherboard
    Foxconn H67MP-S/-V/H67MP (CPU 1)
    Memory
    8.0GB DDR3 @ 665MHz (2GBx4)
    Graphics Card(s)
    AMD Radeon HD 6800 Series (Sapphire/PCPartner)
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    SMB1930NW + AOC 2243W
    Screen Resolution
    1440x900 + 1920x1080
    Hard Drives
    977GB Seagate ST31000524AS ATA Device (SATA)
    250GB WD iSCSI attached drive
    PSU
    750W PSU
    Case
    Novatech Night
    Keyboard
    Dell Standard PS/2 Keyboard
    Mouse
    R.A.T 7 Gaming Mouse
    Browser
    Google Chrome
    Other Info
    Optiarc DVD RW AD-5260S ATA Device
Josh, Thanks for the response. The changes are in Windows.
I didn't realise that it can be changed at the router.
I have a horribly locked down router provided by my awful ISP.
It wouldn't surprise me if they are at fault.
I'll research to see if they DNS can be changed on that. At a quick glance I found nothing.

Edit --- yes of course, it had to be! :mad:
Re: Why can't I change the DNS settings on my Superhub?
on ‎14-08-2013 19:58
Do a search and you will find similar complaints on both BT and Sky's support forums. It is not just VM.
Ravenstar68

These large ISPs are so evil. The UK internet is full of complaits about VM, BT and Sky.

But I really do need to add these DNS settings. Most routers have this functionality so I can't understand why the super hub 2 doesn't.
How else can I get around this and use DNS? I don't want to manually add the settings on each computer as they're easily removed. I need to add it in router since only I know the passcodes to get into it.
Etc, etc

There seems to be something called DHCP causing this nuisance, plus the router being relatively locked down.

So I will now figure out if I can write a batch script that sets the DNS to the servers I want to use, rather than the default from the ISP.
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
8.x.x has a terrible habit of resetting the Network adapters. You probably would be best to use a third party router behind the ISP gateway. That way you can use your own DNS info.

This should be the registry where the DNS IP info should be located. HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\DNS Server\Zones http://technet.microsoft.com/en-us/library/dd197418(v%3Dws.10).aspx Even though it states for Server 2008, it should be the same with Windows 8.x.x.

This explains what has changed with the Win 8.x.x DNS client. What's New in DNS Client in Windows 8.1
 

My Computer

System One

  • OS
    Linux Mint 17.2
    Computer type
    Laptop
    System Manufacturer/Model
    Toshiba Satellite C850D-st3nx1
    CPU
    AMD E1-1200 APU with Radeon (tm) HD Graphics 1.40 GHZ
    Memory
    12GB
    Graphics Card(s)
    AMD Radeon™ HD 7310 Graphics
    Sound Card
    Realtek HD
    Monitor(s) Displays
    LCD
    Screen Resolution
    1366 x 768
    Hard Drives
    Crucial M500 240GB SSD
    Mouse
    Logitech M525
    Internet Speed
    45/6 - ATT U-Verse
    Browser
    Google Chrome
    Antivirus
    None needed. It is Linux.
    Other Info
    Arris NVG589 Gateway; Router - Cisco RV320; Switch - Netgear GS108 8-Port Switch & Trendnet TEG-S50g 5-Port Switch; Access Points - Engenius ECB350, Trendnet TEW-638APB; NAS - Lenovo ix2-4; Printer - Brother HL-2280DW; Air Print Server - Lantronix XPrintServer

    A/V UPS - Tripp-Lite Smart 1500LCD 1500 Va/900 W.
8.x.x has a terrible habit of resetting the Network adapters. You probably would be best to use a third party router behind the ISP gateway. That way you can use your own DNS info.

This should be the registry where the DNS IP info should be located. HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\DNS Server\Zones http://technet.microsoft.com/en-us/library/dd197418(v%3Dws.10).aspx Even though it states for Server 2008, it should be the same with Windows 8.x.x.

This explains what has changed with the Win 8.x.x DNS client. What's New in DNS Client in Windows 8.1

Big thanks for this helpful response!
I donät have a DNS Server dir where this Reg reference says it should be.... Guessing it's somewhere else for Win 8...
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
If anyone knows a script that I could drop into my Startup folder to reset DNS to my preferred servers I would be super grateful! :)
Something where I could just edit the server.... 1
too tired.... later
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
There is no script to place in your startup folder. Refuse to read the information given. This is going nowhere.
 

My Computer

System One

  • OS
    Linux Mint 17.2
    Computer type
    Laptop
    System Manufacturer/Model
    Toshiba Satellite C850D-st3nx1
    CPU
    AMD E1-1200 APU with Radeon (tm) HD Graphics 1.40 GHZ
    Memory
    12GB
    Graphics Card(s)
    AMD Radeon™ HD 7310 Graphics
    Sound Card
    Realtek HD
    Monitor(s) Displays
    LCD
    Screen Resolution
    1366 x 768
    Hard Drives
    Crucial M500 240GB SSD
    Mouse
    Logitech M525
    Internet Speed
    45/6 - ATT U-Verse
    Browser
    Google Chrome
    Antivirus
    None needed. It is Linux.
    Other Info
    Arris NVG589 Gateway; Router - Cisco RV320; Switch - Netgear GS108 8-Port Switch & Trendnet TEG-S50g 5-Port Switch; Access Points - Engenius ECB350, Trendnet TEW-638APB; NAS - Lenovo ix2-4; Printer - Brother HL-2280DW; Air Print Server - Lantronix XPrintServer

    A/V UPS - Tripp-Lite Smart 1500LCD 1500 Va/900 W.
If anyone knows a script that I could drop into my Startup folder to reset DNS to my preferred servers I would be super grateful! :)
Something where I could just edit the server.... 1
too tired.... later

Code:
@echo off
netsh interface ipv4 add dnsserver "[I][COLOR="#FF0000"]{InterfaceName}[/COLOR][/I]" address="[COLOR="#FF0000"][I]{DNSAddress}[/I][/COLOR]" index=1

Replace the Interface name with the interface that you want to configure. To find out the relevant names use the following command in command prompt:

netsh interface show interface

Also, replace the DNS address part with the IP address of the server you want to use. Note that this address will only apply to the first DNS server listed. If you want a second one then let me know and I'll tweak the small script.

Do you have Windows 8 pro or just the standard one?

To compile the script, copy it into a notepad file and save it as a batch file.

Hope This Helps,
Josh :)
 

My Computer

System One

  • OS
    Windows 8.1 Pro 64-bit ; Windows Server 2012 R2 Standard
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom Built
    CPU
    Intel Core i5 2400 @ 3.10GHz
    Motherboard
    Foxconn H67MP-S/-V/H67MP (CPU 1)
    Memory
    8.0GB DDR3 @ 665MHz (2GBx4)
    Graphics Card(s)
    AMD Radeon HD 6800 Series (Sapphire/PCPartner)
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    SMB1930NW + AOC 2243W
    Screen Resolution
    1440x900 + 1920x1080
    Hard Drives
    977GB Seagate ST31000524AS ATA Device (SATA)
    250GB WD iSCSI attached drive
    PSU
    750W PSU
    Case
    Novatech Night
    Keyboard
    Dell Standard PS/2 Keyboard
    Mouse
    R.A.T 7 Gaming Mouse
    Browser
    Google Chrome
    Other Info
    Optiarc DVD RW AD-5260S ATA Device
The DNS settings should not be changing on their own, usually a third party VPN like Hamachi is involved when this problem occurs.
 

My Computer

System One

  • OS
    Windows 8.1 Pro WMC
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Home built
    CPU
    Q9650 @ 4.05 GHz
    Motherboard
    Gforce 780i SLI FTW
    Memory
    8GB Gskill DDR2 1200Mhz
    Graphics Card(s)
    GTX-480
    Sound Card
    Asus D2 Xonar
    Monitor(s) Displays
    HannsG
    Screen Resolution
    1680x1050
    Hard Drives
    Gskill 120GB SSD
    PSU
    Thermal Take 1000watts
    Case
    Thermal Take Xtreme
    Cooling
    9 fans air cooled
    Keyboard
    G15 logitech
    Mouse
    G9 logitech
    Internet Speed
    50mbps
If anyone knows a script that I could drop into my Startup folder to reset DNS to my preferred servers I would be super grateful! :)
Something where I could just edit the server.... 1
too tired.... later

Code:
@echo off
netsh interface ipv4 add dnsserver "[I][COLOR=#FF0000]{InterfaceName}[/COLOR][/I]" address="[COLOR=#FF0000][I]{DNSAddress}[/I][/COLOR]" index=1

Replace the Interface name with the interface that you want to configure. To find out the relevant names use the following command in command prompt:

netsh interface show interface

Also, replace the DNS address part with the IP address of the server you want to use. Note that this address will only apply to the first DNS server listed. If you want a second one then let me know and I'll tweak the small script.

Do you have Windows 8 pro or just the standard one?

To compile the script, copy it into a notepad file and save it as a batch file.

Hope This Helps,
Josh :)


It works beautifully!

But please could you tweak it to add the secondary DNS too?
I have Windows 8.1 Enterprise N - I think that's like Pro.

However - I need to run the script in Admin mode! How can I ensure this, or could the script be forced into Admin?

This is a nuisance - lots of people are affected by the problem with Windows just dropping the DNS for no apparent reason. The script would be super popular.

I want to use the same DNS servers whether I'm surfing unprotected, with proxy or via VPN. But Win 8.1 doesn't respect that, but keeps resetting my DNS to automatic, i.e. my lame ISPs censored DNS server.
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
Back
Top