From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 1 15:34:14 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 05E2416A4CE for ; Sat, 1 Nov 2003 15:34:14 -0800 (PST) Received: from ussenterprise.ufp.org (ussenterprise.ufp.org [208.185.30.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27E0D43F93 for ; Sat, 1 Nov 2003 15:34:13 -0800 (PST) (envelope-from bicknell@ussenterprise.ufp.org) Received: from ussenterprise.ufp.org (bicknell@localhost [127.0.0.1]) by ussenterprise.ufp.org (8.12.9/8.12.9) with ESMTP id hA1NYC8i034253 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 1 Nov 2003 18:34:12 -0500 (EST) Received: (from bicknell@localhost) by ussenterprise.ufp.org (8.12.9/8.12.9/Submit) id hA1NYCiw034252 for freebsd-hackers@freebsd.org; Sat, 1 Nov 2003 18:34:12 -0500 (EST) Date: Sat, 1 Nov 2003 18:34:12 -0500 From: Leo Bicknell To: freebsd-hackers@freebsd.org Message-ID: <20031101233412.GA33988@ussenterprise.ufp.org> Mail-Followup-To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline Organization: United Federation of Planets X-PGP-Key: http://www.ufp.org/~bicknell/ Subject: dhclient & dynamic DNS updates X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2003 23:34:14 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm having problems getting dhclient to do dynamic DNS updates. I'm wondering if anyone else has gotten this working. I want dhclient to dynamically update a forward zone. I can't have the server do it, as I don't control the server (cable modem setup). I know I have named set up right, as I can have dhcpd update (at a different site) update the server just fine. So, my basic dynamic DNS config seems to be ok. I put the same key config and zone config in /etc/dhclient.conf. Right off the bat I noticed something odd, in dhcpd.conf 'secret' (in key) takes an argument in double quotes, qutoes in dhclient.conf give an error. With no quotes there's no error. Similarly for 'key' (in zone). Beyond that the only other things I've added are: prepend domain-name-servers 127.0.0.1; supersede domain-name "my.example.com"; send fqdn.fqdn "hostname.my.example.com."; send fqdn.encoded on; send fqdn.server-update off; Best I can tell from the config this should make dhclient send a dynamic DNS update to the server listed as "primary" in the zone section adding hostname.my.example.com. However, tcpdump shows no DNS update packets of any kind coming from the machine running dhclient. What's the magic to get dhclient to emit a dynamic DNS update? --=20 Leo Bicknell - bicknell@ufp.org - CCIE 3440 PGP keys at http://www.ufp.org/~bicknell/ Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE/pEL0Nh6mMG5yMTYRAm1BAKCIReH1yG8oR0Ka312z4uvSqNKwXQCeIcmb GUUYhlFxIpN+YmCZCZa8pX4= =Q0NS -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--