[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No local name lookup



Dancer (dancer@ozspace.brisnet.org.au) wrote:

> 	I have mintnet 141 set up and running (and very well, I might 
> add) on a slip link to my host (the modem's only 2400, but it's enough 
> for now). Now observe the following:

There is no MiNT-Net 141. This is the version of init (called "MiNTOS").

> /etc/resolv.conf:
> domain brisnet.org.au
> nameserver 127.0.0.1

I'm pretty sure there is no named running on your local host. Remove
this line.

> nameserver 203.4.148.1
> nameserver 203.4.148.65
> nameserver 192.189.54.33
> nameserver 128.250.22.2

I'm not sure, but traditional resolvers support only three nameservers.

> /etc/hosts: (the first couple of lines..)
> 127.0.0.1	localhost lo0 loghost
> 203.4.148.180	thelbane thelbane.brisnet.org.au thelbane.brisnet thelbane.brisnet.org
> 203.4.148.1	gateway1 gateway1.brisnet.org.au gateway1.brisnet gateway1.brisnet.org
> (etc)

You should include the (official) FQDN for an IP address *first* in
your hosts file and *then* the aliases:

203.4.148.180	thelbane.brisnet.org.au thelbane
203.4.148.1	gateway1.brisnet.org.au gateway1

The domain brisnet.org in nonexistant in the DNS.

> (the output from route and ifconfig is...)

seems to be correct.

> Now, if I don't include gateway1 (203.4.148.1) as a nameserver, I don't 
> get any name lookup. But 'localhost' is never resolved, nor is lo0 or 
> loghost. No name lookup takes place on my local box at all (except that I 
> _can_ refer to the names when I'm doing ifconfig, route or slattach).

Sorry, I don't understand your problem. How do you try to resolve the
hostnames? Does nslookup work? Did you setup /etc/host.conf and did
you recompile your network applications with the latest socket library
with the `new' resolver?

Bye,
Knarf
-- 
    Frank Bartels    |      UUCP/ZModem: + 49 89 5469593       | MiNT is
knarf@nasim.cube.net | Login: nuucp Index: /pub/ls-lR.nasim.gz | Now TOS!