Date: Tue, 2 Dec 2025 22:07:24 +0000 From: void <void@f-m.fm> To: freebsd-fs@freebsd.org Subject: Re: nfs exports by local dns Message-ID: <aS9jHK0fdDMWSUBJ@int21h> In-Reply-To: <CAM5tNy49FMOMTMV11BMxf=EbAJ896ggjC081=QMSyUZkatev8Q@mail.gmail.com> References: <aS8eW048vdJOxdfR@int21h> <CAM5tNy49FMOMTMV11BMxf=EbAJ896ggjC081=QMSyUZkatev8Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 02, 2025 at 01:30:47PM -0800, Rick Macklem wrote: >You cannot wildcard, so I'd list them all. >Also, unless they are all in /etc/hosts, I'd list the IP addresses and >not the host names, because I wouldn't want the NFS server to depend >on DNS being up when it boots. >(But that's just the way I would do it.) Would the list all go on one line or can/would it be like client1 client2 client3 client4 client5 client6 \ <== note the backslash client7 client8 client9 (this is for inclusion in the zfs set sharenfs= line) In terms of ip address if there's more than one range in same net like 192.168.1.0/29 192.168.1.16/28 is the resulting line -maproot=root -alldirs -network 192.168.1.0/29 -network 192.168.1.16/28 or just the one -network? side question of general interest - how is it done when there are like thousands of computers - I guess hosts would do it because it'd only need to be on the server. I think. ? I guess unbound the same for this specific context (?) I couldn't see exactly how from the handbook --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aS9jHK0fdDMWSUBJ>
