Test deprecate source port configuration

Add 'port' token to deprecated.conf. Also add options
'use-v4-udp-ports', 'use-v6-udp-ports', 'avoid-v4-udp-ports',
and 'avoid-v6-udp-ports'.

All of these should trigger warnings (except when deprecation warnings
are being ignored).
This commit is contained in:
Matthijs Mekking
2023-01-11 11:10:05 +01:00
committed by Evan Hunt
parent 470ccbc8ed
commit 531914e660
2 changed files with 14 additions and 0 deletions

View File

@@ -11,9 +11,18 @@
* information regarding copyright ownership.
*/
server 1.2.3.4 {
query-source 10.10.10.10 port 5353;
};
options {
dnssec-validation yes;
max-zone-ttl 600;
use-v4-udp-ports { range 1024 65535; };
use-v6-udp-ports { range 1024 65535; };
avoid-v4-udp-ports { range 1 1023; };
avoid-v6-udp-ports { range 1 1023; };
};
trusted-keys {