Windows 2019
Sponsored Link

DNS Server : Verify resolving2019/03/21

 
Verify resolving Hostname or IP address.
[1] Run PowerShell with Admin Privilege and make sure like follows.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# with nslookup command
# [nslookup (hostname to resolv) (server to ask)]
PS C:\Users\Administrator> nslookup rx-8.srv.world localhost 
Server:  UnKnown
Address:  ::1

Name:    rx-8.srv.world
Address:  10.0.0.110

PS C:\Users\Administrator> nslookup 10.0.0.110 localhost 
Server:  UnKnown
Address:  ::1

Name:    rx-8.srv.world
Address:  10.0.0.110


# with PowerShell Cmdlet
# Forward lookup
PS C:\Users\Administrator> Resolve-DnsName rx-8.srv.world -Type A -Server localhost 

Name                                           Type   TTL   Section    IPAddress
----                                           ----   ---   -------    ---------
rx-8.srv.world                                 A      3600  Answer     10.0.0.110

# Reverse lookup
PS C:\Users\Administrator> Resolve-DnsName 10.0.0.110 -Type PTR -Server localhost 

Name                           Type   TTL   Section    NameHost
----                           ----   ---   -------    --------
110.0.0.10.in-addr.arpa        PTR    3600  Answer     rx-8.srv.world
Matched Content