• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Set up non plesk slave dns server

M

Michael Andrews

Guest
I have found the documentation that will allow zone transfers
zone serverbuddies.com {
type slave;
file serverbuddies.com.zone;
masters { 192.168.0.1; };
};

However, you have to go in and manually add that code to that file every time you create a new domain. Is there a way to automate plesk to make it add that to the file every time?
 
He, good luck. Plesk's support sucks, as well as their hosting software. I've used a few in my time and theirs is by far the worst. I ended up scheduling a task that went like this to fix my issue.
Create a bat file that reads your primary and dns server zones like so
dnscmd primaryDnsServerName /enumzones > zones.txt
dnscmd secondaryDnsServerName /enumzones > master.txt

Read those files with your program of choice finding any domains that have been added/removed from comparing the primary to secondary. Use that program to write another batch file with all of the appropriate dns commands
dnscmd secondaryDnsServerName /ZoneAdd domainHere /Secondary primaryDnsIpHere or
dnscmd secondaryDnsServerName /ZoneRefresh domainHere or
dnscmd secondaryDnsServerName /ZoneDelete domainHere

then execute that bat file. Not pretty but it works.
 
Whilst the above seems to be ok for Windows servers - I'm using Linux.

Does anyone know how to setup something like this for Linux?

Perhaps BIND can be configured to notify the slave?
 
Back
Top