Thanks to all.
I seemed to have resolved the problem by setting my /etc/host.conf file to look like:
order hosts,bind multi on
And, of course, I have the correct IP's were in the /etc/hosts file. My laptop gets two different IPs depending on whether I go through the wireless or not.
My host.conf already looked like the one below, but it wasn't working.
Thanks again. I am so glad to get this problem resolved.
darren
Alex Zbyslaw wrote:
Gary Smithe wrote:
If that is your resolv.conf, then that explains some things. Your boxOr fix your /etc/host.conf to lookup in files first and then use DNS, then put your local network in /etc/hosts. Much simpler for a small network.
is looking at the ISP for name resolution and the ISP has no idea (nor
could care) what your internal LAN address space is. Change the
resolv.conf to look at itself (127.0.0.1) and setup BIND with some
simple DNS and RDNS records. You could use pretty much any box on
your network for DNS, but the key is that it has to know about the
internal space.
E.g. /etc/host.conf
# First try the /etc/hosts file hosts # Now try the nameserver next. bind
And /etc/hosts
192.168.0.1 myhost
Then leave resolv.conf alone. It will be used for anything not in your local hosts file.
--Alex
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"