ostringstream os;
if(parts.size()!=3)
return "syntax: notify-host domain ip";
- if(!::arg().mustDo("master"))
- return "PowerDNS not configured as master";
+ if(!::arg().mustDo("master") && !::arg().mustDo("slave-renotify"))
+ return "PowerDNS not configured as master or slave with re-notifications";
DNSName domain;
try {
UeberBackend B;
if(parts.size()!=2)
return "syntax: notify domain";
- if(!::arg().mustDo("master"))
- return "PowerDNS not configured as master";
+ if(!::arg().mustDo("master") && !::arg().mustDo("slave-renotify"))
+ return "PowerDNS not configured as master or slave with re-notifications";
L<<Logger::Warning<<"Notification request for domain '"<<parts[1]<<"' received from operator"<<endl;
if (parts[1] == "*") {