From: Leszek Jakubowski Date: Wed, 11 Mar 2015 12:58:17 +0000 (+0100) Subject: Fixed outdated docs, argument list in generic pg/mysqlbackend list-query statement... X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~48^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1279aed358611da3199f4aa901aa13eee8d82ddd;p=thirdparty%2Fpdns.git Fixed outdated docs, argument list in generic pg/mysqlbackend list-query statement was synced with the code. --- diff --git a/docs/markdown/authoritative/backend-generic-mypgsql.md b/docs/markdown/authoritative/backend-generic-mypgsql.md index be6842f527..03728f2644 100644 --- a/docs/markdown/authoritative/backend-generic-mypgsql.md +++ b/docs/markdown/authoritative/backend-generic-mypgsql.md @@ -125,7 +125,7 @@ For doing ANY queries within a domain. Also used internally. Default: `select co The last query is for listing the entire contents of a zone. This is needed when performing a zone transfer, but sometimes also internally: ### list-query -To list an entire zone. Default: `select content,ttl,prio,type,domain_id,name from records where domain_id=%d` +To list an entire zone. Default: `select content,ttl,prio,type,domain_id,name from records where (disabled=0 OR %d) AND domain_id=%d` The first %d is replaced by the "include disabled" flag (default 0), the second %d is replaced by the domain_id. ## DNSSEC queries If DNSSEC is enabled (through the `-dnssec` flag on a gsql backend), many queries are replaced by slightly extended variants that also query the auth column. The auth column is always added as the rightmost column. These are the -auth defaults: