Compare commits

..

No commits in common. "main" and "the-purge" have entirely different histories.

2 changed files with 3 additions and 8 deletions

View file

@ -95,12 +95,6 @@ nb-domains login domain1 domain2 domain3...
See
.Pa migration.mk
for more information.
.It Li delete-user-data
Purge all the data related to an user.
.br
Usage:
.Ar admin delete-user-data uid [uid...]
.El
For

View file

@ -108,7 +108,7 @@ class DNSManager::Storage
zone = zone_must_exist! domain
if delegation = zone.delegation
zone.update_delegation @delegationdir
Baguette::Log.info "zone #{domain} is delegated"
return
end
@ -361,7 +361,8 @@ class DNSManager::Storage
zone.update_serial
zones_by_domain.update_or_create zone.domain, zone
generate_bind9_zonefile zone.domain
# Do not generate a bind9 file if the zone is delegated.
generate_bind9_zonefile zone.domain unless zone.delegation
end
def update_rr(user_id : UserDataID, domain : String, rr : Zone::ResourceRecord) : IPC::JSON