From 3bf071227b6e93f99a21ccf936ee2105826b69d8 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 11 Oct 2012 07:22:50 +0000 Subject: [PATCH] warn when securing a slave zone, suggested by Mark Scholten git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2795 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- pdns/pdnssec.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index 96947a262..eed3f6405 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -522,6 +522,12 @@ bool secureZone(DNSSECKeeper& dk, const std::string& zone) return false; } + if(di.kind == DomainInfo::Slave) + { + cout<<"Warning! This is a slave domain! If this was a mistake, please run"<