Skip to main content

Error while trying to load DNS zone file

Comments

3 comments

  • nibb
    I think I found the issue. It seems the domain also has to be created in /etc/named.conf as well. Is there a BIND command I can run to create this safely instead of having to edit the config manually? That way I can put this into the backup restore process first.
    0
  • quietFinn
    If you do cPanel backups and you have "Backup System Files" enabled you find the file in system/files/_etc_named.conf.gz
    0
  • rbairwell
    [QUOTE]Is there a BIND command I can run to create this safely instead of having to edit the config manually?
    Not that I'm aware of, but cPanel does have /usr/local/cpanel/scripts/rebuilddnsconfig
    (aka /scripts/rebuilddnsconfig
    ) which will rebuild named.conf .
    0

Please sign in to leave a comment.