Windows OS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationWindows OS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old January 10th, 2008, 04:39 AM
yogaboy yogaboy is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Location: Near London
Posts: 112 yogaboy User rank is Corporal (100 - 500 Reputation Level)yogaboy User rank is Corporal (100 - 500 Reputation Level)yogaboy User rank is Corporal (100 - 500 Reputation Level)yogaboy User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 14 h 37 m 29 sec
Reputation Power: 7
Get hostname from ip address

Hi,

I always thought ping -a x.x.x.x would retrieve the hostname with the pings, but I must be wrong as it's not working.

Can anyone remind me of the command?

Any help is much appreciated.

Reply With Quote
  #2  
Old January 10th, 2008, 12:17 PM
jmurrayhead jmurrayhead is offline
Moderator
Click here for more information.
 
Join Date: Feb 2004
Location: Reston, VA, USA
Posts: 13,130 jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)jmurrayhead User rank is General 11st Grade (Above 100000 Reputation Level)  Folding Points: 112187 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112187 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112187 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112187 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112187 Folding Title: Super Ultimate Folder - Level 1Folding Points: 112187 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 1 Day 5 h 49 m 49 sec
Reputation Power: 1707
That is the correct syntax for the ping command. I tested it out, as well, and it still works for me. You should get a response like the following:

Quote:
Pinging hostname.domain.suffix [xxx.xxx.xx.xx] with 32 bytes of data:

etc...etc...etc...
__________________
jmurrayhead

Did I help you out? Make me popular by clicking the icon!

New Members:Proper way to post a question

My Blog

Reply With Quote
  #3  
Old January 10th, 2008, 04:56 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 9 h 16 m 25 sec
Reputation Power: 182
nslookup can do reverse DNS on IP's. On your own computer 'hostname' at a command prompt will return the computer name. There are additional tools at www.sysinternals.com
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationWindows OS > Get hostname from ip address


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
Create the Optimal Architecture for your Critical Applications
Warburton's the largest independently owned bakery in the UK faced a number of difficult challenges in providing the most robust yet efficient IT infrastructure for their organization's success. IBM's services combined with their xSeries servers created the perfect platform for their SAP environment with sufficient flexibility, and did so in very time effective fashion.

 
Five Best Practices for Deploying a Successful Service-Oriented Architecture
This white paper describes the benefits you can expect with SOA, and how IBM can help take your business there.

 
Gartner Magic Quadrant for Application Delivery Controllers
Gartner summarizes its view on Application Delivery Controllers, evaluates strengths and weaknesses of solutions, and provides Magic Quadrant reporting for a quick comparison across all vendors. Learn from Gartner how you can benefit from an all-in-one device like Citrix NetScaler that delivers the highest levels of availability, performance and security.

 
Knowledge is Power
What you don't know can hurt you, and is likely costing you money and increasing your security risks during an era of scarce resources. This white paper proposes six key strategies that enterprise security managers can use to improve their network defense posture.

 
Rationalizing the Multi-Tool Environment
The rationalized multi-tool approach is flexible, scalable and cost effective. It provides the necessary input to the IT service management business processes. It preserves prior investments in monitoring tools, empowers technologists to select the best tools with which to do their jobs, and enhances effective response to incidents.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2010 by Developer Shed. All rights reserved. DS Cluster 12 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek