enerspace
Basic Pleskian
Hi,
I have unfortunately not got any exact information.
I have a master DNS-Server with the IP 88.66.88.66 and a secondary DNS-Server with the IP 77.55.77.55.
Booth Servers are Plesk Servers.
I know how the communication works over rndc but I do not realize how plesk builds the named.conf. Apparently only the file under /etc/named.conf is considered. But not the file at /etc/bind/named.conf.
The Pleskversion is structured like this:
How can I customize the line "controls {"?
When i use the custome line, i cant overwrite the "controls {" line for external connection like:
When i overwrite the Plesk controls line, first a connection works, but after a few hours miraculously no longer, although the line was not changed.
Have you a Tip? Thanks!
I have unfortunately not got any exact information.
I have a master DNS-Server with the IP 88.66.88.66 and a secondary DNS-Server with the IP 77.55.77.55.
Booth Servers are Plesk Servers.
I know how the communication works over rndc but I do not realize how plesk builds the named.conf. Apparently only the file under /etc/named.conf is considered. But not the file at /etc/bind/named.conf.
The Pleskversion is structured like this:
Code:
// $Id: named.conf,v 1.1.1.1 2001/10/15 07:44:36 kap Exp $
// -- THE FOLLOWING LINES WERE GENERATED BY PLESK. IF YOU MODIFY THEM, THEY WILL BE OVERWRITTEN WHEN THESE SETTINGS ARE MANAGED IN PLESK UI. --
options {
allow-recursion {
localnets;
};
listen-on-v6 { any; };
version "none";
directory "/var";
auth-nxdomain no;
pid-file "/var/run/named/named.pid";
};
key "rndc-key" {
algorithm hmac-md5;
secret "HASH";
};
controls {
inet 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };
};
zone "." {
type hint;
file "named.root";
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
};
// -- END OF LINES GENERATED BY PLESK. --
// -- PLEASE ADD YOUR CUSTOM DIRECTIVES BELOW THIS LINE. --
//--
// -- END OF YOUR CUSTOM DIRECTIVES. --
How can I customize the line "controls {"?
When i use the custome line, i cant overwrite the "controls {" line for external connection like:
Code:
controls {
inet * port 953
allow { 127.0.0.1; otherip; otherip; } keys { "key-file"; };
};
When i overwrite the Plesk controls line, first a connection works, but after a few hours miraculously no longer, although the line was not changed.
Have you a Tip? Thanks!
Last edited: