Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
# 従来の nslookup による確認
# [nslookup (問い合わせたいホスト) (問い合わせ先の DNSサーバー)]
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
# PowerShell の Cmdlet による確認
# 正引き
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
# 逆引き
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
|