diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-29 10:33:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 10:33:30 +0200 |
commit | c675fbf336365f70a7f783590daf70efca0f4941 (patch) | |
tree | 71acf469350c926780b1377d0dcc21568a290abd /data | |
parent | 454a49dfc1e2c08f72e9f9ae9a4a90818be76ae3 (diff) | |
parent | 2bb5c5d0fd9ed07649b81a61e9c1a78a9f222405 (diff) | |
download | vyos-1x-c675fbf336365f70a7f783590daf70efca0f4941.tar.gz vyos-1x-c675fbf336365f70a7f783590daf70efca0f4941.zip |
Merge pull request #1915 from indrajitr/pdns-port-round2
dns: T5115: Support custom port for name servers for forwarding zones
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/dns-forwarding/recursor.forward-zones.conf.j2 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/data/templates/dns-forwarding/recursor.forward-zones.conf.j2 b/data/templates/dns-forwarding/recursor.forward-zones.conf.j2 index de3269e47..593a98c24 100644 --- a/data/templates/dns-forwarding/recursor.forward-zones.conf.j2 +++ b/data/templates/dns-forwarding/recursor.forward-zones.conf.j2 @@ -23,7 +23,6 @@ {% if forward_zones is vyos_defined %} # zones added via 'service dns forwarding domain' {% for zone, zonedata in forward_zones.items() %} -{{ "+" if zonedata.recursion_desired is vyos_defined }}{{ zone | replace('_', '-') }}={{ zonedata.server | join(', ') }} +{{ "+" if zonedata.recursion_desired is vyos_defined }}{{ zone | replace('_', '-') }}={{ zonedata.name_server | join(', ') }} {% endfor %} {% endif %} - |