From 8d775f476f7b2346148cb8c4b5dbcfcb86361bf6 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 21 Jun 2024 15:20:41 -0700 Subject: [PATCH] Unbound for containers Signed-off-by: Tommy --- RHEL-9.sh | 6 ++++++ Ubuntu-24.04-Server.sh | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/RHEL-9.sh b/RHEL-9.sh index 04cbdee..0a15ba0 100644 --- a/RHEL-9.sh +++ b/RHEL-9.sh @@ -127,6 +127,12 @@ echo 'server: outgoing-port-permit: 1024-65535 prefetch: yes prefetch-key: yes + + ip-transparent: yes + interface: 127.0.0.1 + interface: 242.242.0.1 + access-control: 242.242.0.0/16 allow + forward-zone: name: "." forward-tls-upstream: yes diff --git a/Ubuntu-24.04-Server.sh b/Ubuntu-24.04-Server.sh index bbf2a92..6cd3963 100644 --- a/Ubuntu-24.04-Server.sh +++ b/Ubuntu-24.04-Server.sh @@ -164,6 +164,10 @@ echo 'server: prefetch: yes prefetch-key: yes + ip-transparent: yes + interface: 127.0.0.1 + interface: 242.242.0.1 + access-control: 242.242.0.0/16 allow forward-zone: name: "."