Forum Discussion

RSBlanco's avatar
RSBlanco
Copper Contributor
Mar 16, 2021
Solved

For a specific network adapter enable "Append primary and connection specific DNS suffixes"

Is there a powershell command to enable (turn on) the "Append primary and connection specific DNS suffixes" for a specific network adapter (i.e. InterfaceIndex)?

I can set the connection specific suffix with Set-DnsClient.

  • This is the answer:
    # Append primary and connection specific DNS suffix
    Set-DnsClientGlobalSetting -SuffixSearchList @("")

1 Reply

  • RSBlanco's avatar
    RSBlanco
    Copper Contributor
    This is the answer:
    # Append primary and connection specific DNS suffix
    Set-DnsClientGlobalSetting -SuffixSearchList @("")

Resources