[Gllug] Resolving host names from a dhcp server

N.Pauli npauli at st-johns.org.uk
Fri Sep 24 08:37:50 UTC 2004


On Fri, 24 Sep, Stephen Harker wrote: 
> N.Pauli wrote: 
>  
> > Dear All,  
> >   
> > I'm using TightVNC's vncviewer to connect to VNCservers running on 
clients  
> > on our network. What I want to do is to be able to type in the host's 
name  
> > (e.g. it24) rather than its ip address (e.g. 10.0.3.62) to be able to 
view  
> > that station. Originally my linux box [linuxbox] had a static ip address 
so,  
> > not unreasonably, I thought that if I want this to work linuxbox should 
get  
> > its address via the same dhcp server as used by the stations. I made 
this  
> > change and manually edited /etc/hosts to reflect the change but I still  
> > cannot connect via vncviewer to it24 but only to 10.0.3.62. Nor can I 
ping  
> > it24 - though I can ping 10.0.3.62. Dhcp clients running WindowsXP can 
pull  
> > off this "connect to the host name" trick quite successfully.  
> >   
> > Is their something here I am missing?  
>  
> Yes. Windows is probably using NetBIOS lookups to resolve names to IPs  
> on the network which your linux box isn't. What is the DHCP server  
> running on? 
 
The DHCP server is running on a Windows Server 2003 machine. I assumed that 
this was also running DNS - which seems to have been an assumption too far - 
and that there may well not be a DNS server running anywhere on 10.0.0.0. 
Soon fix that. 
 
Thanks for your help, Stephen. 
 
Nigel 
 
--  
Nigel Pauli 
Network Manager 
St. John's School, Northwood 
 



-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list