Skip to main content

Add A records with a script when adding a new account

Comments

3 comments

  • dalem
    no need to make a script just edit your zone templates add mx10.%domain%. IN A 1.1.1.1 mx20.%domain%. IN A 1.1.1.1
    0
  • Rohan Bhajekar
    no need to make a script just edit your zone templates add mx10.%domain%. IN A 1.1.1.1 mx20.%domain%. IN A 1.1.1.1

    I know i can do that, but there is a reason i am asking about a script or a cron job for every new domain added. I tried a lot searching the web on this but no luck so far, if you know such is possible that will be really great.
    0
  • cPanelLauren
    Hello @Rohan Bhajekar I am curious what didn't work for you when using DNS Zone Templates. Have you read the documentation here: Edit Zone Templates - Version 78 Documentation - cPanel Documentation ?
    0

Please sign in to leave a comment.