Posted On May 4, 2022

How to Add New Lookup Domains into Windows DNS Suffixes

kimconnect 0 comments
blog.KimConnect.com >> Networking >> How to Add New Lookup Domains into Windows DNS Suffixes

Error message:

[server005.intranet.kimconnect.com]: PS E:\Users\kimconnect\Documents> add-localgroupmember -Group 'remote desktop users' -Member 'DMZ/testUser'
add-localgroupmember : Principal DMZ/testUser was not found.
+ CategoryInfo : ObjectNotFound: (WBMD/SVasmatkar:String) [Add-LocalGroupMember], PrincipalNotFoundException
+ FullyQualifiedErrorId : PrincipalNotFound,Microsoft.PowerShell.Commands.AddLocalGroupMemberCommand

# Resolution: Add Entries to DNS Suffixes

$addDomains='dmz.kimconnect.com'
$currentList=(Get-DnsClientGlobalSetting).SuffixSearchList
$newList=@($addDomains)
$newList+=$currentList
Set-DnsClientGlobalSetting -SuffixSearchList $newList

# Use legacy command to add user into local group (in case Windoze OS is dinosaur)

net localgroup 'remote desktop users' DMZ/testUser /add

Leave a Reply

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

Related Post

A Simple Home Network Setup Using SonicWall & Ubiquiti Equipment

Overview: Internet Service Providers would terminate their wiring at the customer premise equipments (CPE) as…

How to Setup Site To Site VPN with SonicWall

- Log onto Sonicwall GUI - Click on VPN >> Settings => Add >> Policy…

Measuring Bandwidth between Sites

Matching the right tool for the job: Latency: use PING Jitter: user iPerf UDP test…