reverse dns and NSF

From: Dave Hall <linux_at_no.spam.please>
Date: Fri Sep 19 2003 - 12:53:05 CST

On Fri, Sep 19, 2003 at 11:01:13AM -0700, Graham Bendell wrote:
> does anyone know why NSF does a reverse dns lookup when i try to mount an nsf
> filesystem, and more importantly, How to i make NSF NOT do a dns check on the IP's.
> Im getting really really really frustrated with this. cant mount - permission
> denied, messages tells me DNS forward lookup does't match with reverse, which
> makes sence seeing as how this is all bloody internal.
> the domain of the machine trying to mount the filesystem does indeed have a real
> world IP address, which another machine (the firewall) holds and routes, and the
> computer running the NFS daemon has the domain and internal ip address in its
> hosts file.
> so yeah, how can i disable dns lookups with NSF?

I don't think I've experienced this problem before. A couple of work-arounds
would be to mount with an IP address (I do this on servers in case DNS isn't
around when they are rebooting and mouning remote filesystems), or add the
hostnames in question to the /etc/hosts file, most Linux systems are
configured with /etc/hosts taking precedent over DNS.

Read the man pages for nfsd and mount/mountd, there may be an option to
prevent it from doing the reverse lookups.

| <- You must be smarter than this stick to ride
     the Internet		-Mike Handler
Received on Fri Sep 19 12:53:05 2003

This archive was generated by hypermail 2.1.8 : Mon Mar 06 2006 - 18:35:12 CST