Hello. My name's Kate. I love Linux, WordPress - own a WordPress dedicated design studio, a beginner entrepreneur who co-founded Asia software company. This is where i blog about Linux, WordPress, daily life and other interesting stuff
Status: available

You are on the Nineteen Labs » Chrooted DNS and Plesk article.

Chrooted DNS and Plesk

Chrooted DNS doesn’t work with Plesk. That’s why chrooted DNS must remove from CentOS after Plesk installation. Plesk have its own DNS. It’s better not to install chrooted DNS in CentOS, if you are using Plesk

Remove Chrooted DNS
# rpm -e bind-chroot

Chrooted DNS make DNS service in Plesk looks failed, but it’s not (Server > Service Management > DNS Server (Bind)).

Setup Plesk DNS manually.

DNS files is in /var/named, /var/named/run-root/etc, /var/named/run-root/var/named, /var/named/run-root/var directory.

In this case, /var/named and /var/named/run-root/var/named directory have same content (below), except file named.pid in /var/named :

localdomain.zone
localhost.zone
named.broadcast
named.ca
named.ip6.local
named.local
named.zero

DNS configuration (named.conf) in /var/named/run-root/etc must same�with rndc-key , for example :

# Start of rndc.conf
key "rndc-key" {
algorithm hmac-md5;
secret "CeMgS23y0oWE20nyv0x40Q==";
};
options {
default-key "rndc-key";
default-server 127.0.0.1;
# default-port 953;
};
# End of rndc.conf
# Use with the following in named.conf, adjusting the allow list as needed:
# key "rndc-key" {
# algorithm hmac-md5;
# secret "CeMgS23y0oWE20nyv0x40Q==";
# };
#
# controls {
# inet 127.0.0.1 port 953
# allow { 127.0.0.1; } keys { "rndc-key"; };
# };
Generate rndc-key
# rndc-confgen

Generate rndc-keyStop/Start/Restart BIND
# /etc/init.d/named stop
# /etc/init.d/named start
# /etc/init.d/named restart

Meanwhile, Plesk DNS Zone is in /var/named/run-root/var. Setup Plesk DNS Zone using Plesk Administration Site

Related Topics
Setup Plesk DNS Zone

Share : These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • SphereIt
  • BlinkList
  • Reddit
  • StumbleUpon

Add a Comment

XHTML You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This site powered : WordPress. Made with PC (sorry, MAC), Coffee and Tofu