I am not an administrator but I will try and explain my situation. I am running a home network with a router that does not resolve names. I have foundation in my hosts in my client machine, foundation is the only computer on the network that has a static ip and this is because my router does not allow me to assign an ip to the a name. When I was running Ubuntu on the server, before I decided to change to zfs and OpenSolaris, I didn't could mount my nfs without the client in the hosts file. The thing that really confuses me why would the server need to resolve the name of the client?
Presently I can mount the nfs iff I have the client name in the hosts file but as soon as I remove the client from the hosts file I cannot mount the client any more. So the question is can I get it to accept a mount without it resolving the client name? --- Dru Devore > -------- Original Message -------- > Subject: Re: [nfs-discuss] ZFS share without using hosts file > From: Rince <rincebrain at gmail.com> > Date: Sun, May 03, 2009 10:04 am > To: Robert Thurlow <robert.thurlow at sun.com> > Cc: Dru Devore <ddevore at duckhouse.us>, nfs-discuss at opensolaris.org > > > In my experience, the server fails over in the order defined by > /etc/nsswitch.conf, which is often something like "files dns". > > If you have set sharenfs=on, then this is moot, but if you have > anything more granular, then...sad cats, unless your DNS updates > appropriately, in which case this is moot. > > I guess I, like a few others, aren't understanding if your problem is > that it's trying to do this by IP and not DNS, or if you think your > DNS is updating and it's trying to do it by DNS, but is ending up > doing it by IP, or if you wanted to automagically update > /etc/inet/hosts, and aren't using actual DNS lookups at all. > > - Rich > -- > > Sears has everything.