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

Re: [cobalt-users] Qube2 - reverse name lookup while checking email



On Fri, 20 Oct 2000, Joerg Kalisch wrote:

> Hi
> 
> When i connect to port 25 or port 110 of my Qube 2, the Qube contacts the
> DNS Server of my ISP to do a reverse name lookup for the IP address of my
> client (the client has an "Class C IP address").

Check that your Qube is configured as the *1st* DNS server in the
/etc/resolv.conf file. It's worth using the localhost IP address
127.0.0.1.

> This lookup fails and causes a wasted dial-up connection :(
> 
> How can i tell my Qube to resolve this name lookup with the local DNS con-
> figuration? DNS is activated on my Qube, i have also entered the hostname
> and the IP address. Other clients (they use the Qube as primary DNS) can do
> a reverse lookup for this IP address. Only the Qube doesn't :(
> 
> Do i have to enter the ip adresses in /etc/hosts of my Qube and put some-
> think like "order hosts,bind" in my resolv.conf?

It's the /etc/nsswitch.conf file to define which network services are
queried in which order. It is worth putting the IP addresses of clients
which commonly access the server into the hosts file. It can speed things
up quite considerably.

regards,
Colin Smith.