From 9272943f7394a4909ad492c29f650dd61b9696dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Ferech?= Date: Mon, 31 Jul 2023 14:22:05 +0200 Subject: [PATCH] Add docs for regex domain filter --- docs/tutorials/pdns.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tutorials/pdns.md b/docs/tutorials/pdns.md index 90efd6f04a..28d8bbe92d 100644 --- a/docs/tutorials/pdns.md +++ b/docs/tutorials/pdns.md @@ -63,6 +63,9 @@ eg. ```--domain-filter=.example.org``` will allow *only* zones that end in `.exa The filter can also match parent zones. For example `--domain-filter=a.example.com` will allow for zone `example.com`. If you want to match parent zones, you cannot pre-pend your filter with a ".", eg. `--domain-filter=.example.com` will not attempt to match parent zones. +### Regex Domain Filter (`--regex-domain-filter`) +`--regex-domain-filter` limits possible domains and target zone with a regex. It overrides domain filters and can be specified only once. + ## RBAC If your cluster is RBAC enabled, you also need to setup the following, before you can run external-dns: @@ -169,4 +172,3 @@ Once the API shows the record correctly, you can double check your record using: ```bash $ dig @${PDNS_FQDN} echo.example.com. ``` -