Article ID: 879, created on Oct 6, 2008, last review on Jun 8, 2016

  • Applies to:
  • Plesk for Linux/Unix


How to update or rebuild DNS configuration file /etc/named.conf and zone files of domains?


Use repair -r utility for Plesk 11.5 and later:

# /usr/local/psa/bin/repair --help

Usage: command [options]
    Available commands:
    --run or -r                        Restores configuration files of web,
                                       mail and DNS servers.

For Plesk 11.0 and earlier, follow the steps below:

  1. Download the attached script

  2. Unpack it:

    # tar -xvf dns_rebuild.tar
  3. Make it executable:

    # chmod +x
  4. Execute the script:

    # ./
  5. Restart DNS service:

    # /etc/init.d/named restart

Note: in Debian/Ubuntu DNS service's name is bind9

Search Words

The sites do not work

a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c 29d1e90fd304f01e6420fbe60f66f838

Email subscription for changes to this article
Save as PDF