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

Re: ftpd - slow to connect



On Sun, Sep 30, 2001 at 08:20:13PM +0100, Alex Hunsley wrote:
> 
> It's a small network in our house, with a linux box acting as a DHCP and name
> server....

> > since reserved ips are just that, reserved, there are no dns-ptr values for it
> > so in-addr.arpa lookups will fail unless you set up your own private one.
> > 
> > quickfix: add all clients to the ftp-server to hosts(5)
> > 
> > "real" fix, install a dns-server of your choice (no religious wars here :P)
> > 
> > if this is happening from an external client.
> > do your server have an external dns-server in resolv.conf(5) ?
> 
> If by this you mean the nameserver line, yes it does, it names our DHCP server
> thus:
> 
>   nameserver 10.0.0.1
right, but does that nameserver have a 0.0.10.in-addr.arpa. zone?
and if yes, does it have entries for your ips?
and if yes, do they actually match?
last one are more prone to just reject you out of paranoia than hang
but in any case, these can be factors.

question is, do you want to get into setting up a dns-server for a/ptr lookups
or do you do things the quick way, hosts(5)
on a long term basis, and especially if you are going to add more machines to the network, 
have people visiting, etc. the dns solution is by far the best since you would have 
to add your visitors/new machines to hosts on every service machine. 
this gets tiresome in the end.
with dns you can just "pre-make" a few zones, though tedious when you're crawling through
PTR's for 10.0.0.x it will work regardless of which ip they pick.
of course you could fill out hosts with entres for 10.0.0.0/24 but .. erm..

I'd recommend you read the DNS-HOWTO, especially the in-addr.arpa section. (but not limited to!)
-- 
Yours Digitally,
Tommi Jensen  
 
    ^
   /e\    There is no conspiracy
   ---

Attachment: pgpRw_rFcPI6P.pgp
Description: PGP signature


Reply to: