[UCLA-LUG] hosts.allow

Erik Hovland ehovland@zig.usc.edu
Mon, 17 Jul 2000 16:45:27 -0700


On Mon, Jul 17, 2000 at 04:12:21PM -0700, Taison Tan wrote:
> 
> How come when I mount a directory for Redhat Linux 6.2, I must specify the
> IP address in hosts.allow instead of the name? When I use the name it
> won't work, but using the IP address works.

Because hostname lookups for RPC are expensive and hard. At least the
documentation doesn't lie about it, from the man page:
     You have to use the daemon name portmap for the daemon name (even if the
     binary has a different name). For the client names you can only use the
     keyword ALL or IP addresses (NOT host or domain names).


E

-- 
Erik Hovland
USC Linux User Group Member
http://linux.usc.edu/~ehovland/
GnuPG public key: http://linux.usc.edu/~ehovland/ehovland.gpg