• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

named.conf template modification

M

MattElmore

Guest
Running Plesk 7.5.4 on FreeBSD 5.3.

Was wondering if there was a way to add an 'also-notify' directive for each domain created in named.conf.

I.E., I want the named.conf to look like this for each zone entry:

Code:
zone "somedomain.com" {
        type master;
        file "somedomain.com";
        allow-transfer {
                1.2.3.4;
                5.6.7.8;
                common-allow-transfer;
        };
        also-notify { 5.6.7.8; 1.2.3.4; };
};

Let me know if this is possible.

Thanks!
 
That's what I feared!

In the meantime, I have devised a workaround. Thank you for the reply.
 
Yeah, not by the control panel. Manual editing or a custom script to parse and re-add the lines. Script can either be put in cron, or in Event Manager to be triggered anytime a domain is created/updated.
 
Using Event Manager is an excellent idea. If nothing else to send a reminder to have someone do it manually.

Thanks for the tip!
 
Back
Top