Date: Fri, 28 Sep 2007 18:32:45 -0700 (PDT) From: "Thomas D. Dean" <tomdean@speakeasy.org> To: derek@computinginnovations.com Cc: freebsd-questions@freebsd.org Subject: Re: DHCP and DNS Message-ID: <200709290132.l8T1WjJp002990@dv6000> In-Reply-To: <6.0.0.22.2.20070928182110.02560a00@mail.computinginnovations.com> (message from Derek Ragona on Fri, 28 Sep 2007 18:24:08 -0500) References: <200709281848.l8SImkef001438@dv6000> <6.0.0.22.2.20070928182110.02560a00@mail.computinginnovations.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> You need to add the hostname dv6000 entry to hosts, or create your own zone
> files and run bind. As these are private IP's you need either to update
> hosts or run DNS. You may find it easier to give servers static private
> IP's that way you are assured your hosts entries or DNS entries are correct.
AHA! where is my head? All the FreeBSD machines run samba.
# nmblookup asus fueno dv6000 hp_pavillion nat-valid-name \
| sed -e '/^query/d' -e '/name.*failed/d' -e 's/<00>//'
192.168.2.6 asus
192.168.2.3 fueno
192.168.2.5 dv6000
192.168.2.4 hp_pavillion
and, put this in /etc/hosts, periodically.
Then, all I need to know is the names of the machines, which I can put
on one machine and copy it to others.
Any other ideas?
tomdean
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709290132.l8T1WjJp002990>
