Remove intermediate echo
This commit is contained in:
parent
6e21a54081
commit
e5f169ad3b
1 changed files with 4 additions and 5 deletions
|
@ -139,17 +139,16 @@ hide-version: yes
|
||||||
use-caps-for-id: yes
|
use-caps-for-id: yes
|
||||||
harden-glue: yes
|
harden-glue: yes
|
||||||
qname-minimisation: yes
|
qname-minimisation: yes
|
||||||
prefetch: yes' >/etc/unbound/unbound.conf.d/openvpn.conf
|
prefetch: yes
|
||||||
|
|
||||||
# DNS Rebinding fix
|
# DNS Rebinding fix
|
||||||
echo 'private-address: 10.0.0.0/8
|
private-address: 10.0.0.0/8
|
||||||
private-address: 172.16.0.0/12
|
private-address: 172.16.0.0/12
|
||||||
private-address: 192.168.0.0/16
|
private-address: 192.168.0.0/16
|
||||||
private-address: 169.254.0.0/16
|
private-address: 169.254.0.0/16
|
||||||
private-address: fd00::/8
|
private-address: fd00::/8
|
||||||
private-address: fe80::/10
|
private-address: fe80::/10
|
||||||
private-address: 127.0.0.0/8
|
private-address: 127.0.0.0/8
|
||||||
private-address: ::ffff:0:0/96' >>/etc/unbound/unbound.conf.d/openvpn.conf
|
private-address: ::ffff:0:0/96' >/etc/unbound/unbound.conf.d/openvpn.conf
|
||||||
|
|
||||||
# Add as include, if no wildcard include exist
|
# Add as include, if no wildcard include exist
|
||||||
if ! grep -q '/etc/unbound/unbound.conf.d/' /etc/unbound/unbound.conf; then
|
if ! grep -q '/etc/unbound/unbound.conf.d/' /etc/unbound/unbound.conf; then
|
||||||
|
|
Loading…
Reference in a new issue