PrepAway - Latest Free Exam Questions & Answers

You need to change the DNS server used by IPv6

You have a server that runs a Server Core installation of Windows Server 2012 R2.
You need to change the DNS server used by IPv6.
What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
From Sconfig.configure the Network Settings.

B.
Run the sc.exe command and specify the config parameter.

C.
From Windows PowerShell, run the Set-NetIpv6Protocol cmdlet.

D.
From Windows PowerShell, run the Set-DnsClientServerAddresscmdlet.

Explanation:
The Set-DnsClientServerAddress cmdlet sets one or more IP addresses for DNS servers
associated with an interface. This cmdlet statically adds DNS server addresses to the
interface. If this cmdlet is used to add DNS servers to the interface, then the DNS servers
will override any DHCP configuration for that interface.
PS C:\> Set-DnsClientServerAddress -InterfaceIndex 12 -ServerAddresses
“10.0.0.1”,”10.0.0.2″)
References:
http://technet.microsoft.com/en-us/library/jj592692.aspx
http://technet.microsoft.com/en-us/library/jj590768.aspx

8 Comments on “You need to change the DNS server used by IPv6

    1. lucasdrums says:

      Actually, you cannot configure IPv6 addresses through SCONFIG, nor Static IP address for local server neither for DNS server. Hence, we need to use Powershell command. I tested this and through SCONFIG it gives an error message “Preferred DNS server could not be set”
      The explanation is also wrong, it mentions IPv4 addresses instead of what the question is talking about (IPv6)




      0



      0
  1. simo says:

    The correct answer is: D

    The Set-DnsClientServerAddress cmdlet sets one or more IP addresses for DNS servers associated with an interface. This cmdlet statically adds DNS server addresses to the interface. If this cmdlet is used to add DNS servers to the interface, then the DNS servers will override any DHCP configuration for that interface.

    Set-DnsClientServerAddress -InterfaceIndex 4 -ServerAddresses




    0



    0

Leave a Reply