On 04.06.2002 at 08:05:14, Rob Schwartz <[EMAIL PROTECTED]> wrote:

> I can resolve the host names for machines X, Y and Z but still needed to add
> X, Y and Z to /etc/hosts.

DNS should definitely work (I *never* modify /etc/hosts for anything but the
machine's own address).  Remember that TCP wrappers is not resolving X to
1.2.3.4, but verifying that 1.2.3.4 is actually X.  This requires reverse name
resolution (the 'in-addr.arpa' DNS zones).  Perhaps these have not been set up
for X, Y and Z in your DNS.

Test this by doing "nslookup 1.2.3.4" to see whether you get back X.

> I also tried /etc/hosts.allow with "rexecd: ALL" but it didn't work.

IIRC, TCP wrappers will do the name lookup regardless of what is configured in
hosts.allow or hosts.deny, so if there's a name resolution problem then you'll
still get delays/failures.

Cheers,
Vic

--
Vic Cross  MACS  mailto:[EMAIL PROTECTED]
Networking, Linux, on zSeries and S/390

Reply via email to