From 764ef65e9821f86af761442ba8574ed92b49abe1 Mon Sep 17 00:00:00 2001 From: Stephen Smoogen Date: Wed, 7 Apr 2021 10:24:11 -0400 Subject: [PATCH] Change named settings for tcp connections In order to try and fix the number of TCP connections allowed to get to the dns servers by increasing from the default 100 to 1000. This will hopefully help fix the issue in https://pagure.io/fedora-infrastructure/issue/9850 where the name servers are not able to answer TCP connections after a while. Signed-off-by: Stephen Smoogen --- roles/dns/files/named.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/dns/files/named.conf b/roles/dns/files/named.conf index ffee5d389e..14af8f83b4 100644 --- a/roles/dns/files/named.conf +++ b/roles/dns/files/named.conf @@ -37,9 +37,11 @@ options { pid-file "/var/run/named/named.pid"; statistics-file "/var/log/named.stats"; provide-ixfr no; + tcp-clients 1000; version "cowbell++"; - listen-on port 53 { + + listen-on port 53 { any; }; listen-on-v6 port 53 {