On Jan 27, 12:09 pm, Hosam <a.ho...@gmail.com> wrote:
> Hello All
> I have DNS And dhcpd it's work in my rhel5 and have
> rhel5 , rhel4 , suse Enterprise server , windows XP
> all of my client have ip from dhcpd but I need to register them auto
> in my DNS how that please help
> thanks
In your dhcpd.conf file, add in
ddns-domainname "your.domain.name";
ddns-update-style interim;
ddns-rev-domainname "in-addr.arpa";
ignore client-updates;
key "rndc-key" {
algorithm hmac-md5;
secret "your rndc secret key value goes here";
};
zone your.domain.name. {
primary 127.0.0.1;
key "rndc-key";
}
zone your.reverse.zone.inaddr.arpa. {
primary 127.0.0.1;
key "rndc-key";
}
Substituting, of course, for the proper values for your domain name,
your rndc secret key, your primary DNS server's IP address, and your
zone and reverse zone mapping names.
IIRC, you'll also have to set the update-policy values in your
named.conf zone definitions
|