Pages

Showing posts with label smbclient. Show all posts
Showing posts with label smbclient. Show all posts

Friday, November 1, 2013

Find Machine Name using an IP Address in Windows or Linux

Find Machine Name using an IP Address in Windows or Linux



C:\Users\Homer>nslookup 10.50.2.100
Server:  windc.ad.simpson.org
Address:  10.50.2.70
*** windc.ad.simpospn.org can't find 10.50.2.100: Non-existent domain

C:\Users\Homer>nbtstat -a 10.50.2.100
Local Area Connection:
Node IpAddress: [10.12.4.29] Scope Id: []
    Host not found.


MyLinux:/ # nslookup 10.50.2.100;
Server:         10.50.2.70
Address:        10.50.2.70#53
** server can't find 175.2.50.10.in-addr.arpa.: NXDOMAIN


MyLinux:/ # smbclient -L 10.50.2.100
Enter root's password: 
Connection to 10.50.2.100 failed (Error NT_STATUS_CONNECTION_REFUSED)


MyLinux:/ # host 10.50.2.100
Host 175.2.50.10.in-addr.arpa. not found: 3(NXDOMAIN)