What commands can you use with nslookup?
Well, this may be the wrong place to ask this question, but I haven't been able to find answer anywhere. Nslookup seems to be a very powerful program for basic networking functions. For example, you can use it to do what other IP tools can do (find the external IP of an IP that's in the same LAN as you; see what name servers your ISP is running; set up a simple cache). In many scenarios it also seems easier than just connecting through a tool like Network Configuration Manger, which really is just for configuration of things you already have.like a cable modem.
Unfortunately I've never been very good at figuring out the options and parameters of the nslookup command-line interface. I'm wondering if someone could give me some commands which I'm using right now, and explain what the options do (if they aren't too obviously obvious).
I am using windows XP and command-line NSLookup, with a command line like: nslookup -q=localnet -t=a 192.168.100.12
Where the -q makes it query a DNS, the -t makes it try AAAA or A record, and 192.12 is an IP address.
But I'm sure there must be more useful things you can do. Examples would be lovely! That is, given two IPs, how do I specify a subnet in the IP to query? Also, another related thing.if I do want to use my ISP's internal nameservers (the ones in the DHCP settings, to be specific), how do I set that up? When I asked this question I thought you wanted help learning how to execute nslookup, or learn more about what options are available to command line nslookup, etc. I had no idea you were trying to get help finding out how to change those parameters of nslookup.
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...