Re: Dynamin DNS updates from clients



learner <Zabaloch@xxxxxxxxx> wrote:
I am trying to update DNS information of the clients in the DNS server
that are receiving IP information from DHCP servers.
The clients have hostnames (that will not change ofcourse), but since
the IP address changes everyday or so can I connect to these
workstations using hostnames without knowing the IP address
information?

Any help will be great in this regard.

Thanks to all.

In /etc/named.conf, add

controls { inet 127.0.0.1 allow { localhost; | keys { rndckey; }; };

/etc/rndc.key (make sure this is included in named.conf)

key "rndckey" { algorithm hmac-md5; secret "...hash goes here..."; };

In the nmaed.conf, ensure that the zone definitions include

allow-update { localhost; }

In /etc/dhcpd.conf add

ddns-updates on;
ddns-update-style interim;
allow client-updates;

Something like that should do the trick for you -- dig through the man
pages as needed, of course.
.



Relevant Pages

  • Re: DNS expiration
    ... Clients can reach internal resources by hostname or IP. ... Hostnames no longer resolve. ... Remove the external DNS from TCP/IP properties. ...
    (microsoft.public.windows.server.dns)
  • Dynamin DNS updates from clients
    ... I am trying to update DNS information of the clients in the DNS server ... The clients have hostnames, ...
    (linux.redhat)
  • Re: Dynamin DNS updates from clients
    ... that are receiving IP information from DHCP servers. ... The clients have hostnames (that will not change ofcourse), ... The big problem of wandering IP addresses is wandering SSH and SSL keys. ...
    (linux.redhat)
  • DNS expiration
    ... Clients can reach internal resources by hostname or IP. ... Hostnames no longer resolve. ...
    (microsoft.public.windows.server.dns)