From: Christian Hofstaedtler Date: Tue, 28 Jan 2014 09:10:56 +0000 (+0100) Subject: webserver: make unsigned zones work with dnssec=on X-Git-Tag: rec-3.6.0-rc1~213^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f62559e18e630c41a78ca844badeb0e4da68b7c7;p=pdns webserver: make unsigned zones work with dnssec=on --- diff --git a/pdns/ws.cc b/pdns/ws.cc index b52eae423..746d633bf 100644 --- a/pdns/ws.cc +++ b/pdns/ws.cc @@ -523,7 +523,7 @@ static void apiServerZones(HttpRequest* req, HttpResponse* resp) { ).str(); rr.qtype = "SOA"; rr.domain_id = di.id; - rr.auth = 0; + rr.auth = 1; rr.ttl = ::arg().asNum( "default-ttl" ); rr.priority = 0; rrset.push_back(rr); @@ -745,7 +745,7 @@ void StatWebServer::jsonstat(HttpRequest* req, HttpResponse* resp) rr.content=record["content"].GetString(); rr.qtype=record["type"].GetString(); rr.domain_id = sd.domain_id; - rr.auth=0; + rr.auth=1; rr.ttl=intFromJson(record, "ttl"); rr.priority=intFromJson(record, "priority");