From a236643969199fe95c20c35700c4df6d9e1ae29e Mon Sep 17 00:00:00 2001 From: Gregor Michels Date: Wed, 8 Mar 2023 00:11:54 +0100 Subject: [PATCH] gw-core01: fix dns issues gigacube could not handle amount of dns queries. * move dns to quad9 and cloudflare * increase size of dns cache * increase amount of concurrent dns queries --- templates/gateways/gw-core01/etc/config/dhcp | 2 ++ templates/gateways/gw-core01/etc/config/network | 3 +++ 2 files changed, 5 insertions(+) diff --git a/templates/gateways/gw-core01/etc/config/dhcp b/templates/gateways/gw-core01/etc/config/dhcp index ae23a32..103d98b 100644 --- a/templates/gateways/gw-core01/etc/config/dhcp +++ b/templates/gateways/gw-core01/etc/config/dhcp @@ -17,6 +17,8 @@ config dnsmasq option nonwildcard '1' option localservice '1' option ednspacket_max '1232' + option dnsforwardmax 300 + option cachesize 900 config dhcp 'mgmt' option interface 'mgmt' diff --git a/templates/gateways/gw-core01/etc/config/network b/templates/gateways/gw-core01/etc/config/network index 997400b..1359ad5 100644 --- a/templates/gateways/gw-core01/etc/config/network +++ b/templates/gateways/gw-core01/etc/config/network @@ -74,6 +74,9 @@ config interface 'clients' config interface 'wan' option device 'switch.3' option proto 'dhcp' + option peerdns '0' + list dns '9.9.9.9' + list dns '1.1.1.1' config interface 'wan6' option device 'switch.3'