On Mon, 30 Jun 2003 18:21:33 -0500,
Michael J. Barillier <(E-Mail Removed)> wrote:
>I'm trying to figure out how to get dhcpcd to update a DNS with my
>hostname. I had booted with Tom's Root Boot on the box in question
>and telneted to another host on the net, and a subsequent login to
>that box said ``Last successful login from tomsrtbt.blah.blah'', so I
>know that it is possible to get Linux to update the nameserver on this
>network. However, when I do something like this:
>
> /sbin/dhcpcd -h fubar -d eth0
>
>to initialize the interface and ping the box from another host (using
>`ping fubar.blah.blah' I get an ``unknown host'' error. I've also
>tried the `-H' and `-D' options on dhcpcd, but with the same result.
>
The dhcpcd doesn't directly support dynamic DNS update, the dhcp server
may support it, at least the ISC dhcp version 3 does. You can do dynamic
DNS updates using the nsupdate command. See the man page for nsupdate for
details. Maybe you can do something with dhcpd.exe which is a script run
by the dhcp client.
Of course, the DNS server must be configured to allow dynamic updates.
Villy
|