On Monday 16 Jun 2003 1:17 pm, Ronald J. Hall wrote:
> On Sunday 15 June 2003 01:55 pm, JoeHill wrote:
> > On Sun, 15 Jun 2003 18:16:46 +0100
> >
> > Derek Jennings <[EMAIL PROTECTED]> uttered:
> > > I have always used static addressing because I have never been able to
> > > work out how clients can be addressed by hostname when there is no
> > > fstab entry.
> > >
> > > Surely the DNS server has to be made aware of the dhcp clients so it
> > > can resolve hostnames for other clients.
> >
> > Hmmm, that's a good question, in Windows we had that NetBIOS thing that
> > would automatically resolve hostnames to IPs. I've never had a problem
> > calling other hosts on my LAN by name though, but that's probably
> > because Samba takes care of it.
>
> Guys, I'm confused now. Are you saying you can't (for example) ping by name
> a computer on your LAN? I can here....I can do:
>
> ping darkforce
> ping darkforce2
> ping darkforce3
>
> and it works fine. I don't have to do the IP address.
>
> PS and what does fstab have to do with it?

Well assuming you are using Dhcp then how are you managing to resolve the 
hostnames?
When you ask to ping a host your system will first go to /etc/hosts to see if 
there is an entry there (that was a mistake in my original post. I said fstab 
by mistake) if there is no entry in hosts, it will go and ask the DNS server.

If you are using your ISPs DNS server, there is no way it is going to know 
about clients on your local net. If you use your own DNS server (like I use 
djbdns) then there has to be some method for the dhcp server to tell the DNS 
server when an address has been assigned.

If you have a router assigning IP addresses then the router might be able to 
tell you, but I have no router so my question is how can I get my linux 
gateway to resolve them?

derek
-- 
----------------------------------
www.jennings.homelinux.net


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to