From owner-freebsd-questions Thu Sep 6 21:36:36 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id ED52F37B406 for ; Thu, 6 Sep 2001 21:36:30 -0700 (PDT) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.11.3/8.11.1) id f874aST37386 for ; Fri, 7 Sep 2001 14:36:28 +1000 (EST) (envelope-from Stanley.Hopcroft@IPAustralia.gov.au) Received: from unknown(10.0.3.110) by pericles.IPAustralia.gov.au via smap (V2.1) id xma037362; Fri, 7 Sep 01 14:36:06 +1000 Received: (from anwsmh@localhost) by localhost.aipo.gov.au (8.11.3/8.11.1) id f874a6u00491 for Questions@FreeBSD.ORG; Fri, 7 Sep 2001 14:36:06 +1000 (EST) (envelope-from anwsmh) Date: Fri, 7 Sep 2001 14:36:06 +1000 From: Stanley Hopcroft To: Questions@FreeBSD.ORG Subject: How do I get FreeBSD 4.3-R dhclient to register a hostname with DDNS ? Message-ID: <20010907143604.A385@IPAustralia.Gov.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Ladies and Gentlemen, Please would you let me know how I can use DHCP with FreeBSD 4.3-RELEASE to register the FreeBSD box's hostname/client identifier with a dynamic DDNS. MS Windows 98 boxes do just fine. Here is my dhclient.conf interface "fxp0" { send host-name "PC09011"; send dhcp-client-identifier "PC09011"; } > ifconfig fxp0: flags=8843 mtu 1500 inet 10.0.3.110 netmask 0xff000000 broadcast 10.255.255.255 ether 00:d0:b7:85:28:40 media: autoselect (10baseT/UTP) status: active supported media: autoselect 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 > hostname lease { interface "fxp0"; fixed-address 10.0.3.110; option subnet-mask 255.0.0.0; option routers 10.254.254.254; option domain-name-servers 10.0.100.254,10.0.100.252; option domain-name "aipo.gov.au"; option dhcp-lease-time 259200; option dhcp-message-type 5; option dhcp-server-identifier 10.0.100.29; renew 6 2001/9/8 16:20:40; rebind 0 2001/9/9 19:20:40; expire 1 2001/9/10 04:20:40; } > Here are the lease lines from the ISC DHCP server (again working quite happily with other DDNS clients) Sep 7 14:20:40 wins dhcpd: DHCPREQUEST for 10.0.3.110 from 00:d0:b7:85:28:40 (PC09011) via fxp0 Sep 7 14:20:40 wins dhcpd: DHCPACK on 10.0.3.110 to 00:d0:b7:85:28:40 (PC09011) via fxp0 Thank you, Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft IP Australia Network Specialist +61 2 6283 3189 +61 2 6281 1353 (FAX) Stanley.Hopcroft@IPAustralia.Gov.AU ------------------------------------------------------------------------ Power corrupts. And atomic power corrupts atomically. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message