Hello,
I am trying to obtain IPs from Hostnames. I am using inputlookup to get the list of hostnames from a CSV file. The problem is that "lookup dnslookup" is only displaying IPs for certain hosts (there are no missing fields). My queries are correct as the Table command provides all the information I need. Except, I obtain a lot of nulls instead of IPs. What I am doing wrong?
xxxxx
xxxxxxx
| lookup dnslookup clienthost as Hostname OUTPUT clientip as ComputerIP
| table Hostname ComputerIP
Could some of those IPs internal IPs (like a 192.168.x.x network), or otherwise not resolvable? For the IPs that dont resolve, spot check some from a command prompt using nslookup <ip>
Most, if not all of those IPs are on the 10.x.x.x they are all resolvable.