1
0

modules/nginx-port-forward: Hardcode dns response caching time to 30s

This commit is contained in:
2025-06-02 18:30:35 +02:00
parent 89a96632a2
commit 3b0986cc57

View File

@@ -9,7 +9,7 @@ let
mkServerBlock = isUDP: port: forward: ''
server {
resolver 127.0.0.53 ipv4=off;
resolver 127.0.0.53 ipv4=off valid=30s;
listen ${port}${optionalString isUDP " udp"}${optionalString (forward.certName != null) " ssl"};
listen [::]:${port}${optionalString isUDP " udp"}${optionalString (forward.certName != null) " ssl"};