diff --git a/sql/force_zone_rebuild.sql b/sql/force_zone_rebuild.sql new file mode 100644 index 00000000..f49eafa6 --- /dev/null +++ b/sql/force_zone_rebuild.sql @@ -0,0 +1,13 @@ +-- force zone rebuild +-- +-- LONG_DESC: +-- This query will force a rebuild of all zones on all nameservers. +-- Normally rebuilds only happen if there is a change to the domain. +-- This is useful for bringing up a new server and populating all the zones. +-- +-- USAGE: +-- No options available for this query, just run it +-- +-- Your SQL statement would go below this line: + +UPDATE `dns_server_domains` SET `rebuild_flag`='1' WHERE 1