Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 14:36:06 +1000
From:      Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.gov.au>
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>

next in thread | raw e-mail | index | archive | help
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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex> 100baseTX 
10baseT/UTP <full-duplex> 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010907143604.A385>