summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-07-04 20:06:25 +0300
committerGitHub <noreply@github.com>2022-07-04 20:06:25 +0300
commit7a09c9d4b3d74fd0c953f9f097ffecf4af8683d3 (patch)
tree296c4f530072425426bf558258a2e38720fb7b14 /src/conf_mode
parent9400266d8a89427698b43a9470bb172ecae23fe9 (diff)
parent9cda38bbc7ef5debbbdfba267a430d621e6da3d0 (diff)
downloadvyos-1x-7a09c9d4b3d74fd0c953f9f097ffecf4af8683d3.tar.gz
vyos-1x-7a09c9d4b3d74fd0c953f9f097ffecf4af8683d3.zip
Merge pull request #1382 from sever-sever/T4378
dns: T4378: Allow wildcard A AAAA record with option all
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/dns_forwarding.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py
index f1c2d1f43..41023c135 100755
--- a/src/conf_mode/dns_forwarding.py
+++ b/src/conf_mode/dns_forwarding.py
@@ -98,6 +98,9 @@ def get_config(config=None):
dns['authoritative_zone_errors'].append('{}.{}: at least one address is required'.format(subnode, node))
continue
+ if subnode == 'any':
+ subnode = '*'
+
for address in rdata['address']:
zone['records'].append({
'name': subnode,