Resolve Ip To Hostname Mac

so the host name is sent to the DNS (what U got in resolv. IP address of ESXi host is used only during ESX host registration (adding) in to vCenter. MAC addresses are resolved to an IP address by referring to the ARP cache on the security appliance MAC address objects are used by various components of Wireless configurations throughout SonicOS. When Oracle VM VirtualBox sees an incoming packet with a destination IP address that belongs to one of the virtual machine adapters it replaces the destination MAC address in the Ethernet header with the VM adapter's MAC address and passes it on. Hi Everybody- I have connected to the Internet, using , but I can't do anything on line. Host Name or Domain Name. Click the Ports tab, and widen the first column which displays IP address of the printers 3. gethostbyaddr() is implemented in the WinSock 2 library, so you'll need to initialise WinSock by calling WSAStartup. If you are using a DHCP to assign an IP address to the printer, enter the printer’s Host Name, shown on the network status sheet, in the Printer Name or IP Address text box. As you can see, R1 see neighbor R2 by it's router-id, now let's make it see it by hostname First we need to map R2 hostname to the IP on R1 then configure OSPF router-id hostname resolving. I am able to ping this virtual machine from Mac terminal using the IP address but when I ping the hostname it doesn't work. The situation is I have some netgear GSM7224 Managed switches. Workaround. 2 Navigate to an IP lookup website. Hostname to IP lets you get the IP address and hostname Reverse Lookup (PTR Record) online. IP address and hostname. We recommend using Web Image Monitor in the same network. Here is the setup. gethostbyaddr() is implemented in the WinSock 2 library, so you'll need to initialise WinSock by calling WSAStartup. • Query ARP{,IP=hostname} - Display contents of ARP cache for the TCP/IP stack. This file contains the names and IP addresses of the root servers, so the software can bootstrap the DNS resolution process. FastResolver is a free tool that allows you to resolve IP addresses very quickly. Operators who manage a DNS recursive resolver typically need to configure a “root hints file”. This tool will provide you the hostname (ie www. However, in cases where DNS is not configured for the host machine, this approach does not work. /// The same class can be modified to accept hostname and then resolve /// the hostname to Ip address to get the MAC address or just pass "-a" /// argument to "nbtstat" to get the mac address from hostname. to resolve to your remote IP address, local. By replacing ip address in the address bar instead of domain name a page can be loaded in the browser. I'm seeing a typo in /etc/hosts, is using 127. Not sure if it should be a special case i. To get the MAC to IP addresses, you would therefore perform the following. 4, but I followed it to its conclusion to adding my DNS domain in the search, and it was already there (supplied by my server). 890 the hostname xxxxxx. I need a program in C or C++ (or any language that can do the job) that can give me @IP and @MAC and HOSTNAME of a computer [not my computer] in a local network (a network of two computer. This will be useful to faster few frequently visited sites but it is really hard to maintain the IP address of each site you visit in the hosts file. resolve ("discover") or not resolve. 13,node3 Using this dash board you will be able to search in index=_internal for an IP based on the select host name in the drop down:. I wrote MadMACs awhile back, as a simple script to randomize my MAC address (and host name) in Windows on every boot. That makes you know more about your network. Furthermore, this tool can provide NetBIOS information about each responding host that supports it. host setting. local" naming scheme. 13,node3 Using this dash board you will be able to search in index=_internal for an IP based on the select host name in the drop down:. Operators who manage a DNS recursive resolver typically need to configure a “root hints file”. Types: Android VPN, iPhone VPN, Mac VPN, iPad VPN, Router VPN. I can access the guest from the host via IP, but via hostname never resolves. mac osx monit osx lion Monit不会启动:“无法将''转换为FQDN名称 – nodename也不提供” 我在OS X 10. info will still resolve to the original IP address and not the. Dig The answer of a reply with the dig command 73. The DNS address will always remain the same regardless of your printer’s IP address. The common use of the hostname lookup is to verify that the DNS records are correct or to trace an incorrect hostname record setup. This article describes how to enable Citrix ADC appliance to use DNS for resolving the hostnames to its respective IP addresses. When passing -n, specify one or more fully qualified mDNS/DNS host name(s) (e. EX4600,M Series,MX Series,T Series,PTX Series. Hold down the "Windows Key" and press "R". PC Info is a tool on your computer which makes finding your IP Address and Host Name easier. The hosts file is used by your computer to lookup/resolve domain names to an IP address. I know this is trivial using NSHost, however NSHost resolution capability seems to only work on OSX. What is the difference between a MAC Address and an IP Address? Are both traceable back to your computer? And can you hide them? If by hiding them is. i searched the internet on how to resolve IP to hostname in my internal network. On linux (possibily mac as well) there is resolveip and host which will allow you to resolve a ip as a hostname. I can ping the numerical IP, but not the host name. NET developers joined together with a common goal: to learn, teach, and have fun programming. What protocol is responsible for resolving IP Addresses to MAC Addresses? ARP, or Address Resolution Protocol, defined by RFC 826. How do I find PC Info? On a Windows 7 or MOE7 computer: Click on the Windows Flag button (Start button) at the bottom left corner of your screen. You can use a hosts file or a domain name server to resolve host names and IP addresses on a stand-alone or distributed deployment. 232 then it will convert to IP host lga15s29-in-f8. Wei Wu provided a nice one liner in response to a query in our NewsGroup: Microsoft. List of Best DNS Tools for Windows, Linux and Mac. I can SSH into the box, view the webserver, ftp, etc assuming I am using the IP address. Just want to check hostname to ip address resolvation. But, i'm unable to configure it properly so, could you please guide me the proper steps that how to resolve ip to hostname. Methods are local host name, a host file, and DNS (microsoft has specific methods including NetBIOS. Evaluate results. It's very common as IT Pro want to know which is the name of a specific ip address that found in your network. "netbackup unable to resolve hostname , no hostname alias added to pem name manager. The TCP/IP stack then sends it to the Ethernet module, which puts 14 bytes on the front for the destination MAC address, source MAC address, and the ethertype 0x0800 to indicate that the other end's TCP/IP stack should process the frame. The host name is resolved to an IP address if it is located in the local NetBIOS name cache. Setup a Static IP address on Windows XP. The host name can be changed to resolve to a different IP address. The protocol that does exactly this is called Address Resolution Protocol (ARP). in Linux, Unix and Windows as well. These are HP desktop computers running windows 7. Enable the program to send multiple requests to a DNS server to resolve IP or network names. Edit the "/etc/hostname" file in which the hostname is stored in your system. Resolve Host Name: ping -a 127. Router Hostname and DNS Settings. In short a PTR record is like a reverse version of A record. Adding IP and the corresponding domain name entries in hosts file helps to overcome resolving host issue since the IP will be directly obtained from the hosts file without looking further. In cases where an IP is not used in the network, the tool prompts thatthe system does not exist in the network. The hostname (example. To get the MAC to IP addresses, you would therefore perform the following. Since a hostname change results in a restart, you can approximate the time of the host name change by observing when the COMPUTER {computername} attribute changes. 1 or localhost. FastResolver is a free tool that allows you to resolve IP addresses very quickly. You could repeat this exercise on the various subnets of your organization. If nslookup can resolve addresses but Mac OS X routines cannot, the problem most likely lies in the list of DNS servers being provided either manually or via DHCP. I for example have problems connecting to port 80 trackers because they detect my ISPs tran. In the absence of a name server, any network program on your system consults this file to determine the IP address that corresponds to a host name. This DNS tools are useful to investigate and analyse DNS records, and how these respond against common dns queries. Click OK to close the TCP/IP Properties window. This particular approach is temporary and will reset itself after your Mac reboots though, so if you want a permanent hostname change, use the above command instead. This system is fundamental to the performance of your webpage, yet most people don’t fully understand how it works. Been searching the forums, and google and the manual. If i could resolve this to an IP address then i could resolve the machine name and find the culprit. A resolving name server must issue another DNS request to find out the IP address of the server to which it has been referred. The hostname is "charlie-ubuntu". Select the required tab. Without a name record for the remote Mac in your hosts file or on a DNS-server in your local or a public network neither of the tools mentioned in the other answers (arp, ping, host) can be used to resolve the hostname. I would like a command that will resolve a hostname to an IP address, in the same way that a normal program would resolve the hostname. This includes both code snippets embedded in the card text and code that is included as a file attachment. DHCP Reservations You should also note that if you do not use DHCP reservation from your router, if you assign a hostname to an IP and your router hands out that IP to a different device than you are. Reverse DNS Lookup. Resolving an IP address from a Host Name and vice versa In this article, we will use the System. - gethostbyaddr()-gethostbyname() The gethostbyaddr() and gethostbyname() functions will return the hostname or IP address of a given machine, respectively. Any Linux Administrator must be well aware where these services are configured and to use them. It can also resolve IP addresses to hostnames and MAC addresses to vendor names. Bopup Scanner Scans LAN To Resolve NetBIOS, MAC, IP addresses, HTTP servers. Enter URL then get the results. Enable the program to send multiple requests to a DNS server to resolve IP or network names. This relies on the reverse-DNS zone being properly set up. When this happens PaperCut does a reverse lookup to find the client hostname, which can be useful information to display on release stations and in the Job Log. Angry IP Scanner 64bit 3. Display My Hostname helps you find your current public hostname, IP address, remote port, and user agent (web browser). Without a name record for the remote Mac in your hosts file or on a DNS-server in your local or a public network neither of the tools mentioned in the other answers (arp, ping, host) can be used to resolve the hostname. Resolve IP Addresses from List of Host Names. Beginning with Windows 7, a kernel name resolution feature allows kernel-mode components to perform protocol-independent translation between Unicode host names and transport addresses. no ip host name address1 name Name of the host. 12,node2 192. The machine in this case is called 'solo', although it can occur with other hostnames at different times. Continuously record up to 1,200 Mbps of video for high concentration of HD cameras; Support many simultaneous video to web/mobile clients with 1800 frames per second video. Learn how to use curl. Usually this indicates that DNS lookup of hostnames is configured for the system (the /etc/resolv. But, i'm unable to configure it properly so, could you please guide me the proper steps that how to resolve ip to hostname. If you’re using a phone or tablet, the easiest way to find the host name connected to an address is to use a free IP lookup website. But below is the tested and clean approach to do it. 2 Navigate to an IP lookup website. I've tried restoring the httpd. Yay! Happy Late New Year, oops! I have started playing Minecraft again (woohoo!) & since I got a new Apple Mac, the Sandlot Server isn't working. But since Pi-hole is acting as a DNS server (resolving names into IP’s) this file becomes available to any device using Pi-hole for DNS. show mac-address-table | inc Gi */*/* to give me the MAC at the end of the port, followed by a: show ip arp | inc macFromAbove. The difference between these addresses is that using an IP address will eventually result in your printer not working as its IP address is subject to change. ON Server, open regedit. Angry IP scanner simply pings each IP address to check if it’s alive, then optionally it is resolving its hostname, determines the MAC address, scans ports, etc. Been searching the forums, and google and the manual. What is the difference between a MAC Address and an IP Address? Are both traceable back to your computer? And can you hide them? If by hiding them is. 7 Lion Login Screen Aug 17, 2011 - 5 Comments Prior to Mac OS X 10. 1 instead of 127. An IP address is a computer’s location on a network, either locally or on the internet. In short a PTR record is like a reverse version of A record. It’s open source and works on Windows, Mac and Linux. Need a PowerShell script that will read a CSV of IP address and list out the Hostnames and MAC Address of all the PCs on that VLAN. A record shows the IP address that the hostname resolves to. I can ping the numerical IP, but not the host name. I know this is trivial using NSHost, however NSHost resolution capability seems to only work on OSX. I need to resolve an IP address from a mac address given. How you resolve the IP is your decision. NOTE: All commands are for current operating system releases. I have ip address of one of my remote server I cannot login remotely. Click the Resolve button. Ip search tools that displayes the country location of an IP address. Hi, I have a trouble and I wondering if anyone know if is possible to find an IP address if I know the host name, using a batch file I have myhostname. hostname - show or set the system's host name. In this case (and others below), basic scripting under the assumption that a hostname directly resolves to a single IP address may break. Ok went back in and fixed it. Eloquence fails to translate the host name "localhost" (that indicates the local system) to the appropriate IP address (127. Not sure if 7. A new window pops up, prompting you to enter the host name that you want to resolve. However, I can't connect to the Windows computers using Terminal, Chicken of the VNC, or Remote Desktop Client - the hostname won't resolve. conf and change the hosts line to include mdns_minimal [NOTFOUND=return] before resolve and dns :. 150, although I have to use the -4 parameter. I am surprised that there isn't a utility that accomplishes this!. If you input an IP 209. Provide any hostname of your choice. If i could resolve this to an IP address then i could resolve the machine name and find the culprit. HI , I want to know if GetHostByName function will be able to resolve a hostname by a DNS lookup to return the IP address of the remote host ? If no, what can be used to perform the DNS Lookup. Edit this file. I can access the guest from the host via IP, but via hostname never resolves. The hostname is "charlie-ubuntu". This is the snippet Resolve Host Names/IP Addresses (VB. Concurrent DNS resolution is usually much faster than normal resolution. The SBG6700-AC can be configured to reserve a specific IP address within the DHCP range of addresses for a specific client. blackops-simm. If I use the hostname, nothing works. » Hostname to IP Address Hostname to IP Address Lookup This tool will provide you the IP address (or addresses, if applicable) of the hostname (ie www. Need a PowerShell script that will read a CSV of IP address and list out the Hostnames and MAC Address of all the PCs on that VLAN. 100/24 to the client and option 3 is set to 172. Fast Servers in 94 Countries. Problem resolving IP for hostname. The system must be able to resolve the host names to IP addresses so that the network connection can be made. Microsoft Remote Desktop Connection for Mac can't resolve PC name. The only issue with this program is that you have to have Java installed in order to run the program. Unable to remote into PC using hostname, but can using IP. Is there a command-line command to resolve the MAC address of a device to it's hostname? I'm getting a conflict that show's the MAC address of the other machine, but when I try to trace it by physically tracing the cable connected to the switch, I can't find where it goes. In short a PTR record is like a reverse version of A record. List of Best DNS Tools for Windows, Linux and Mac. ON Server, open regedit. DomainController1 - 10. Bopup Scanner Scans LAN To Resolve NetBIOS, MAC, IP addresses, HTTP servers. it is a challenge for me to convert IP to DNSName and DNSName to IP then check the online status based on Ping, the following is the script that I can come up with so far:. The Debian Installer creates this entry for a system without a permanent IP address as a workaround for some software (e. I have a suspect rougue wireless device indicated to me by netstumber but it only gives the MAC address of the peer. Don't want to go Static IP Long story short, before I upgraded to Windows 10 Creators update and prior to that, I used to be able to remote into my PC using just it's name. The matches the hostname defined in the "/etc/hostname". It is aimed primarily at users that aren’t already familiar with IP networking terminology, but may also be useful to network engineers wanting an overview of how ipaddress represents IP network addressing concepts. G Suite Toolbox Dig Help G Suite Toolbox home Home. Sometimes, it is beneficial to trick your workstation into believing that a certain hostname points to a test or development server instance of that hostname instead of the production (current live) instance. Online Ping, Traceroute, DNS lookup, WHOIS, Port check, Reverse lookup, Proxy checker, Bandwidth meter, Network calculator, Network mask calculator, Country by IP, Unit converter. The hash:ip,mac set type uses a hash to store IP and a MAC address pairs. This will tell you which organization has been assigned this block of IP addresses. com to their corresponding ip address. This is not the same as performing a DNS lookup for AAAA records. Voila, a list of IP addresses and their MAC address (you can add > filename to get the list to a file, e. Hosts on an Ethernet network use MAC addresses rather than IP addresses to communicate. Malware Removal Assistance For Windows Malware Removal Assistance For Mac Because i do like to know what is the hostname behind the IP. One can use ping name instead to resolve to the IP address. Resolve Hostname from IP Address in CMD: Normally, we use ping command to check whether a machine is online or not. this is not really a DNS resolution, but it will show you how it can be done using a lookup table containing host name and ip's: ip,host 192. It is one of the most basic of the network administrative utilities. Every other input is automatically treated as a host or domain name. MS-DOS and Windows command line hostname command Updated: 11/13/2018 by Computer Hope The hostname command displays the hostname of the machine that is running it. - gethostbyaddr()-gethostbyname() The gethostbyaddr() and gethostbyname() functions will return the hostname or IP address of a given machine, respectively. Here is the setup. Type the IP address of the server and click Enter. FastResolver is a multithreaded application, so it can resolve dozens of addresses within a few seconds. It uses a database of IP addresses associated with cities along with some other relevant information such as time zone, latitude, and longitude, etc. I also have an account with Express VPN, which I have used in the past. nslookup returns only one of the IP address. Since this can introduce a circular dependency if the nameserver referred to is under the domain that it is authoritative of, it is occasionally necessary for the nameserver providing the delegation to also provide the. For most programs, it is best to use the host name. The hosts file is used by your computer to lookup/resolve domain names to an IP address. The default hostname of your Seagate Central in Windows is Seagate-XXXXXX (where XXXXXX is the last six digits of the MAC on the Seagate Central label as pictured below). 16 mDNS (Bonjour) 16. The hostname xxxxxx. Then click Next. Find Using a Terminal Window (Linux or Mac) If you already have the Autodesk Network License Manager installed on a Mac or Linux system, you can use the lmutil utility to locate your server information. Dns class it is possible to resolve IP address or a host name:. x for Linux ' started by clinton4 , Feb 15, 2015. In cases where an IP is not used in the network, the tool prompts thatthe system does not exist in the network. For this use the command "arp-a" in a command prompt. On a network using the TCP/IP protocol, it is necessary to convert names of resources to IP addresses to connect to these resources. Deleted the DNS zone for domainname. This wikiHow teaches you how to ping an address from your Mac. NET developers joined together with a common goal: to learn, teach, and have fun programming. This is on OSX 10. It should resolve to 208. no ip host name address1 name Name of the host. I can nslookup from a Windows machine and see the IP is resolved. ’ Choose add printer using TCP/IP address or hostname. could you tell me the command or the way to find the Switch port or mac address if you only have ip address. Find a Computer's Hostname How to determine your computer's hostname and hardware (MAC) address. This is the snippet Resolve Host Names/IP Addresses (VB. The Articles section has a bunch of technical articles covering various areas like web servers, security, email tracking and others. Enabling this service allows you to use the SMB Send function even in the IPv6 environment. You can use old techniques like nslookup from command but Today i will explain how can resolve ip address to hostname with the powershell. My network is a Macbook pro (OSX 10. By replacing ip address in the address bar instead of domain name a page can be loaded in the browser. 12,node2 192. Is there something similar for Hostname and. It's very common as IT Pro want to know which is the name of a specific ip address that found in your network. One of the famous IP scanners with more than 23 million downloads let you scan local and internet facing IP address. If you are running Windows 8. Which mechanisms could you use to resolve a host name into its associated IP address? An IP address must be unique on a LAN segment however, and could not be duplicated in that LAN segment. Forgive me, I have no knowledge (yet) of JUNOS scripting, but I wondered about the capabilities. Expected results: IP addresses should be resolved correctly to hostnames for all equipments. Some hosts have no names, and might still be shown as IP addresses, even if this option is active. As I mentioned at the. i have a table of the macs and cant seem to come up with a way to get the rest of the info. We've all done something like this to get resolve an IP address:. NET) on FreeVBCode. Select the required tab. We can find it though! Search your computer for “cmd” and open a Command Prompt. Change your hostname to a different name of your choosing. I am continuing to get "Can't resolve hostname" repetitively" on my server list. Find a Computer's Hostname How to determine your computer's hostname and hardware (MAC) address. We have a Windows-based network with AD, DHCP, WINS and DNS servers. Setup a Static IP address on Windows XP. 7 is the cause because I dont remember seeing it with version 7. SAP uses operating system functions to resolve host names to IP addresses and vice versa. Not seeing a solution to this issue. The Dns(Domain Name Service) class is present in the System. All source code included in the card Make an HTTP request to a machine but fake the hostname is licensed under the license stated below. You may also create hosts off other domains that we host upon the domain owners consent, we have several domains to choose from!. no ip host name address1 name Name of the host. Under Linux or Mac, when a DNS name is resolved, it will return a list of IP Addresses like Windows will. To simplify: In most cases, to resolve the MAC address associated with an IP address, you send a broadcast ARP packet (to all devices in the network), asking who has that IP address. Open a web browser. IP Address from hostname in Windows and Linux How many times in a day you have a hostname and you want to know the IP address? Host name to IP address and IP address to hostname conversion is one of frequent thing which we need to do for many things when dealing with networking command in Unix. no ip host name address1 name Name of the host. The differences in Windows are: 1. Thanks Reggie, I'm glad you like the script. Find a Computer's Hostname How to determine your computer's hostname and hardware (MAC) address. Click Properties. arp -a > iptomac. Here’s how to resolve host name to IP address and vice versa from Linux terminal: 1. DomainController1 - 10. Using this you can resolve hostname to IP address and IP address to hostname. If you are on the same network as your Seagate Central, you can open a browser and type the hostname or IP address into the address bar to launch the Seagate Central Assistant. Adding IP and the corresponding domain name entries in hosts file helps to overcome resolving host issue since the IP will be directly obtained from the hosts file without looking further. As I see in 'Device Definitions' that I getting from Detect and Identify device functions. Error: "Cannot Resolve Host Name" The Cannot Resolve Host Name message is displayed when CuteFTP Mac cannot make a connection to the FTP Host Address that you specified when you set up the connection. In cases where an IP is not used in the network, the tool prompts thatthe system does not exist in the network. Developers from all over the world come together to share knowledge, source code, and tutorials for free to help their fellow programmers - Professional Developers, Hobbyists and Students alike. Is is possible to write a script that can resolve interface IP address, the perform a DNS lookup on the IP. By replacing ip address in the address bar instead of domain name a page can be loaded in the browser. In other words, it has to take into account mDNS (. Resolve IP Address And Host Name From MAC Address using C# and Windows ARP Utility Nov 8, 2009 While working on the Virtual Router project , I've come across a need to be able to retrieve the IP Address and Host Name of a given machine on the local network when only the machines MAC Address is known. By continuing to use this website, you agree to their use. resolve the host name to its. I'm running VirtualBox 4. If you enter a MAC address into the table with an IP assignment of 0. You can find your IP address on a Mac computer by checking your Network control panel. Click Properties, then select Internet Protocol (TCP/IP). Select the required tab. Find Using a Terminal Window (Linux or Mac) If you already have the Autodesk Network License Manager installed on a Mac or Linux system, you can use the lmutil utility to locate your server information. I'm looking for a command line tool which gets an IP address and returns the host name, for Windows. Check the results. I've wrote several perl scripts during my internship, and I would like to simplify the use of them. In this case (and others below), basic scripting under the assumption that a hostname directly resolves to a single IP address may break. The SBG6700-AC can be configured to reserve a specific IP address within the DHCP range of addresses for a specific client. " may resolve the hostname which the IP belongs to. It is not really possible to resolve a MAC address to an IP address; only the reverse - an IP address can be resolved to a MAC address. That's common. Edit this file. I need a program in C or C++ (or any language that can do the job) that can give me @IP and @MAC and HOSTNAME of a computer [not my computer] in a local network (a network of two computer. Im trying to connect to the new SAO server and it just says cant resolve host name and i know most people can get on and one other person is having this problem cna u please help me fix this? i checked the ip quite a few times but if it works tommorow witch it might becus the internet and cumputers and stuff like to be stuped like that ill say. 8 (host) with Ubuntu 11. Admin's iMac | Admins-iMac). There was some questions in borland. Run the following scriptlet in the Windows PowerShell window and insert your own hostname for which you're wanting to locate the IP Address. This function evaluates the IP address of a hostname and, if within a specified subnet, returns true. Go to Control Panel>Network Connections and select your local network. Angry IP Scanner 64bit 3. There could be multiple ways to do the same. Locate Terminal. Pinging an address will tell you approximately how strong your connection to an address is. The server thats in the room is also set up as a DNS server. Now choose the option ‘Add a network, wireless, or Bluetooth printers. I'm not admin, I'm here for my internship, I ask infos to switchs in SNMP (with Perl). 75 RepServerPortNumber=5001. Enter URL then get the results. 890 the hostname xxxxxx. 13,node3 Using this dash board you will be able to search in index=_internal for an IP based on the select host name in the drop down:. Any Linux Administrator must be well aware where these services are configured and to use them. conf File Example The resolv. Microsoft Windows clients will follow a sequence of methods in attempting to resolve a name to an address, stopping the search when it successfully matches a name to an IP address. tcp-port-number (Optional) TCP port number to connect to when using the defined host name in conjunction with an EXEC connect or Telnet command. ptrAddress = ptrHosent + 12 'get the IP address CopyMemory ptrAddress, ByVal ptrAddress, 4 CopyMemory ptrIPAddress, ByVal ptrAddress, 4 CopyMemory ptrIPAddress2, ByVal ptrIPAddress, 4 GetIPFromHostName = GetInetStrFromPtr(ptrIPAddress2) End If End Function Private Function GetStrFromPtrA(ByVal lpszA As Long) As String GetStrFromPtrA = String$(lstrlenA(ByVal lpszA), 0) Call lstrcpyA(ByVal GetStrFromPtrA, ByVal lpszA) End Function Private Function GetInetStrFromPtr(Address As Long) As String. AddressList ' Get the alias names of the addresses in the IP address list. -IPV6only : A switch to list only the IPv6 addresses resolved for the name. " may resolve the hostname which the IP belongs to. Then, edit the file /etc/nsswitch. Need to find computer name from MAC address also "ping -a IP. The '?' symbol means that the IPv4 address was not 'resolved' to a hostname. 173 so that whenever you open the site hosts file entry is used to map the IP quickly and the save time on resolving host name. The situation is I have some netgear GSM7224 Managed switches. The hostname resolved to the loopback address. 254 - DOWN JohnPC01 - NO-IP-Address - DOWN LindaLaptop02 - 10. Found several scripts that will read the host name and give you the IP and MAC but have not had luck modifying them to read the IPs. In order to connect to other computers it will have an IP address that is known to other computers.