DNC CMD

  • Type Nslookup to get into the Nslookup mode.
  • Type set type=SOA then press enter type domain name
  • Type set type=NS then press enter; and type domain name.
  • Type set type=ALL then press enter.

Nslookup
Resolve-DnsName
set debug
set q=mx
set q=ns

ipconfig /displaydns
ipconfig /flushdns
ipconfig /registerdns
ipconfig /all
tracert

netsh interface

NSCMD, IPCONFIG, Logs, PM, NBTSTAT,NETSTAT, ARP

Whenever you create a root zone (i.e., “.”) in a DNS server, the forwards, and root hints tabs will be disabled on that DNS server.

Suppose under the forward lookup zone _msdcs, _tcp, _upd, _sites are not there (or you have deleted unexpectedly). How to get them back?

To get them back, simply just stop and start the netlogon service.

Get-ADObject -Filter ‘ObjectClass -like “dnszone”‘ -SearchScope Subtree -SearchBase “DC=DomainDnsZones,DC=pugazh,DC=***” -properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $False} | Select name,protectedfromaccidentaldeletion | out-gridview

Dnscmd | Microsoft Learn