The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reset DNS Zone command

Discussion in 'Bind / DNS / Nameserver Issues' started by mahdy_sharifi, Dec 23, 2013.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello :

    I want reset DNS zone from command line , which script used for this purpose ?

    Thank You
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    There is no direct command line equivalent script to the Reset a DNS Zone feature in Web Host Manager. However, you could delete and re-create the DNS Zone, as indicated in the instructions here on completing this for multiple zones:

    DNS Zone - Reset All Zones

    Thank you.
     
  3. TechShogun

    TechShogun Registered

    Joined:
    Feb 26, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    I noticed deleting and recreating DNS zones doesn't restore A records for subdomains. Resetting the zone, however, does. Is there a work around to this?

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You could reset the DNS Zone in Web Host Manager if necessary. Could you elaborate on why you are having to reset the DNS Zones?

    Thank you.
     
Loading...

Share This Page