Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

update zone file via script

Discussion in 'Bind/DNS/Nameserver' started by Sh@nz, Sep 29, 2018.

  1. Sh@nz

    Sh@nz Registered

    Joined:
    Oct 1, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    india
    cPanel Access Level:
    DataCenter Provider
    Hi There,

    I need to add below line in zone files of dns-only server via script

    domain.com. 14400 IN TXT "v=spf1 ip4:xx.xx.xx.0/24 ip4:yy.yy.yy.0/24 a:mail.domain.com -all"

    where domain.com is a variable. Kindly help to add it via script as it is for 100s zonefiles.

    Regards,
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,221
    Likes Received:
    478
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice