- Download dulu unboundnya di websitenya lsg. sampe saat tulisan ini gw publish versi unbound yang terbaru adalah 1.4.13 dan udah dicompile jadi .exe (tinggal pake). Download unbound latest dimari
- lalu edit file service.conf di C:\Program Files\unbound dengan menggunakan notepad (rekomendasi gw make notepad++)
- ini settingan gw
# Unbound configuration file on windows.
# See example.conf for more settings and syntax
server: auto-trust-anchor-file: "C:\Program Files\Unbound\root.key"
verbosity: 1
statistics-interval: 120
num-threads: 1
interface: 0.0.0.0
outgoing-range: 512
num-queries-per-thread: 1024
msg-cache-size: 16m
rrset-cache-size: 32m
msg-cache-slabs: 4
rrset-cache-slabs: 4
cache-max-ttl: 86400
infra-host-ttl: 60
infra-lame-ttl: 120
infra-cache-numhosts: 10000
infra-cache-lame-size: 10k
do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
do-daemonize: yes
#access-control: 0.0.0.0/0 allow
access-control: 192.168.100.0/27 allow
access-control: 172.16.0.0/12 allow
access-control: 10.0.0.0/8 allow
access-control: 127.0.0.0/8 allow
#access-control: 0.0.0.0/0 refuse
#use-syslog: yes
logfile: ""
use-syslog: no
identity: "DNS"
version: "1.4"
hide-identity: yes
hide-version: yes
harden-glue: yes
do-not-query-address: 127.0.0.1/8
do-not-query-localhost: yes
module-config: "iterator"
#zone localhost
local-zone: "localhost." static
local-data: "localhost. 10800 IN NS localhost."
local-data: "localhost. 10800 IN SOA localhost. nobody.invalid. 1 3600 1200 604800 10800"
local-data: "localhost. 10800 IN A 127.0.0.1"
local-zone: "127.in-addr.arpa." static
local-data: "127.in-addr.arpa. 10800 IN NS localhost."
local-data: "127.in-addr.arpa. 10800 IN SOA localhost. nobody.invalid. 2 3600 1200 604800 10800"
local-data: "1.0.0.127.in-addr.arpa. 10800 IN PTR localhost."
forward-zone:
name: "."
forward-addr: 8.8.8.8
forward-addr: 8.8.4.4
remote-control:
control-enable: yes
control-interface: 127.0.0.1
control-port: 953
server-key-file: "C:\Program Files\Unbound\unbound_server.key"
server-cert-file: "C:\Program Files\Unbound\unbound_server.pem"
control-key-file: "C:\Program Files\Unbound\unbound_control.key"
control-cert-file: "C:\Program Files\Unbound\unbound_control.pem"
4. jalankan deh unboundnya lewat service management windows pasti lsg error
untuk mengatasinya perlu 4 file yang di generate khusus oleh sistem *nix
dibawah ini dah gw sertakan 4 file tersebut beserta isinya
silahkan dibuat sendiri melalui notepad lalu save ke all files
unbound_server.key
-----BEGIN RSA PRIVATE KEY-----
MIIDfAIBAAKBwQDdon3fs4pOZ3DYbaz1ZqeMpGFnSTnQtVojg9OVgqoKtBmh FhSf
xxUlC4wAIMrdyLMcLQupZq/+dPfTEPwhU/4tgbkyROxP4TKlohnWvLh2WWBA+M/i
ckB+e61ZpNkyuvqN4qwJJHK1YGZ3ENE/JjZlQhxx/i1VDU06Tv+fEPyWbr9mzQSD
50F4ahV/1uvVEFXxH23jhWH6rW65WbaV81r8/i7gtG1fRVLHHO70rIUwfPd5s3Zu
W8JOvSi/X+KhNDsCAwEAAQKBwFGJK+GWPXVmnJ8iihSltVIKT0MeL0TW0thp8Pb5
4PCbHSqj4uZ86Qx92P1bEwbQhQQCll21x11HTry5bOgd7E51gNo7fOxOHsHM htD3
EK2JZ92/K0tVWOCvQzDNcpI1MrRudnYJF7GIdXRYjDfH/doJFYi8cw4RI7l9sSyq
FrAlcY1Gz8JbQzmEvG2ydhGZGIWMOHT2bfxMalTZZfV9wJvC18dmQeZDFSv0 qaMv
yxZO1ADi1osk6B6gkJN7aHk+wQJhAPqxfCgRpuEqgSQlBEA0xje8liVI1u5m NDbt
HOvI3gs2JaLVK8Bzs/+SdA7jDgoeSomdye1u6e6acI8NFv/w4rK4tk1RVFB/4CQl
S9hmQS74OcY2ktn7gdDJHij4XXBNkQJhAOJTiZMkXHtg87EwDBsUHtf5GHKd YrDv
J1c/4TBTvgYR6W9x6+fsid/2+bxlCRejNxnm9RdrO6TtOoEoTR38oQE0QORxzPat
4cDpb0D0gQ7wyVdrvIFrBsGampEuNGxvCwJgFMs7/SbZr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9avQDg=
-----END CERTIFICATE-----
MIICIzCCAUwCCQDl52baCpb0cDANBgkqhkiG9w0BAQsFADASMRAwDgYDVQQD Ewd1
bmJvdW5kMB4XDTEwMTAyMjA1MDAzNloXDTMwMDcwOTA1MDAzNlowGjEYMBYG A1UE
AxMPdW5ib3VuZC1jb250cm9sMIHfMA0GCSqGSIb3DQEBAQUAA4HNADCByQKB wQDA
jkn5tcJfRSfvM5M3vwR6E+RK+9/iYblBW9PtzcIh7QL+vpWaIbHa8wd5vsUtbpBz
dLetchFVRjdO5d4BCIHHppX2J+yhyry+f69fmc83lUYwWb45NrPt7ekr12qb WY4i
XMtowe+7/LYqwby0Z3DH07OvL6hdWaPwNdfqL6ztNX8w+cJnyjnWLYYC/osXHv7c
r/jLQCebLjKvJ9kYbiIXpIFFJ2wCdjUUAiP1rfrxFwPKeJoKWa4vHferdXUBZX EC
AwEAATANBgkqhkiG9w0BAQsFAAOBwQCI+zJPiX9PyajVLYVJoVPwF+oq3xOE lhgj
oVNNr9mx5QSPgIuvES14Kw9Bxfof49BdPK7IGMFGMWfkSj/MwGEfcceeklIsct/b
r72mL6//wClTiH2U+PPVah42XUGPawKc7f94NcOowJgyaAidTo1MXm0h/1rba2bv
0VU0/9ICsVV87Q+aIkkRjDNXjySnJaO6ECL4o3qFTO0adwTo72l+AsoWksDJy2PM
ivSmj1mxP1RA/M3lNmFCCqGSR9avQDg=
-----END CERTIFICATE-----
silahkan jadikan satu di folder unbound
bagi yang males ato takut salah dah gw jadikan 1 folder keempat file diatas silahkan download dimari atau dimari, kalo mau link lokal bisa kemari
klo udah silahkan restart unboundnya di service management dengan klik start menu -> run lalu ketik services.msc cari dah unboundnya disana & tinggal klik restart
NOTE :
klo udah silahkan restart unboundnya di service management dengan klik start menu -> run lalu ketik services.msc cari dah unboundnya disana & tinggal klik restart
NOTE :
- DNS diatas blm ditambahkan dengan dns nawala 180.131.144.144; 180.131.145.145, silakan tambahkan sendiri
- jika ingin mengganti DNS maupun menambah silahkan merubah atau menambah di bagian forwarder zone(cek yg gw bold)
- untuk melakukan pengecekan silahkan melakukan dig,klo blm ada dig silahkan liat trik selanjutnya disini.
- bagi pemakai squid silahkan ditambahkan confignya dengan :
dns_nameservers 127.0.0.1