Updating DNS after DHCP

Scott Mitchell scott+freebsd at fishballoon.org
Wed Jan 14 13:47:33 PST 2004


On Tue, Jan 13, 2004 at 01:16:23PM +0100, Ruben de Groot wrote:
> On Mon, Jan 12, 2004 at 11:09:38PM -0600, John typed:
> > I see that some Microsoft systems send out an update to DNS with
> > the system name.  I configured my DNS server to accept these updates,
> > but now that I'm running FreeBSD on a laptop - how do I do that
> > from FreeBSD? I've looked at the dhclient man pages and the named
> > man pages and the pages that they refer to and I didn't pick up
> > any hints there.
> > 
> > Can anyone give me a clue? (Yeah - I'm clueless...)
> 
> I believe this is done by the nsupdate(8) program.

You can also have your DHCP server do the updates - which makes sense, as
it's the thing handing out the addresses to your client machines.  I have
this working reasonably well with isc-dhcpd, for Windows and FreeBSD
clients.

You want to read the 'DYNAMIC DNS UPDATES' section of the dhcpd.conf(5)
manpage, and whatever docs your DNS server has on this topic.  There are
plenty of examples of working configs for isc-dhcpd and bind to be found on
the web.

HTH,

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon


More information about the freebsd-questions mailing list