Domain names removed from the generated list (in "/etc/unmanaged_zones") will be removed upon manually running the matching script ("/scripts/unmanaged_zones"), thus excluding domains that are manually retained in the list; that is, domain names you decide to keep in the list are excluded from removal, while all domains that are deleted from the list will be removed.
When running the auto repair script for the first time, there should be text similar to the following:
Code:
Writing unmanaged/unauthoritative domains to /etc/unmanaged_zones
To remove any unmanaged domains from this system please edit /etc/unmanaged_zones
and remove any domains that you wish to have removed and run /scripts/unmanaged_zones.
Zones added through the WHM directly will be included in this list. Please review the zones
listed in the file carefully and ensure that they should be removed before deleting their
respective entries in /etc/unmanaged_zones.
Done
The auto-repair script will create the following file and matching script:
Code:
/etc/unmanaged_zones
/scripts/unmanaged_zones
The aforementioned two files may be removed to recreate a first-run scenario:
Code:
# rm -fv /etc/unmanaged_zones /scripts/unmanaged_zones
# /scripts/autorepair unmanaged_zones