The code on python with scapy language Implements the nslookup. In additon, it's Implements for the reverse mapping (or -type=PTR ) and CNAME if exist.
Nslookup (from name server lookup) is a network administration command-line tool for querying the Domain Name System (DNS) to obtain the mapping between domain name and IP address, or other DNS records.
(compare if the real commend)



