Gamecommunity =GCHQ=
http://82.148.227.125:8080/

Logresolve/resolveip
http://82.148.227.125:8080/viewtopic.php?f=6&t=51036
Page 1 of 1

Author:  elbow=GCHQ= [ Sun Jun 08, 2008 9:26 am ]
Post subject:  Logresolve/resolveip

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?

Author:  happyslappy [ Sun Jun 08, 2008 2:13 pm ]
Post subject:  Re: Logresolve/resolveip

host ip ?

Author:  elbow=GCHQ= [ Sun Jun 08, 2008 3:28 pm ]
Post subject:  Re: Logresolve/resolveip

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)

Author:  happyslappy [ Sun Jun 08, 2008 11:46 pm ]
Post subject:  Re: Logresolve/resolveip

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 ?

Author:  happyslappy [ Mon Jun 09, 2008 12:26 am ]
Post subject:  Re: Logresolve/resolveip

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 ?

Author:  elbow=GCHQ= [ Tue Jun 10, 2008 7:47 am ]
Post subject:  Re: Logresolve/resolveip

ahh..one thing I'd forgotten is that the linux box has got open DNS on but my macbook hasn't....

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/