Skip to content

Commit ff14929

Browse files
authored
Update unbound.conf
1 parent fd2ebc7 commit ff14929

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

unbound.conf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ server:
1818
tls-cert-bundle: /etc/ssl/certs/ca-certificates.crt
1919

2020
do-ip6: no
21-
interface: 100.100.100.37
21+
interface: localhost ( Your Server IP)
2222
port: 53
2323
prefetch: yes
2424

@@ -41,13 +41,13 @@ server:
4141
access-control: 50.50.50.0/24 allow
4242
access-control: 192.168.0.0/16 allow
4343
access-control: 172.16.0.0/12 allow
44-
access-control: 103.135.132.0/23 allow
44+
4545

4646

4747
# local zone
48-
local-zone: "sarkernet.lan." static
49-
local-data: "ns.sarkernet.lan. IN A 100.100.100.37"
50-
local-data-ptr: "100.100.100.37 ns.sarkernet.lan"
48+
local-zone: "localhost.lan." static
49+
local-data: "ns.localhost.lan. IN A localhost"
50+
local-data-ptr: "localhost ns.localhost.lan"
5151

5252
num-threads: 4
5353
msg-cache-slabs: 8
@@ -65,6 +65,6 @@ forward-zone:
6565
forward-addr: 9.9.9.9@853#dns.quad9.net
6666
forward-addr: 149.112.112.112@853#dns.quad9.net
6767

68-
# Google
68+
# Google
6969
forward-addr: 8.8.8.8@853
7070
forward-addr: 4.4.4.4@853

0 commit comments

Comments
 (0)