To find ip address of a domain using host (nameserver is optional):
$ host
example:
$ host www.google.com 208.67.222.222
To find the domain that belongs to an ip address using host (nameserver is optional):
$ host
example:
$ host 202.188.0.133 ns1.tm.net.my
To find ip address of a domain using nslookup (nameserver is optional):
$ nslookupexample:
$ nslookup www.google.com 208.67.222.222
To find the domain that belongs to an ip address using nslookup (nameserver is optional):
$ nslookupexample:
$ nslookup 202.188.0.133 208.67.222.222
nslookup also have interactive mode that you can access by simply typing
$ nslookup
To find ip address of a domain using dig (nameserver is optional):
$ dig @
example:
$ dig @ns1.tm.net.my www.google.com
This article extends to provide that DNS ip address lookup which host etc through linux which is very helpful. I normally use the ip details for windows.
ReplyDelete