• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Question Change bind/named ports

Martin.B

Basic Pleskian
Plesk Certified Professional
Hi,
we need to change the ports bin9 is listening on on a Plesk-System.
This applies to both, the DNS-Port (53) and the RNDC-Port (953).

In the file /var/named/run-root/etc/named.conf there is a special section for custom directives, however bind doesn't allow to overwrite already existing blocks. In the block provided by Plesk there is already an "options"-directive, so it's not possible to add another one. However listen-on has to be places inside options.
We may add another rndc-port by adding an additional controls-block: contols allows for multiple blocks to be present, however those are simply added and don't overwrite previous blocks.

The DNS-Port may also be changed by adding -p <newport> to the file /etc/systemd/system/bind9.service.d/plesk.conf, though this doesn't help in changing the rndc-port.

Is there a way to change those ports in a different way? Maybe some option in panel.ini, or changing a plesk config file?
 
Back
Top