diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-28 09:13:33 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2023-08-29 07:05:30 +0000 |
commit | cceea89cdfbd4c4c42611fcf74350ab0b25d7c03 (patch) | |
tree | 204be2d3b4b152cd279f7d958327ae8f407ecc9e /interface-definitions/dns-forwarding.xml.in | |
parent | a5c5998a84917cc45f9fb3234607f53b27a109fc (diff) | |
download | vyos-1x-cceea89cdfbd4c4c42611fcf74350ab0b25d7c03.tar.gz vyos-1x-cceea89cdfbd4c4c42611fcf74350ab0b25d7c03.zip |
T738: add CLI option for PowerDNS local-port
set service dns forwarding allow-from '192.0.2.0/24'
set service dns forwarding listen-address '192.0.2.11'
set service dns forwarding port '5353'
Diffstat (limited to 'interface-definitions/dns-forwarding.xml.in')
-rw-r--r-- | interface-definitions/dns-forwarding.xml.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interface-definitions/dns-forwarding.xml.in b/interface-definitions/dns-forwarding.xml.in index 5a824973a..0d639eaac 100644 --- a/interface-definitions/dns-forwarding.xml.in +++ b/interface-definitions/dns-forwarding.xml.in @@ -147,6 +147,10 @@ </properties> </leafNode> #include <include/listen-address.xml.i> + #include <include/port-number.xml.i> + <leafNode name="port"> + <defaultValue>53</defaultValue> + </leafNode> <leafNode name="negative-ttl"> <properties> <help>Maximum amount of time negative entries are cached (default: 3600)</help> |