Adds key into local storage. See [`getDomainKeys`](#getdomainkeys) for more information.
* Mandatory: No
-* Parameters: name, key=`<flags,active,content>`
+* Parameters: name, key=`<flags,active,content>`
* Reply: true for success, false for failure
#### Example JSON/RPC
- [commit 42025be](https://github.com/PowerDNS/pdns/commit/42025be): PowerDNS now polls the security status of a release at startup and periodically. More detail on this feature, and how to turn it off, can be found in [Security polling](common/security.md#security-polling).
- [commit 5027429](https://github.com/PowerDNS/pdns/commit/5027429): We did not transmit the right 'local' socket address to Lua for TCP/IP queries in the recursor. In addition, we would attempt to lookup a filedescriptor that wasn't there in an unlocked map which could conceivably lead to crashes. Closes [ticket 1828](https://github.com/PowerDNS/pdns/issues/1828), thanks Winfried for reporting
- [commit 752756c](https://github.com/PowerDNS/pdns/commit/752756c): Sync embedded yahttp copy. API: Replace HTTP Basic auth with static key in custom header
-- [commit 6fdd40d](https://github.com/PowerDNS/pdns/commit/6fdd40d): add missing \#include \<pthread.h\> to rec-channel.hh (this fixes building on OS X).
+- [commit 6fdd40d](https://github.com/PowerDNS/pdns/commit/6fdd40d): add missing `#include <pthread.h>` to rec-channel.hh (this fixes building on OS X).
# PowerDNS Authoritative Server 3.4.1
## Via init.d commands
As mentioned before, the init.d commands **dump**, **show** and **mrtg** fetch data from a running PDNS process. Especially **mrtg** is powerful - it outputs data in a format that is ready for processing by the MRTG graphing tool.
-MRTG can make insightful graphics on the performance of your nameserver, enabling the operator to easily spot trends. MRTG can be found on <http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html>
+MRTG can make insightful graphics on the performance of your nameserver, enabling the operator to easily spot trends. MRTG can be found on the (MRTG website)[http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html]
A sample mrtg.conf:
A switch can be set to on simply by passing it, like '--daemon', and turned off explicitly by '--daemon=off' or '--daemon=no'.
All settings can be found [here](settings.md)
-2. pdns\_recursor command line
-
-[Prev](built-in-recursor.html)
-
-Chapter 18. PowerDNS Recursor: a high performance resolving nameserver
-
- [Next](rec-control.html)
-
-* * * * *
-
-2. pdns\_recursor command line
-------------------------------
+# `pdns_recursor` command line
All configuration settings from the previous section can also be passed on the command line, and will override the configuration file. In addition, the following options make sense on the command line:
---config
-Emit a default configuration file.
-
---help
-Output all configuration settings and command line flags.
-
-* * * * *
-
-<table>
-<colgroup>
-<col width="33%" />
-<col width="33%" />
-<col width="33%" />
-</colgroup>
-<tbody>
-<tr class="odd">
-<td align="left"><a href="built-in-recursor.html">Prev</a>
-<a href="built-in-recursor.html">Up</a>
- <a href="rec-control.html">Next</a></td>
-<td align="left">Chapter 18. PowerDNS Recursor: a high performance resolving nameserver
-<a href="index.html">Home</a>
- 3. Controlling and querying the recursor</td>
-</tr>
-</tbody>
-</table>
-
-
+* --config: Emit a default configuration file.
+* --help: Output all configuration settings and command line flags.
}
post() {
- find html-new -type f -name '*.html' -exec sed -i 's/<table>/<table class="table-bordered">/' {} +
+ find html-new -type f -name '*.html' -exec sed -i \
+ -e 's/<table>/<table class="table-bordered">/' \
+ -e 's/\\&\(gt\|lt\)/\&\1/' \
+ {} +
}
$1