Login    Forum    Register    Search    FAQ

Board index » HELP AND ADVICE » GAME/SOFTWARE/HARDWARE PROBLEMS




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Logresolve/resolveip
 Post Posted: Sun Jun 08, 2008 9:26 am 
Offline
Comin' outta Gallifrey
User avatar

Joined: Mon Aug 01, 2005 9:44 pm
Posts: 7821
Location: banging with enamor
Hok....logresolve takes standard input, if you put an IP in it'll give you the host name out. resolveip takes the ip as standard input.

On OS X logresolve will return the hostname in the form of <crsid>.cai.private.cam.ac.uk, where crsid is the id of the person's computer. On ubuntu it returns the computers name (ie bluebottle.local), as does resolveip (can't get resolveip on os x).

How can I get ubuntu to display the hostname rather than the comptuer name?

_________________
“There are some people in this world who don’t love their fellow man, and I HATE people like that!”


Top 
 Profile  
 
 Post subject: Re: Logresolve/resolveip
 Post Posted: Sun Jun 08, 2008 2:13 pm 
Offline
that was a stupid comment btw
User avatar

Joined: Wed Mar 03, 2004 12:40 pm
Posts: 109345
Location: manchester
host ip ?

_________________
Image
Image


Top 
 Profile  
 
 Post subject: Re: Logresolve/resolveip
 Post Posted: Sun Jun 08, 2008 3:28 pm 
Offline
Comin' outta Gallifrey
User avatar

Joined: Mon Aug 01, 2005 9:44 pm
Posts: 7821
Location: banging with enamor
On OS X
Code:
sxty2-a:~ sharonyang$ host 172.21.226.187
187.226.21.172.in-addr.arpa domain name pointer jd437-a.cai.private.cam.ac.uk.


On Linux
Code:
bill@Moriarty:~$ host 172.21.226.187
Host 187.226.21.172.in-addr.arpa. not found: 3(NXDOMAIN)

_________________
“There are some people in this world who don’t love their fellow man, and I HATE people like that!”


Top 
 Profile  
 
 Post subject: Re: Logresolve/resolveip
 Post Posted: Sun Jun 08, 2008 11:46 pm 
Offline
that was a stupid comment btw
User avatar

Joined: Wed Mar 03, 2004 12:40 pm
Posts: 109345
Location: manchester
check /etc/resolve.conf and make sure its the same as what ever dns you have on the mac
if your stuck add in somert like opendns 208.67.222.222

are you allocated ip via dhcp at all ?

_________________
Image
Image


Top 
 Profile  
 
 Post subject: Re: Logresolve/resolveip
 Post Posted: Mon Jun 09, 2008 12:26 am 
Offline
that was a stupid comment btw
User avatar

Joined: Wed Mar 03, 2004 12:40 pm
Posts: 109345
Location: manchester
ops had a few - but just noticed - private and 172.21.
there is your anser
its like a 192 or 10 address just not as common
the mac has local dns via dhcp i guess and linux you added in manually ?

_________________
Image
Image


Top 
 Profile  
 
 Post subject: Re: Logresolve/resolveip
 Post Posted: Tue Jun 10, 2008 7:47 am 
Offline
Comin' outta Gallifrey
User avatar

Joined: Mon Aug 01, 2005 9:44 pm
Posts: 7821
Location: banging with enamor
ahh..one thing I'd forgotten is that the linux box has got open DNS on but my macbook hasn't....

_________________
“There are some people in this world who don’t love their fellow man, and I HATE people like that!”


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 6 posts ] 

Board index » HELP AND ADVICE » GAME/SOFTWARE/HARDWARE PROBLEMS


Who is online

Users browsing this forum: No registered users and 19 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
  • Shoutbox
  • Shout Message


test