From: Mark McKinstry Date: Mon, 4 Apr 2016 18:36:55 +0000 (-0400) Subject: make documentation align with code X-Git-Tag: dnsdist-1.0.0-beta1~44^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15f87a45fc02598c7387be851bfbd81fd8c6e6e4;p=pdns make documentation align with code The documentation says 'locations' is disabled by default but the [code enables it by default](https://github.com/PowerDNS/pdns/blob/bb310f41bef9bbbfab2337c15e5ea280322acbae/modules/tinydnsbackend/tinydnsbackend.cc#L314) The 'locations' option in tinydns does split horizon. If someone has location records, they probably want them to be used by default and not have all records returned. --- diff --git a/docs/markdown/authoritative/backend-tinydns.md b/docs/markdown/authoritative/backend-tinydns.md index d9c493ec5..00b50af09 100644 --- a/docs/markdown/authoritative/backend-tinydns.md +++ b/docs/markdown/authoritative/backend-tinydns.md @@ -38,7 +38,7 @@ The `tinydns-data` program can create data.cdb files that have bad/corrupt RDATA ### `tinydns-locations` * Boolean -* Default: no +* Default: yes Enable or Disable location support in the backend. Changing the value to 'no' will make the backend ignore the locations. This then returns all records. When the setting is changed to 'no' an AXFR will also return all the records. With the setting on 'yes' an AXFR will only return records without a location. ## Location and Timestamp support