From 30bc1164a99108b19236a9c258df8f4a0b4ec103 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 4 Mar 2020 10:03:37 +0100 Subject: [PATCH] In .rts a \ is \\. Fixes #8858. --- pdns/recursordist/docs/manpages/rec_control.1.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pdns/recursordist/docs/manpages/rec_control.1.rst b/pdns/recursordist/docs/manpages/rec_control.1.rst index 923b096753..b8374a4d4d 100644 --- a/pdns/recursordist/docs/manpages/rec_control.1.rst +++ b/pdns/recursordist/docs/manpages/rec_control.1.rst @@ -301,17 +301,18 @@ trace-regex *REGEX* tracing. To unset the regex, pass **trace-regex** without a new regex. The regular expression is matched against domain queries terminated with a - '.'. For example the regex 'powerdns\.com$' will not match a query for + '.'. For example the regex 'powerdns.com$' will not match a query for 'www.powerdns.com', since the attempted match will be with 'www.powerdns.com.'. In addition, since this is a regular expression, to exclusively match queries for 'www.powerdns.com', one should escape the dots: - '^www\.powerdns\.com\.$'. + '^www\\.powerdns\\.com\\.$'. Note that the single quotes prevent + further interpretation of the backslashes by the shell. Multiple matches can be chained with the '|' operator. For example, to match all queries for Dutch (.nl) and German (.de) domain names, use: - '\.nl\.$|\.de\.$'. + '\\.nl\\.$|\\.de\\.$'. unload-lua-script Unloads Lua script if one was loaded. -- 2.47.2