Updating DNS after DHCP

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Jan 19 12:47:47 PST 2004


Gilad Rom <gilad_bsd at 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"


More information about the freebsd-questions mailing list