how to set static dns ipv4 on win 10 ltsb n

Discussion in 'Windows 10' started by mampuzlw, Jun 11, 2016.

  1. mampuzlw

    mampuzlw MDL Novice

    Oct 22, 2010
    23
    0
    0
    I have trouble in setting my dns to google server, since everytime I click properties button in my connection properties, it did not work.. no error, no blue screen, its just not showing up.. clicked, and nothing happened

    so, is there any guide to change my dns server using other method.. currently on windows 10 ltsb n 10240.. (well, ltsb did not getting TH1 after all)
     
  2. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,696
    15,683
    340
    #2 Tito, Jun 11, 2016
    Last edited by a moderator: Apr 20, 2017
    Code:
    netsh interface ip set dns name="Ethernet" static 8.8.8.8
    netsh interface ip add dns name="Ethernet" 8.8.4.4 index=2
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Bill Liu

    Bill Liu Guest

    #3 Bill Liu, Jun 11, 2016
    Last edited by a moderator: Apr 20, 2017
    and do not forget: cmd als admin:

    netsh interface ipv6 set teredo disable
    netsh interface isatap set state disabled


    ++

    REGEDIT4

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6]
    "DisabledComponents"=dword:ffffffff
     
  4. Bill Liu

    Bill Liu Guest

    100 there are 100 reasons to turn it off :)
     
  5. Evides

    Evides MDL Member

    Apr 6, 2014
    113
    24
    10
    #6 Evides, Jun 12, 2016
    Last edited: Jun 12, 2016
    Just change these DNS-addresses in your modem/router settings and you're done for all your devices in your entire local network...
     
  6. TairikuOkami

    TairikuOkami MDL Addicted

    Mar 15, 2014
    743
    627
    30
    #7 TairikuOkami, Jun 12, 2016
    Last edited by a moderator: Apr 20, 2017
    If this does not work, you can try this based on MAC address, fill in yours MAC:
    wmic nicconfig where macaddress=”68:F7:28:0F:B6:0F” call SetDNSServerSearchOrder ("8.8.8.8","8.8.4.4")

    True, if the setting is automatic, but if something setup DNS manually (possibly malware) on the computer, it bypasses router's settings.

    This can be done faster done via CMD rather than registry

    netsh int ipv6 isatap set state disabled
    netsh int teredo set state disabled
    netsh interface ipv6 6to4 set state state=disabled undoonstop=disabled
    reg add "HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters" /v "DisabledComponents" /t REG_DWORD /d "255" /f
     
  7. mampuzlw

    mampuzlw MDL Novice

    Oct 22, 2010
    23
    0
    0
    dear mod,thank you and so sorry for late reply..

    My connection is a dialup connection (using a usb modem) and somehow it didn't shown up on netsh show interface o_O any workaround? :(

    edited:
    gonna try to change the dns via MAC address, will come back later..

    thanks for the help, really appreciate it :)
     
  8. 100

    100 MDL Expert

    May 17, 2011
    1,346
    1,544
    60
    "show interface" isn't a netsh command. To get a list of interfaces with IPv4 enabled, the command is "interface ipv4 show interface".
     
  9. Hadron-Curious

    Hadron-Curious MDL Guru

    Jul 4, 2014
    3,548
    526
    120
    Just uninstall and reinstall the driver for the USB modem. That might fix it.