Browse Source

DNS: Incorporate some suggestions

Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
Maximilian Wilhelm 2 years ago
parent
commit
73b9ebdf0a
2 changed files with 8 additions and 1 deletions
  1. 4 0
      dns-server/named.conf.options
  2. 4 1
      dns-server/named.conf.options.recursor

+ 4 - 0
dns-server/named.conf.options

@@ -35,4 +35,8 @@ options {
 		127.0.0.0/8;
 		::1/128;
 	};
+
+	version "Freifunk Hochstift DNS";
+	use-v4-udp-ports { range 1024 65535; };
+	use-v6-udp-ports { range 1024 65535; };
 };

+ 4 - 1
dns-server/named.conf.options.recursor

@@ -27,7 +27,6 @@ options {
 	// this seems to be our only chance for now :-(
 	dnssec-validation no;
 
-
 	auth-nxdomain no;    # conform to RFC1035
 	listen-on-v6 { any; };
 
@@ -43,4 +42,8 @@ options {
 
 	// Disable notifies on non-master DNS
 	notify no;
+
+	version "Freifunk Hochstift DNS";
+	use-v4-udp-ports { range 1024 65535; };
+	use-v6-udp-ports { range 1024 65535; };
 };