(E-Mail Removed) wrote:
> Monday January 02 2006 12:07, Mark Adams wrote to All:
>
>
> MA> This seems like a simple thing, but it's driving me nuts. Here is
> MA> my
> MA> /etc/host file for all machine including the server (shuttle):
> MA> 192.168.0.1 modem
> MA> 192.168.1.1 gateway
> MA> 127.0.0.1 localhost
> MA> 192.168.1.100 adamsmdk
> MA> 192.168.1.101 chrisq
> MA> 192.168.1.103 alexa
> MA> 192.168.1.104 games
> MA> 192.168.1.105 shuttle
> MA> 192.168.1.106 media
> MA> 205.171.3.65 DNS1
> MA> 205.171.2.65 DNS2
>
> MA> Here is the /etc/resolv.conf from the server:
> MA> search adams-lan.local
> MA> nameserver 127.0.0.1
> MA> nameserver 192.168.1.1
> MA> nameserver 192.168.1.105
>
> Do you actually have a correctly configured name server on all these
> addresses? Localhost exists on every machine, so it should not be
> included. "Gateway" probably tries to resolve outside addresses, not
> local ones. Your "modem" is on a different network, so it should be
> omitted.
>
Hey Kari,
The host file (which appears on all machines) has every network address
on the LAN in it a)to simplify connectivity within the LAN (I have a
server and a media center to keep track of and Samba really likes static
IP's) and b) I've got wacky stuff going on where hostnames are not being
properly resolved.
One reason I set up a DNS is to (maybe) take a step toward getting some
of this stuff to work properly. What I'm talking about here is little
stuff like -- when I click a shortcut for "/usr/bin/www-browser
https://localhost:10000/" I get the error:
While trying to retrieve the URL: localhost:10000
The following error was encountered:
Unable to determine IP address from host name for localhost
The dnsserver returned:
Name Error: The domain name does not exist.
==============
How can localhost not resolve?! The advice I've always gotten is, "make
sure 127.0.0.1 localhost is in the host file."
Do you have any ideas why localhost won't resolve?
BTW, to keep it on topic, it turns out I can access the serve via domain
rather than host -- "adams-lan.local" works whereas "shuttle" does not.
The FQDN of the box in question is "shuttle.adams-lan.local".
Just wanted to mention it.
--
Mark E. Adams, 2004 -- drop the "dot" to email me.
http://adamslan.shyper.com -*- Mandriva User# 263042
CONSIDER: ===========---------,,,,,,,,,............. . . . . .
Expert, n.:
Someone who comes from out of town and shows slides.