Configuring DNS on a machine connected temporary to the internet

2003-12-26 Thread Marc van Woerkom
My machine is connected to the internet via an ISDN modem, using kernel 
ppp and i4b.
If the link is up, it resolves symbolic names by asking some
nameserver.
If the link is down, it should just use /etc/hosts to
resolve "localhost" and the name of the second computer
attached to it by an ethernet link.

My problem is that if the ISDN link is down, even
a lookup of "localhost" doesn't work.
What do you recommend as configuration settings?

I seem to get stuck.

Regards,
Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Configuring DNS on a machine connected temporary to the internet

2003-12-26 Thread Marc van Woerkom
On Fri, 26 Dec 2003 09:52:50 -0500, Bill Vermillion <[EMAIL PROTECTED]> wrote:
Is the order in you /etc/host.conf file set to
hosts
bind
I see, I gave not enough information.
Here are
/etc/nsswitch.conf:

  hosts: files dns

Are the names in you /etc/hosts file correct.

IP first then FQDN followed by short name.

You didn't give details that they are this way.
Hm.. for some reason localhost is shortname first and FQDN then.

I try to change the order here.

Regards,
Marc
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"