ISU DNS UNBOUND

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

ISU DNS UNBOUND

Postby antoniusgenta » 13 Feb 2012, 01:01

setelah remove bind dan memulai install unbound muncul error spt ini

Code: Select all

[1329070185] unbound[2451:0] error: bind: address already in use
[1329070185] unbound[2451:0] fatal error: could not open ports


dicek tidak ada error utk unboundnya

Code: Select all

unbound-checkconf: no errors in /etc/unbound/unbound.conf


mungkin teman-teman di FUI ada yg bisa bantu saya utk selesaikan isu ini..terimakasih
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: ISU DNS UNBOUND

Postby yudiarbi » 13 Feb 2012, 02:32

udah di remove full bind nya bro?
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Re: ISU DNS UNBOUND

Postby antoniusgenta » 13 Feb 2012, 15:21

yudiarbi wrote:udah di remove full bind nya bro?


yg pertama saya lakukan remove direktorinya mas..

Code: Select all

rm -rf /etc/bind


dan yang kedua uninstall bind9

Code: Select all

apt-get remove bind9


untuk command full uninstallnya saya belum mengetahui..saya masih belajar mas dan punya kemauan utk bisa OS ubuntu..

Terimakasih mas Yudi yg selalu memberikan responnya&waktunya.

-------------------------------------------
Linux mencerdaskan anak bangsa!!!
-------------------------------------------
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: ISU DNS UNBOUND

Postby yudiarbi » 13 Feb 2012, 17:28

Code: Select all

apt-get autoremove bind
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Re: ISU DNS UNBOUND

Postby antoniusgenta » 14 Feb 2012, 18:43

yudiarbi wrote:

Code: Select all

apt-get autoremove bind


Baik mas saya akan coba command yg diberikan mas yudi malam ini ,,semoga bisa berhasil..nnti saya akan infokan kembali

makasih mas atas respon cepatnya!


-------------------------------
Linux mencerdaskan anak bangsa
-------------------------------
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Re: ISU DNS UNBOUND

Postby antoniusgenta » 15 Feb 2012, 04:18

seep mas sudah berhasil jalan DNS saya...makasih mas atas bantuannya.

setelah semua sukses apa yg mesti aku rubah lagi mas??

-------------------------------
Linux mencerdaskan anak bangsa
-------------------------------
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: ISU DNS UNBOUND

Postby yudiarbi » 15 Feb 2012, 07:29

lah, tujuane kan install dns unbound, ya sudah dirasakan dan dicermati hasile.... :D
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: ISU DNS UNBOUND

Postby MasDjo » 15 Feb 2012, 09:32

Nambahi aja :grin:
Untuk cek 'hasil kerja' unbound, ketik di terminal :

Code: Select all

sudo unbound-control stats
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Re: ISU DNS UNBOUND

Postby antoniusgenta » 15 Feb 2012, 11:44

MasDjo wrote:Nambahi aja :grin:
Untuk cek 'hasil kerja' unbound, ketik di terminal :

Code: Select all

sudo unbound-control stats


ini mas hasilnya baru aku jalankan

unbound-control stats
thread0.num.queries=4
thread0.num.cachehits=2
thread0.num.cachemiss=2
thread0.num.prefetch=0
thread0.num.recursivereplies=2
thread0.requestlist.avg=0
thread0.requestlist.max=0
thread0.requestlist.overwritten=0
thread0.requestlist.exceeded=0
thread0.requestlist.current.all=0
thread0.requestlist.current.user=0
thread0.recursion.time.avg=0.032124
thread0.recursion.time.median=0
total.num.queries=4
total.num.cachehits=2
total.num.cachemiss=2
total.num.prefetch=0
total.num.recursivereplies=2
total.requestlist.avg=0
total.requestlist.max=0
total.requestlist.overwritten=0
total.requestlist.exceeded=0
total.requestlist.current.all=0
total.requestlist.current.user=0
total.recursion.time.avg=0.032124
total.recursion.time.median=0
time.now=1329281560.371100
time.up=639.165615
time.elapsed=139.241824

unbound-control status

Code: Select all

version: 1.4.12
verbosity: 1
threads: 1
modules: 1 [ iterator ]
uptime: 784 seconds
unbound (pid 865) is running...


dig google.com

Code: Select all

; <<>> DiG 9.7.3 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54198
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.             300     IN      A       209.85.175.102
google.com.             300     IN      A       209.85.175.113
google.com.             300     IN      A       209.85.175.138
google.com.             300     IN      A       209.85.175.139
google.com.             300     IN      A       209.85.175.100
google.com.             300     IN      A       209.85.175.101

;; Query time: 75 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Feb 15 04:57:59 2012
;; MSG SIZE  rcvd: 124


gimana dengan hasil yg saya baru jalankan apakah sudah maksimal mohon penilaiannya para mastah..kalo memang kurang perform mohon bantuannya.

saya ucapkan terimakasih telah membantu saya.
User avatar
tr4h21
Posts: 42
Joined: 18 Jul 2011, 16:22
Location: Semampir, Sukolilo, Surabaya, Jawa Timur
Contact:

