Smiley357 Posted January 15, 2014 Share Posted January 15, 2014 I do not see a network section so this might not be the correct place to post this. If a system has 2 nic cards and has 2 IP’s does anyone know a command like NSLOOKUP that will show both ip’s of that system? I will not be logged into the system when searching for the IP’s. If I do NSLOOKUP computername it only gives me one IP. Link to comment Share on other sites More sharing options...
jaclaz Posted January 15, 2014 Share Posted January 15, 2014 I do not see a network section so this might not be the correct place to post this. If a system has 2 nic cards and has 2 IP’s does anyone know a command like NSLOOKUP that will show both ip’s of that system? I will not be logged into the system when searching for the IP’s. If I do NSLOOKUP computername it only gives me one IP.Running NSLOOKUP from "where"?Are BOTH the IP's on the target computer on the same subnet?Maybe what you want/need to do is more along the lines of a "remote" IPCONFIG /ALL :http://blogs.technet.com/b/brad_rutkowski/archive/2007/12/15/need-to-get-ipconfig-all-from-a-computer-remotely.aspxjaclaz Link to comment Share on other sites More sharing options...
Smiley357 Posted January 15, 2014 Author Share Posted January 15, 2014 Jaclaz,Thanks for responding. The IP’s are on the same subnet. Psexec is a great tool and use it from time to time. But if for whatever reason the IP that is provided by NSLOOKUP is to a nic that is offline, I would not be able to use psexec to connect and run the ipconfig. Thanks again. Link to comment Share on other sites More sharing options...
jaclaz Posted January 15, 2014 Share Posted January 15, 2014 I guess you will need to provide far more details on how you have the *whatever* you have setup, including actual OS and devices involved and actual IP/subnets involved, besides a "wider" description of your setup and actual needs, hopefully with those someone may be able to suggest you something.AFAIK a "computer name" is associated to one (and one only) IP. jaclaz Link to comment Share on other sites More sharing options...
Tripredacus Posted January 16, 2014 Share Posted January 16, 2014 Nslookup opens and will use the client's primary DNS server as its source of information. You can change it to other servers if you want.All Nslookup is is a utility to ask the selected DNS server to resolve IPs or network names. The DNS server has no "knowledge" of how many interfaces are on a target system.So if you feel the information being returned in an Nslookup is incorrect or outdated, you should focus on the DNS Server to solve the issue. Link to comment Share on other sites More sharing options...
Smiley357 Posted January 16, 2014 Author Share Posted January 16, 2014 Tripredacus,Thanks for responding. You are correct. My problem is that nslookup returns the first entry it comes to and stops. I would like all dns entries for that computer. In my case it would be 2. Link to comment Share on other sites More sharing options...
Tripredacus Posted January 16, 2014 Share Posted January 16, 2014 Have you verified that the DNS Server actually has more than one entry for it in its records? Link to comment Share on other sites More sharing options...
Smiley357 Posted January 16, 2014 Author Share Posted January 16, 2014 That was a good question. I had just assumed that it had 2 DNS entries since it had 2 IP. When I looked I only find the one entry. I did find another system that had 2 entries and when I did a NSLOOKUP on that system it showed both IP’s. So thank you for solving this. Again, that goes to show what happens when you assume things. Link to comment Share on other sites More sharing options...
tain Posted January 16, 2014 Share Posted January 16, 2014 I do not see a network section so this might not be the correct place to post this. You've clearly found the right place In addition to this DNS discussion, there is also the concept of a "default route" that may interest you. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now