1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-09-16 12:14:42 -04:00

Comment out docker only unbound config

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-24 18:22:42 -07:00
parent 8d775f476f
commit 9fafe1704b
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
3 changed files with 15 additions and 8 deletions

View File

@ -121,6 +121,11 @@ fi
# Setup unbound
sudo dnf install unbound -y
unpriv curl https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/unbound/unbound.conf | sudo tee /etc/unbound/unbound.conf
sudo sed -i 's; ip-transparent: yes;# ip-transparent: yes;g' /etc/unbound/unbound.conf
sudo sed -i 's; interface: 127.0.0.1;# interface: 127.0.0.1;g' /etc/unbound/unbound.conf
sudo sed -i 's; interface: ::1;# interface: ::1;g' /etc/unbound/unbound.conf
sudo sed -i 's; interface: 242.242.0.1;# interface: 242.242.0.1;g' /etc/unbound/unbound.conf
sudo sed -i 's; access-control: 242.242.0.0/16 allow;# access-control: 242.242.0.0/16 allow;g' /etc/unbound/unbound.conf
sudo chmod 644 /etc/unbound/unbound.conf
sudo mkdir /etc/systemd/system/unbound.service.d
unpriv curl https://raw.githubusercontent.com/TommyTran732/Fedora-CoreOS-Ignition/main/etc/systemd/system/unbound.service.d/override.conf | sudo tee /etc/systemd/system/unbound.service.d/override.conf

View File

@ -128,10 +128,11 @@ 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
# ip-transparent: yes
# interface: 127.0.0.1
# interface: ::1
# interface: 242.242.0.1
# access-control: 242.242.0.0/16 allow
forward-zone:
name: "."

View File

@ -164,10 +164,11 @@ 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
# ip-transparent: yes
# interface: 127.0.0.1
# interface: ::1
# interface: 242.242.0.1
# access-control: 242.242.0.0/16 allow
forward-zone:
name: "."