Re: ISU DNS UNBOUND

Postby tr4h21 » 23 Apr 2012, 13:37

Unbound sukses
http://ubuntu-indonesia.com/forums/ubbthreads.php/ubb/showflat/Number/99706/Searchpage/1/Main/10156/Words/unbound/Search/true/Re_konfigurasi_unbound_untuk_D#Post99706
nomer #95327


kalo d saya juga belum sukses mas bro;
skalian minta wejangan;
saya konek pake modem usb, berikut errornya,.
Error
[spoiler=copas unbound fr mas bro yudiarbi]
server:
verbosity: 1
statistics-interval: 120
num-threads: 2
# interfaces: 192.168.10.0 # sesuaikan ip lan/eth1, untk ethyg lain tinggal ditambahkan di bawah sebelum 127.0.0.1
interface: 127.0.0.1

#untuk dual core dan lainya rumusnya 1024/cores - 50
outgoing-range: 512
num-queries-per-thread: 1024
so-rcvbuf: 4m

#gunakan 1/10 dari memory misal memory 512 mb
msg-cache-size: 50m
rrset-cache-size: 100m

msg-cache-slabs: 4
rrset-cache-slabs: 4
infra-cache-slabs: 4
key-cache-slabs: 4

cache-max-ttl: 86400
infra-host-ttl: 900
infra-lame-ttl: 900

infra-cache-numhosts: 10000
infra-cache-lame-size: 10k
key-cache-size: 4m

do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
do-daemonize: yes

chroot: "/etc/unbound"
username: "unbound"
directory: "/etc/unbound"
#logfile: "/etc/unbound/unbound.log"
#use-syslog: yes
logfile: ""
use-syslog: no
#pidfile: "/etc/unbound/unbound.pid"
root-hints: "/etc/unbound/named.cache"

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"

forward-zone:
name: "."
forward-addr: 112.215.36.204
forward-addr: 112.215.36.205
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: "/etc/unbound/unbound_server.key"
server-cert-file: "/etc/unbound/unbound_server.pem"
control-key-file: "/etc/unbound/unbound_control.key"
control-cert-file: "/etc/unbound/unbound_control.pem"

Code: Select all

~$ sudo unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf
~$ sudo service unbound restart
* Restarting recursive DNS server unbound
[1335159489] unbound[5404:0] warning: increased limit(open files) from 1024 to 1098
[ OK ]

jika saya cek

Code: Select all

~$ sudo unbound-control stats

semua nilainya 0 (nol), kecuali

Code: Select all

time.now=1335161175.845112
time.up=1638.633344
time.elapsed=728.182980

[/spoiler]
mohon pencerahannya mas bro,.
terima kasih banyak sebelumnya,.
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Re: ISU DNS UNBOUND

Postby antoniusgenta » 24 Apr 2012, 23:28

antoniusgenta wrote:
tr4h21 wrote:
Unbound sukses
http://ubuntu-indonesia.com/forums/ubbthreads.php/ubb/showflat/Number/99706/Searchpage/1/Main/10156/Words/unbound/Search/true/Re_konfigurasi_unbound_untuk_D#Post99706
nomer #95327


kalo d saya juga belum sukses mas bro;
skalian minta wejangan;
saya konek pake modem usb, berikut errornya,.
Error
[spoiler=copas unbound fr mas bro yudiarbi]
server:
verbosity: 1
statistics-interval: 120
num-threads: 2
# interfaces: 192.168.10.0 # sesuaikan ip lan/eth1, untk ethyg lain tinggal ditambahkan di bawah sebelum 127.0.0.1
interface: 127.0.0.1

#untuk dual core dan lainya rumusnya 1024/cores - 50
outgoing-range: 512
num-queries-per-thread: 1024
so-rcvbuf: 4m

#gunakan 1/10 dari memory misal memory 512 mb
msg-cache-size: 50m
rrset-cache-size: 100m

msg-cache-slabs: 4
rrset-cache-slabs: 4
infra-cache-slabs: 4
key-cache-slabs: 4

cache-max-ttl: 86400
infra-host-ttl: 900
infra-lame-ttl: 900

infra-cache-numhosts: 10000
infra-cache-lame-size: 10k
key-cache-size: 4m

do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
do-daemonize: yes

chroot: "/etc/unbound"
username: "unbound"
directory: "/etc/unbound"
#logfile: "/etc/unbound/unbound.log"
#use-syslog: yes
logfile: ""
use-syslog: no
#pidfile: "/etc/unbound/unbound.pid"
root-hints: "/etc/unbound/named.cache"

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"

forward-zone:
name: "."
forward-addr: 112.215.36.204
forward-addr: 112.215.36.205
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: "/etc/unbound/unbound_server.key"
server-cert-file: "/etc/unbound/unbound_server.pem"
control-key-file: "/etc/unbound/unbound_control.key"
control-cert-file: "/etc/unbound/unbound_control.pem"

Code: Select all

~$ sudo unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf
~$ sudo service unbound restart
* Restarting recursive DNS server unbound
[1335159489] unbound[5404:0] warning: increased limit(open files) from 1024 to 1098
[ OK ]

