]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Show the owner of a zone, if it has one 4585/head
authorMark Schouten <mark@tuxis.nl>
Tue, 18 Oct 2016 14:00:18 +0000 (16:00 +0200)
committerMark Schouten <mark@tuxis.nl>
Tue, 18 Oct 2016 14:00:18 +0000 (16:00 +0200)
pdns/pdnsutil.cc

index 408ace66e9444cd54fd60c808de1428453e0326b..5c924b3bef9a8ab6bab91fb9835879c824a20a1e 100644 (file)
@@ -1533,6 +1533,9 @@ bool showZone(DNSSECKeeper& dk, const DNSName& zone)
   }
 
   cout<<"This is a "<<DomainInfo::getKindString(di.kind)<<" zone"<<endl;
+  if (!di.account.empty()) {
+      cout<<"This zone is owned by "<<di.account<<endl;
+  }
   if(di.kind == DomainInfo::Master) {
     cout<<"Last SOA serial number we notified: "<<di.notified_serial<<" ";
     SOAData sd;