Computer NetworksNETWORKS

How To Change Ipv4 And Ipv6 Dns Server Address In Windows 10

==How to Change IPv4 and IPv6 DNS Server Address in Windows==
This tutorial will show you how to change the IPv4 and IPv6 DNS server address in Windows 7, Windows 8, and Windows 10.

Trick One: To Change DNS Server Address on Router
Trick Two: To Change IPv4 and IPv6 DNS Server Address in Control Panel
Trick Three: To Change IPv4 and IPv6 DNS Server Address in PowerShell
Trick Four: To Change IPv4 and IPv6 DNS Server Address in Command Prompt

TRICK TWO
To Change IPv4 and IPv6 DNS Server Address in Control Panel

IPv4: 8.8.8.8 OR 8.8.4.4
IPv6: 2001:4860:4860:8888
OR
2001:4860:4860:0:0:0:0:8888

2001:4860:4860:8844
OR
2001:4860:4860:0:0:0:0:8844
TRICK THREE
To Change IPv4 and IPv6 DNS Server Address in PowerShell

1 Open an elevated PowerShell.

” Get-DnsClientServerAddress ”

A) Enter the command below to reset the server address.

” Set-DNSClientServerAddress “Ethernet” -ResetServerAddresses ”
” Set-DNSClientServerAddress “Wi-Fi” -ResetServerAddresses ”

5. To Change IPv4 DNS Server Address

A) Enter the command below you want to use into the elevated PowerShell, press Enter.
Set-DNSClientServerAddress “Interface Alias” –ServerAddresses (“Preferred DNS address”, “Alternate DNS address”)
Set-DNSClientServerAddress “Wi-Fi” –ServerAddresses (“8.8.8.8”, “8.8.4.4”)
Set-DNSClientServerAddress “Ethernet” –ServerAddresses (“8.8.8.8”, “8.8.4.4”)

6. To Change IPv6 DNS Server Address

A) Enter the command below you want to use into the elevated PowerShell, press Enter.

Set-DNSClientServerAddress “Interface Alias” –ServerAddresses (“Preferred DNS address”, “Alternate DNS address”)
Set-DNSClientServerAddress “Wi-Fi” –ServerAddresses (“2001:4860:4860:0:0:0:0:8888”, “2001:4860:4860:0:0:0:0:8844”)
Set-DNSClientServerAddress “Ethernet” –ServerAddresses (“2001:4860:4860:0:0:0:0:8888”, “2001:4860:4860:0:0:0:0:8844″)

to reset the server address:

” Set-DNSClientServerAddress “Ethernet” -ResetServerAddresses ”
” Set-DNSClientServerAddress “Wi-Fi” -ResetServerAddresses ”

TRICK FOUR
To Change IPv4 and IPv6 DNS Server Address in Command Prompt

1 Open an elevated command prompt.

2 Enter the command below into the elevated command prompt, press Enter:

” netsh interface show interface ”

4. To Obtain DNS Server Address Automatically from ISP

A) Enter the command below you want to use into the elevated command prompt, press Enter:

(IPv4 DNS)
netsh interface ipv4 set dnsservers “Connection Name” dhcp
netsh interface ipv4 set dnsservers “Ethernet” dhcp
netsh interface ipv4 set dnsservers “Wi-Fi” dhcp
OR

(IPv6 DNS)
netsh interface ipv6 set dnsservers “Connection Name” dhcp
netsh interface ipv6 set dnsservers “Ethernet” dhcp
netsh interface ipv6 set dnsservers “Wi-Fi” dhcp

5. To Use Custom or Third-party DNS Server Address

A) Enter the command below you want to use into the elevated command prompt, and press Enter.

(IPv4 DNS)
netsh interface ipv4 set dnsservers “Connection Name” static Preferred DNS address primary
netsh interface ipv4 set dnsservers “Ethernet” static 8.8.8.8 primary
netsh interface ipv4 set dnsservers “Wi-Fi” static 8.8.8.8 primary
OR

(IPv6 DNS)
netsh interface ipv6 set dnsservers “Connection Name” static Preferred DNS address primary
netsh interface ipv6 set dnsservers “Ethernet” static 2001:4860:4860:0:0:0:0:8888 primary
netsh interface ipv6 set dnsservers “Wi-Fi” static 2001:4860:4860:0:0:0:0:8888 primary

B) Enter the command below into the elevated command prompt, press Enter, and go to step 6 below.

(IPv4 DNS)
netsh interface ipv4 add dnsservers “Connection Name” Alternate DNS address index=2
netsh interface ipv4 add dnsservers “Ethernet” 8.8.4.4 index=2
netsh interface ipv4 add dnsservers “Wi-Fi” 8.8.4.4 index=2
OR

(IPv6 DNS)
netsh interface ipv6 add dnsservers “Connection Name” Alternate DNS address index=2
netsh interface ipv6 add dnsservers “Ethernet” 2001:4860:4860:0:0:0:0:8844 index=2
netsh interface ipv6 add dnsservers “Wi-Fi” 2001:4860:4860:0:0:0:0:8844 index=2

🌟Resources:🌟
https://www.tenforums.com/
https://www.windows10forums.com/
https://stackoverflow.com/questions/tagged/windows-10
https://docs.microsoft.com/en-us/

#Ipv4 #Ipv6 #Dns_Server_Address #Windows10

source

ipv4

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.

Leave a Reply

Your email address will not be published. Required fields are marked *