Bind uuendamine dhcp abil: Difference between revisions

From ICO wiki
Jump to navigationJump to search
Mernits (talk | contribs)
Mernits (talk | contribs)
Line 12: Line 12:
};
};


</source>
*Muutke /etc/named kasust kasutaja named omaks
<source lang="bash">
chown bind /etc/bind
</source>
</source>



Revision as of 16:56, 23 March 2011

/etc/bind/named.conf.options

key "rndc-key" {
        algorithm hmac-md5;
        secret "gYb4ju1sEbgpHm10wxsofQ==";
};

controls {
        inet 127.0.0.1 allow {localhost; } keys { "rndc-key"; };
};
  • Muutke /etc/named kasust kasutaja named omaks
chown bind /etc/bind

/etc/dhcp3/dhcpd.conf

#include                     "/etc/bind/rndc.key";
key "rndc-key" {
        algorithm hmac-md5;
        secret "gYb4ju1sEbgpHm10wxsofQ==";
};
#ddns-update-style none;
ddns-update-style interim;

zone ketas.ee. {
        primary 127.0.0.1;
        key "rndc-key"; 
}
zone 8.168.192.in-addr.arpa {
        primary 127.0.0.1;
        key "rndc-key";
}