Date: 19 Jan 2004 15:47:45 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: Updating DNS after DHCP Message-ID: <44r7xvekcu.fsf@be-well.ilk.org> In-Reply-To: <400695E0.4030105@romat.com> References: <20040112230938.A62891@starfire.mn.org> <20040113121623.GB57681@ei.bzerk.org> <20040114214637.GA814@tuatara.fishballoon.org> <400695E0.4030105@romat.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Gilad Rom <gilad_bsd@romat.com> writes:
> and make sure BIND is willing to take it:
> (from /etc/named/named.conf:
>
> zone "lan" {
> type master;
> allow-update { 192.168.1.10; }; <<--
> file "s/lan";
> };
>
> (192.168.1.10 is my DHCP server, which is actually
> the same machine which runs BIND)
>
> after a little while, 'host -l lan' says:
> OREN1.lan has address 192.168.1.54
> ROIE.lan has address 192.168.1.57
> Sun.lan has address 192.168.1.56
> zhacy.lan has address 192.168.1.58
> ....
> And so forth...
>
> These are all dynamically-assigned addresses,
> I only have ladon/mail/router.lan defined in the
> zone file.
If you define the reverse zone, you can get reverse mappings too...
--
Lowell Gilbert, embedded/networking software engineer, Boston area:
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password "public"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44r7xvekcu.fsf>
