Skip to main content

where we create/edit TEMPLATE for ALL the files "/var/named/domain.tld.db" ? (new requeriment from ISP)

Comments

5 comments

  • cPRex Jurassic Moderator
    Hey there! You can edit the templates in WHM >> Edit Zone Templates. However, that would only apply to newly-created zones on the system. You would need to manually add the record to existing zones on the machine - either through the WHM interface or creating a custom command that adds the record and also updates the serial number. I don't have a way to provide such a command on my end as that would have to be carefully written.
    0
  • 000
    Hey there! You can edit the templates in WHM >> Edit Zone Templates. However, that would only apply to newly-created zones on the system. You would need to manually add the record to existing zones on the machine - either through the WHM interface or creating a custom command that adds the record and also updates the serial number. I don't have a way to provide such a command on my end as that would have to be carefully written.

    thanks, this is the current /var/named/SLD-CUSTOMER.com.db default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; p=SO_LONGS_TRING1" SO_LONGS_TRING2\; SLD-CUSTOMER.com. 14400 IN TXT "v=spf1 ip4:MYSERVER_IP +a +mx ~all"
    then based in info from ISP: I need change EACH FILE into /var/named with: default._domainkey 14400 IN TXT "v=DKIM1; k=rsa; p=SO_LONGS_TRING1 include: eig.spf.a.cloudfilter.net" SO_LONGS_TRING2\; SLD-CUSTOMER.com. 14400 IN TXT "v=spf1 ip4:MYSERVER_IP +a +mx ~all include: eig.spf.a.cloudfilter.net" OR ONLY CHANGE: SLD-CUSTOMER.com. 14400 IN TXT "v=spf1 ip4:MYSERVER_IP +a +mx ~all include: eig.spf.a.cloudfilter.net" ??? regards
    0
  • cPRex Jurassic Moderator
    I would do the latter where you just add the additional include.
    0
  • 000
    I would do the latter where you just add the additional include.

    thanks oh master... then one by one ? don't exists a "MAGIC COMMAND" for do this over EACH "/var/named/domain1.tld.db" ?
    0
  • cPRex Jurassic Moderator
    Unfortunately there's no such command. If you needed to add it to all the zones on the machine you'd have to write a script that would both add that record and update the serial number of the zone so it can be properly reloaded with the new data.
    0

Please sign in to leave a comment.