From f62559e18e630c41a78ca844badeb0e4da68b7c7 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Tue, 28 Jan 2014 10:10:56 +0100 Subject: [PATCH] webserver: make unsigned zones work with dnssec=on --- pdns/ws.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.40.0