mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-25 18:51:34 -05:00
Comment out docker only unbound config
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
8d775f476f
commit
9fafe1704b
@ -121,6 +121,11 @@ fi
|
|||||||
# Setup unbound
|
# Setup unbound
|
||||||
sudo dnf install unbound -y
|
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
|
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 chmod 644 /etc/unbound/unbound.conf
|
||||||
sudo mkdir /etc/systemd/system/unbound.service.d
|
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
|
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
|
||||||
|
@ -128,10 +128,11 @@ echo 'server:
|
|||||||
prefetch: yes
|
prefetch: yes
|
||||||
prefetch-key: yes
|
prefetch-key: yes
|
||||||
|
|
||||||
ip-transparent: yes
|
# ip-transparent: yes
|
||||||
interface: 127.0.0.1
|
# interface: 127.0.0.1
|
||||||
interface: 242.242.0.1
|
# interface: ::1
|
||||||
access-control: 242.242.0.0/16 allow
|
# interface: 242.242.0.1
|
||||||
|
# access-control: 242.242.0.0/16 allow
|
||||||
|
|
||||||
forward-zone:
|
forward-zone:
|
||||||
name: "."
|
name: "."
|
||||||
|
@ -164,10 +164,11 @@ echo 'server:
|
|||||||
prefetch: yes
|
prefetch: yes
|
||||||
prefetch-key: yes
|
prefetch-key: yes
|
||||||
|
|
||||||
ip-transparent: yes
|
# ip-transparent: yes
|
||||||
interface: 127.0.0.1
|
# interface: 127.0.0.1
|
||||||
interface: 242.242.0.1
|
# interface: ::1
|
||||||
access-control: 242.242.0.0/16 allow
|
# interface: 242.242.0.1
|
||||||
|
# access-control: 242.242.0.0/16 allow
|
||||||
|
|
||||||
forward-zone:
|
forward-zone:
|
||||||
name: "."
|
name: "."
|
||||||
|
Loading…
Reference in New Issue
Block a user