jika saya cek

Code: Select all

~$ sudo unbound-control stats

semua nilainya 0 (nol), kecuali

Code: Select all

time.now=1335161175.845112
time.up=1638.633344
time.elapsed=728.182980

[/spoiler]
mohon pencerahannya mas bro,.
terima kasih banyak sebelumnya,.


Tampilkan
~$ sudo unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf


yang diatas itu sudah menunjukan unbound anda tidak ada error

coba dicek pake dig google.com

lalu cek unbound-control stats
User avatar
antoniusgenta
Posts: 103
Joined: 29 Dec 2011, 14:40
Location: jakarta

Re: ISU DNS UNBOUND

Postby antoniusgenta » 24 Apr 2012, 23:58

antoniusgenta wrote:
antoniusgenta wrote:
tr4h21 wrote:
Unbound sukses
http://ubuntu-indonesia.com/forums/ubbthreads.php/ubb/showflat/Number/99706/Searchpage/1/Main/10156/Words/unbound/Search/true/Re_konfigurasi_unbound_untuk_D#Post99706
nomer #95327


kalo d saya juga belum sukses mas bro;
skalian minta wejangan;
saya konek pake modem usb, berikut errornya,.
Error
[spoiler=copas unbound fr mas bro yudiarbi]
server:
verbosity: 1
statistics-interval: 120
num-threads: 2
# interfaces: 192.168.10.0 # sesuaikan ip lan/eth1, untk ethyg lain tinggal ditambahkan di bawah sebelum 127.0.0.1
interface: 127.0.0.1

#untuk dual core dan lainya rumusnya 1024/cores - 50
outgoing-range: 512
num-queries-per-thread: 1024
so-rcvbuf: 4m

#gunakan 1/10 dari memory misal memory 512 mb
msg-cache-size: 50m
rrset-cache-size: 100m

msg-cache-slabs: 4
rrset-cache-slabs: 4
infra-cache-slabs: 4
key-cache-slabs: 4

cache-max-ttl: 86400
infra-host-ttl: 900
infra-lame-ttl: 900

infra-cache-numhosts: 10000
infra-cache-lame-size: 10k
key-cache-size: 4m

do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
do-daemonize: yes

chroot: "/etc/unbound"
username: "unbound"
directory: "/etc/unbound"
#logfile: "/etc/unbound/unbound.log"
#use-syslog: yes
logfile: ""
use-syslog: no
#pidfile: "/etc/unbound/unbound.pid"
root-hints: "/etc/unbound/named.cache"

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"

forward-zone:
name: "."
forward-addr: 112.215.36.204
forward-addr: 112.215.36.205
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: "/etc/unbound/unbound_server.key"
server-cert-file: "/etc/unbound/unbound_server.pem"
control-key-file: "/etc/unbound/unbound_control.key"
control-cert-file: "/etc/unbound/unbound_control.pem"

Code: Select all

~$ sudo unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf
~$ sudo service unbound restart
* Restarting recursive DNS server unbound
[1335159489] unbound[5404:0] warning: increased limit(open files) from 1024 to 1098
[ OK ]

jika saya cek

Code: Select all

~$ sudo unbound-control stats

semua nilainya 0 (nol), kecuali

Code: Select all

time.now=1335161175.845112
time.up=1638.633344
time.elapsed=728.182980

[/spoiler]
mohon pencerahannya mas bro,.
terima kasih banyak sebelumnya,.


Tampilkan
~$ sudo unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf


yang diatas itu sudah menunjukan unbound anda tidak ada error

coba dicek pake dig google.com

lihat query-nya kalau semakin keci dia sudah berjalan sebagaimana mestinya
proses dig diulang jangan hanya dilakukan sekali saja nnti coba dicroscek apakah ada yang beda?


lalu cek unbound-control stats
User avatar
fikanet
Posts: 5
Joined: 26 Mar 2012, 16:00
Location: Curup-Bengkulu
Contact:

Re: ISU DNS UNBOUND

Postby fikanet » 05 May 2012, 20:09

Mau nanya Om2 master klo error kayak gini kenapa yach om.,., maklum newbee.,.,.,.
root@proxyFikanet:~# unbound-control status
error: SSL handshake failed
root@proxyFikanet:~# unbound-control stats
error: SSL handshake failed
User avatar
fikanet
Posts: 5
Joined: 26 Mar 2012, 16:00
Location: Curup-Bengkulu
Contact:

Re: ISU DNS UNBOUND

Postby fikanet » 05 May 2012, 20:17

aman om udah g error lg.,.,.,.
User avatar
safiq
Posts: 14
Joined: 02 Mar 2012, 08:19
Location: semarang

Re: ISU DNS UNBOUND

Postby safiq » 08 May 2012, 20:05

agan saya mau tanya.
dns saya berjalan tp kenapa tiap service bind dns hasilnya fail?


root@network:/home/safiq# /etc/init.d/bind9 restart
* Stopping domain name service... bind9
rndc: connect failed: 127.0.0.1#953: connection refused
...done.
* Starting domain name service... bind9
...fail!

mohon pencerahannya

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 0 guests