What is a Linux version of nslookup?
I'm trying to use nslookup to lookup hostnames on my local network.
I know the ip address of the computer that hosts the server, and I can ping it fine (192.168.0.100), but when I enter the IP address and the domain name into the address box in nslookup, it takes a long time to come back with the nameservers, and returns no results (just says no address associated with hostname). Is there a version of nslookup that will be more suitable for what I want to do?
If you want to resolve IP addresses to DNS names for local hosts, use. dig @192.100 xyz.local
If you want to resolve A-records from a hostname, use. dig @192.com If you want to resolve A-records or ANY-records, use
Related Answers
How to install nslookup command in CentOS 7?
I mean to check the hostname, ip address. k1l...
What is the Linux version of nslookup?
Nslookup. nslookup is a command-line tool for querying the n...
How do I get nslookup on Linux?
Nslookup has a slew of different query modes that you can us...