From 133627ace22905af50846fae49fe7c728eeed92e Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Tue, 13 Jul 2021 20:51:58 +0200 Subject: [PATCH] bundles/unbound: prefer ipv4 if using pppoe --- bundles/unbound/files/unbound.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/unbound/files/unbound.conf b/bundles/unbound/files/unbound.conf index 31188c9..d3269dc 100644 --- a/bundles/unbound/files/unbound.conf +++ b/bundles/unbound/files/unbound.conf @@ -23,6 +23,10 @@ server: access-control: ::1 allow % endif +% if node.has_bundle('pppd'): + prefer-ip4: yes +% endif + msg-cache-size: ${cache_size} msg-cache-slabs: ${cache_slabs} rrset-cache-size: ${cache_size}