I need to find the final piece of a puzzle before I officially announce my DirectAdmin to Cloudflare DNS Sync Plugin, which is up and running and a few people are already using.
I want to display a message after synchronization to give extra information to the user, BUT I don't want to throw an error to do this.
I'm hooking in to the dns_write_post.sh custom script, and have the following issue:
Is there an env variable or logfile that DA looks at after running a script to see if there is any message to display?
I have seen custom script message output (in the Green box) when creating a domain, but not when using dns_write_post.sh
Any help would be greatly appreciated.
I want to display a message after synchronization to give extra information to the user, BUT I don't want to throw an error to do this.
I'm hooking in to the dns_write_post.sh custom script, and have the following issue:
- If I use 'exit 0', DirectAdmin just says 'Domain record was updated successfully' and doesn't display any of my echoed text.
- If I use 'exit 1', DirectAdmin displays my echoed text BUT, it doesn't update it's own display to show the changes to any DNS records, as well as saying there is an error.
Is there an env variable or logfile that DA looks at after running a script to see if there is any message to display?
I have seen custom script message output (in the Green box) when creating a domain, but not when using dns_write_post.sh
Any help would be greatly appreciated.
