You are on page 1of 21

rndc: connect failed: 127.0.0.

1#953: connection refused

20-Mar-2012 04:40:46.618 built with '--prefix=/usr' '--mandir=/usr/share/man' '-infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '--enable-threads' '--enablelargefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr' '--with-gssapi=/usr' '-with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '--with-dlzfilesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6' 'CFLAGS=fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS='
20-Mar-2012 04:40:46.618 adjusted limit on open files from 4096 to 1048576
20-Mar-2012 04:40:46.618 found 2 CPUs, using 2 worker threads
20-Mar-2012 04:40:46.618 using up to 4096 sockets
20-Mar-2012 04:40:46.625 loading configuration from '/etc/bind/named.conf'
20-Mar-2012 04:40:46.626 reading built-in trusted keys from file '/etc/bind/bind.keys'
20-Mar-2012 04:40:46.661 using default UDP/IPv4 port range: [1024, 65535]
20-Mar-2012 04:40:46.661 using default UDP/IPv6 port range: [1024, 65535]
20-Mar-2012 04:40:46.664 listening on IPv6 interfaces, port 53
20-Mar-2012 04:40:46.665 listening on IPv4 interface lo, 127.0.0.1#53
20-Mar-2012 04:40:46.666 listening on IPv4 interface eth0, 10.10.10.10#53
20-Mar-2012 04:40:46.667 listening on IPv4 interface eth2, 4.3.2.1#53
20-Mar-2012 04:40:46.669 listening on IPv4 interface virbr0, 192.168.122.1#53
20-Mar-2012 04:40:46.669 binding TCP socket: address in use
20-Mar-2012 04:40:46.670 generating session key for dynamic DNS
20-Mar-2012 04:40:46.682 set up managed keys zone for view _default, file 'managed-keys.bind'
20-Mar-2012 04:40:46.682 automatic empty zone: 254.169.IN-ADDR.ARPA
20-Mar-2012 04:40:46.682 automatic empty zone: 2.0.192.IN-ADDR.ARPA
20-Mar-2012 04:40:46.682 automatic empty zone: 100.51.198.IN-ADDR.ARPA
20-Mar-2012 04:40:46.682 automatic empty zone: 113.0.203.IN-ADDR.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone:
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA

20-Mar-2012 04:40:46.683 automatic empty zone:


1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: D.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 8.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 9.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: A.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: B.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA
20-Mar-2012 04:40:46.684 none:0: open: /etc/bind/rndc.key: permission denied
20-Mar-2012 04:40:46.684 couldn't add command channel 127.0.0.1#953: permission denied
20-Mar-2012 04:40:46.684 none:0: open: /etc/bind/rndc.key: permission denied
20-Mar-2012 04:40:46.684 couldn't add command channel ::1#953: permission denied
20-Mar-2012 04:40:46.684 ignoring config file logging statement due to -g option
20-Mar-2012 04:40:46.686 zone 0.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.686 zone 10.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.687 zone 127.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.687 zone 16.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 17.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 18.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 19.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 20.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.689 zone 21.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.689 zone 22.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.689 zone 23.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.690 zone 24.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.690 zone 25.172.in-addr.arpa/IN: loaded serial 1

20-Mar-2012 04:40:46.690 zone 26.172.in-addr.arpa/IN: loaded serial 1


20-Mar-2012 04:40:46.691 zone 27.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 28.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 29.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 30.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.692 zone 31.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.692 zone 168.192.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.693 zone 255.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.694 zone 2.3.4.in-addr.arpa/IN: loaded serial 20120319
20-Mar-2012 04:40:46.695 zone smkn2bawang.edu/IN: loaded serial 20120319
20-Mar-2012 04:40:46.695 zone localhost/IN: loaded serial 2
20-Mar-2012 04:40:46.710 managed-keys-zone ./IN: loading from master file managed-keys.bind failed:
file not found
20-Mar-2012 04:40:46.710 managed-keys-zone ./IN: loaded serial 0
20-Mar-2012 04:40:46.711 running
20-Mar-2012 04:40:46.711 zone 2.3.4.in-addr.arpa/IN: sending notifies (serial 20120319)
^[[A^[[A^[[A^[[A^C20-Mar-2012 04:40:53.890 shutting down
20-Mar-2012 04:40:53.891 no longer listening on ::#53
20-Mar-2012 04:40:53.891 no longer listening on 127.0.0.1#53
20-Mar-2012 04:40:53.891 no longer listening on 10.10.10.10#53
20-Mar-2012 04:40:53.891 no longer listening on 4.3.2.1#53
20-Mar-2012 04:40:53.891 no longer listening on 192.168.122.1#53
20-Mar-2012 04:40:53.895 exiting
root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart
* Stopping domain name service... bind9
failed: 127.0.0.1#953: connection refused

rndc: connect

[ OK ]
* Starting domain name service... bind9

[ OK ]

root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart


* Stopping domain name service... bind9
* Starting domain name service... bind9

[ OK ]
[ OK ]

root@smkn2bawang:/etc/bind# nano named.conf.local


root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart
* Stopping domain name service... bind9
* Starting domain name service... bind9
root@smkn2bawang:/etc/bind# dig localhost

; <<>> DiG 9.7.3 <<>> localhost


;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25705
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost.

IN

;; Query time: 23 msec


;; SERVER: 10.10.10.1#53(10.10.10.1)
;; WHEN: Tue Mar 20 04:42:41 2012
;; MSG SIZE rcvd: 27

[ OK ]
[ OK ]

root@smkn2bawang:/etc/bind# nslookup
> any
^C
root@smkn2bawang:/etc/bind# nslookup
> smkn2bawang.edu
Server:
Address:

10.10.10.1
10.10.10.1#53

** server can't find smkn2bawang.edu: NXDOMAIN


> dig 10.10.10.10
Server:
Address:

10.10.10.1
10.10.10.1#53

** server can't find dig: NXDOMAIN


> ^Croot@smkn2bawang:/etc/bind# dig 4.3.2.1

; <<>> DiG 9.7.3 <<>> 4.3.2.1


;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52615
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;4.3.2.1.

IN

;; Query time: 88 msec


;; SERVER: 10.10.10.1#53(10.10.10.1)
;; WHEN: Tue Mar 20 04:43:29 2012
;; MSG SIZE rcvd: 25

root@smkn2bawang:/etc/bind# dig google.com

; <<>> DiG 9.7.3 <<>> google.com


;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62683
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.

IN

;; ANSWER SECTION:
google.com.

253

IN

74.125.236.32

google.com.

253

IN

74.125.236.35

google.com.

253

IN

74.125.236.40

google.com.

253

IN

74.125.236.37

google.com.

253

IN

74.125.236.36

google.com.

253

IN

74.125.236.46

google.com.

253

IN

74.125.236.33

google.com.

253

IN

74.125.236.38

google.com.

253

IN

74.125.236.39

google.com.

253

IN

74.125.236.34

google.com.

253

IN

74.125.236.41

;; Query time: 66 msec


;; SERVER: 10.10.10.1#53(10.10.10.1)
;; WHEN: Tue Mar 20 04:43:44 2012
;; MSG SIZE rcvd: 204

root@smkn2bawang:/etc/bind# apt-get install dnsutils


Sedang membaca daftar paket... Selesai
Membangun pohon ketergantungan
Membaca informasi yang tersedia... Selesai
Paket tambahan berikut akan diinstal:
bind9 bind9-host bind9utils libbind9-60 libdns69 libisc62 libisccc60 libisccfg62 liblwres60
Paket yang diusulkan:
resolvconf rblcheck
Paket berikut akan dimutakhirkan:
bind9 bind9-host bind9utils dnsutils libbind9-60 libdns69 libisc62 libisccc60 libisccfg62 liblwres60
10 dimutakhirkan, 0 baru terinstal, 0 akan dihapus dan 133 tidak akan dimutakhirkan.
Perlu mendapatkan 1.579 kB dari arsip.
Setelah operasi ini, 0 B ruang kosong harddisk akan digunakan.
Anda ingin melanjutkan [Y/t]? y
Menerima:1 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main dnsutils i386 1:9.7.3.dfsg1ubuntu4.1 [142 kB]

Menerima:2 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9-host i386 1:9.7.3.dfsg1ubuntu4.1 [53,9 kB]


Menerima:3 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9 i386 1:9.7.3.dfsg1ubuntu4.1 [327 kB]
Menerima:4 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisc62 i386 1:9.7.3.dfsg1ubuntu4.1 [160 kB]
Menerima:5 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisccc60 i386 1:9.7.3.dfsg1ubuntu4.1 [18,0 kB]
Menerima:6 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisccfg62 i386 1:9.7.3.dfsg1ubuntu4.1 [38,8 kB]
Menerima:7 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main liblwres60 i386 1:9.7.3.dfsg1ubuntu4.1 [38,6 kB]
Menerima:8 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9utils i386 1:9.7.3.dfsg1ubuntu4.1 [102 kB]
Menerima:9 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libdns69 i386 1:9.7.3.dfsg1ubuntu4.1 [676 kB]
Menerima:10 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libbind9-60 i386 1:9.7.3.dfsg1ubuntu4.1 [23,0 kB]
Mengambil 1.579 kB dalam waktu 1menit 52detik (14,0 kB/s)
Prakonfigurasi paket ...
(Sedang membaca basis data ... 63611 berkas atau direktori telah terpasang.)
Bersiap-siap mengganti dnsutils 1:9.7.3.dfsg-1ubuntu4 (dengan .../dnsutils_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti dnsutils ...
Bersiap-siap mengganti bind9-host 1:9.7.3.dfsg-1ubuntu4 (dengan .../bind9-host_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti bind9-host ...
Bersiap-siap mengganti bind9 1:9.7.3.dfsg-1ubuntu4 (dengan .../bind9_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti bind9 ...

Bersiap-siap mengganti libisc62 1:9.7.3.dfsg-1ubuntu4 (dengan .../libisc62_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...


Sedang membuka pengganti libisc62 ...
Bersiap-siap mengganti libisccc60 1:9.7.3.dfsg-1ubuntu4 (dengan .../libisccc60_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libisccc60 ...
Bersiap-siap mengganti libisccfg62 1:9.7.3.dfsg-1ubuntu4 (dengan .../libisccfg62_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libisccfg62 ...
Bersiap-siap mengganti liblwres60 1:9.7.3.dfsg-1ubuntu4 (dengan .../liblwres60_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti liblwres60 ...
Bersiap-siap mengganti bind9utils 1:9.7.3.dfsg-1ubuntu4 (dengan .../bind9utils_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti bind9utils ...
Bersiap-siap mengganti libdns69 1:9.7.3.dfsg-1ubuntu4 (dengan .../libdns69_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libdns69 ...
Bersiap-siap mengganti libbind9-60 1:9.7.3.dfsg-1ubuntu4 (dengan .../libbind9-60_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libbind9-60 ...
Sedang memproses pemicu untuk man-db ...
Sedang memproses pemicu untuk ufw ...
Sedang memproses pemicu untuk ureadahead ...
Sedang menata libisc62 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libdns69 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libisccc60 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libisccfg62 (1:9.7.3.dfsg-1ubuntu4.1) ...

Sedang menata libbind9-60 (1:9.7.3.dfsg-1ubuntu4.1) ...


Sedang menata liblwres60 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata bind9-host (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata dnsutils (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata bind9utils (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata bind9 (1:9.7.3.dfsg-1ubuntu4.1) ...
* Stopping domain name service... bind9

[ OK ]

* Starting domain name service... bind9

[ OK ]

Sedang memproses pemicu untuk libc-bin ...


ldconfig deferred processing now taking place
root@smkn2bawang:/etc/bind# ls
bind.keys db.255 db.local
db.0
db.127

db.4

db.root

named.conf

named.conf.options smkn2bawang.edu-ea.db

named.conf.default-zones rndc.key

db.empty db.smkn2bawang.edu named.conf.local

zones.rfc1918

smkn2bawang.edu

root@smkn2bawang:/etc/bind# nano /etc/resolv.conf


root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart
* Stopping domain name service... bind9
* Starting domain name service... bind9

[ OK ]
[ OK ]

root@smkn2bawang:/etc/bind#20-Mar-2012 04:40:46.618 built with '--prefix=/usr' '-mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind' '--localstatedir=/var' '-enable-threads' '--enable-largefile' '--with-libtool' '--enable-shared' '--enable-static' '--with-openssl=/usr'
'--with-gssapi=/usr' '--with-gnu-ld' '--with-dlz-postgres=no' '--with-dlz-mysql=no' '--with-dlz-bdb=yes' '-with-dlz-filesystem=yes' '--with-dlz-ldap=yes' '--with-dlz-stub=yes' '--with-geoip=/usr' '--enable-ipv6'
'CFLAGS=-fno-strict-aliasing -DDIG_SIGCHASE -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS='
20-Mar-2012 04:40:46.618 adjusted limit on open files from 4096 to 1048576
20-Mar-2012 04:40:46.618 found 2 CPUs, using 2 worker threads
20-Mar-2012 04:40:46.618 using up to 4096 sockets

20-Mar-2012 04:40:46.625 loading configuration from '/etc/bind/named.conf'


20-Mar-2012 04:40:46.626 reading built-in trusted keys from file '/etc/bind/bind.keys'
20-Mar-2012 04:40:46.661 using default UDP/IPv4 port range: [1024, 65535]
20-Mar-2012 04:40:46.661 using default UDP/IPv6 port range: [1024, 65535]
20-Mar-2012 04:40:46.664 listening on IPv6 interfaces, port 53
20-Mar-2012 04:40:46.665 listening on IPv4 interface lo, 127.0.0.1#53
20-Mar-2012 04:40:46.666 listening on IPv4 interface eth0, 10.10.10.10#53
20-Mar-2012 04:40:46.667 listening on IPv4 interface eth2, 4.3.2.1#53
20-Mar-2012 04:40:46.669 listening on IPv4 interface virbr0, 192.168.122.1#53
20-Mar-2012 04:40:46.669 binding TCP socket: address in use
20-Mar-2012 04:40:46.670 generating session key for dynamic DNS
20-Mar-2012 04:40:46.682 set up managed keys zone for view _default, file 'managed-keys.bind'
20-Mar-2012 04:40:46.682 automatic empty zone: 254.169.IN-ADDR.ARPA
20-Mar-2012 04:40:46.682 automatic empty zone: 2.0.192.IN-ADDR.ARPA
20-Mar-2012 04:40:46.682 automatic empty zone: 100.51.198.IN-ADDR.ARPA
20-Mar-2012 04:40:46.682 automatic empty zone: 113.0.203.IN-ADDR.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 255.255.255.255.IN-ADDR.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone:
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone:
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: D.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 8.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: 9.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: A.E.F.IP6.ARPA
20-Mar-2012 04:40:46.683 automatic empty zone: B.E.F.IP6.ARPA

20-Mar-2012 04:40:46.683 automatic empty zone: 8.B.D.0.1.0.0.2.IP6.ARPA


20-Mar-2012 04:40:46.684 none:0: open: /etc/bind/rndc.key: permission denied
20-Mar-2012 04:40:46.684 couldn't add command channel 127.0.0.1#953: permission denied
20-Mar-2012 04:40:46.684 none:0: open: /etc/bind/rndc.key: permission denied
20-Mar-2012 04:40:46.684 couldn't add command channel ::1#953: permission denied
20-Mar-2012 04:40:46.684 ignoring config file logging statement due to -g option
20-Mar-2012 04:40:46.686 zone 0.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.686 zone 10.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.687 zone 127.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.687 zone 16.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 17.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 18.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 19.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.688 zone 20.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.689 zone 21.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.689 zone 22.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.689 zone 23.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.690 zone 24.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.690 zone 25.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.690 zone 26.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 27.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 28.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 29.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.691 zone 30.172.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.692 zone 31.172.in-addr.arpa/IN: loaded serial 1

20-Mar-2012 04:40:46.692 zone 168.192.in-addr.arpa/IN: loaded serial 1


20-Mar-2012 04:40:46.693 zone 255.in-addr.arpa/IN: loaded serial 1
20-Mar-2012 04:40:46.694 zone 2.3.4.in-addr.arpa/IN: loaded serial 20120319
20-Mar-2012 04:40:46.695 zone smkn2bawang.edu/IN: loaded serial 20120319
20-Mar-2012 04:40:46.695 zone localhost/IN: loaded serial 2
20-Mar-2012 04:40:46.710 managed-keys-zone ./IN: loading from master file managed-keys.bind failed:
file not found
20-Mar-2012 04:40:46.710 managed-keys-zone ./IN: loaded serial 0
20-Mar-2012 04:40:46.711 running
20-Mar-2012 04:40:46.711 zone 2.3.4.in-addr.arpa/IN: sending notifies (serial 20120319)
^[[A^[[A^[[A^[[A^C20-Mar-2012 04:40:53.890 shutting down
20-Mar-2012 04:40:53.891 no longer listening on ::#53
20-Mar-2012 04:40:53.891 no longer listening on 127.0.0.1#53
20-Mar-2012 04:40:53.891 no longer listening on 10.10.10.10#53
20-Mar-2012 04:40:53.891 no longer listening on 4.3.2.1#53
20-Mar-2012 04:40:53.891 no longer listening on 192.168.122.1#53
20-Mar-2012 04:40:53.895 exiting
root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart
* Stopping domain name service... bind9
failed: 127.0.0.1#953: connection refused

rndc: connect

[ OK ]
* Starting domain name service... bind9

[ OK ]

root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart


* Stopping domain name service... bind9
* Starting domain name service... bind9
root@smkn2bawang:/etc/bind# nano named.conf.local

[ OK ]
[ OK ]

root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart


* Stopping domain name service... bind9
* Starting domain name service... bind9
root@smkn2bawang:/etc/bind# dig localhost

; <<>> DiG 9.7.3 <<>> localhost


;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 25705
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;localhost.

IN

;; Query time: 23 msec


;; SERVER: 10.10.10.1#53(10.10.10.1)
;; WHEN: Tue Mar 20 04:42:41 2012
;; MSG SIZE rcvd: 27

root@smkn2bawang:/etc/bind# nslookup
> any
^C
root@smkn2bawang:/etc/bind# nslookup
> smkn2bawang.edu
Server:

10.10.10.1

[ OK ]
[ OK ]

Address:

10.10.10.1#53

** server can't find smkn2bawang.edu: NXDOMAIN


> dig 10.10.10.10
Server:
Address:

10.10.10.1
10.10.10.1#53

** server can't find dig: NXDOMAIN


> ^Croot@smkn2bawang:/etc/bind# dig 4.3.2.1

; <<>> DiG 9.7.3 <<>> 4.3.2.1


;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 52615
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;4.3.2.1.

IN

;; Query time: 88 msec


;; SERVER: 10.10.10.1#53(10.10.10.1)
;; WHEN: Tue Mar 20 04:43:29 2012
;; MSG SIZE rcvd: 25

root@smkn2bawang:/etc/bind# dig google.com

; <<>> DiG 9.7.3 <<>> google.com


;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62683
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.

IN

;; ANSWER SECTION:
google.com.

253

IN

74.125.236.32

google.com.

253

IN

74.125.236.35

google.com.

253

IN

74.125.236.40

google.com.

253

IN

74.125.236.37

google.com.

253

IN

74.125.236.36

google.com.

253

IN

74.125.236.46

google.com.

253

IN

74.125.236.33

google.com.

253

IN

74.125.236.38

google.com.

253

IN

74.125.236.39

google.com.

253

IN

74.125.236.34

google.com.

253

IN

74.125.236.41

;; Query time: 66 msec


;; SERVER: 10.10.10.1#53(10.10.10.1)

;; WHEN: Tue Mar 20 04:43:44 2012


;; MSG SIZE rcvd: 204

root@smkn2bawang:/etc/bind# apt-get install dnsutils


Sedang membaca daftar paket... Selesai
Membangun pohon ketergantungan
Membaca informasi yang tersedia... Selesai
Paket tambahan berikut akan diinstal:
bind9 bind9-host bind9utils libbind9-60 libdns69 libisc62 libisccc60 libisccfg62 liblwres60
Paket yang diusulkan:
resolvconf rblcheck
Paket berikut akan dimutakhirkan:
bind9 bind9-host bind9utils dnsutils libbind9-60 libdns69 libisc62 libisccc60 libisccfg62 liblwres60
10 dimutakhirkan, 0 baru terinstal, 0 akan dihapus dan 133 tidak akan dimutakhirkan.
Perlu mendapatkan 1.579 kB dari arsip.
Setelah operasi ini, 0 B ruang kosong harddisk akan digunakan.
Anda ingin melanjutkan [Y/t]? y
Menerima:1 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main dnsutils i386 1:9.7.3.dfsg1ubuntu4.1 [142 kB]
Menerima:2 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9-host i386 1:9.7.3.dfsg1ubuntu4.1 [53,9 kB]
Menerima:3 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9 i386 1:9.7.3.dfsg1ubuntu4.1 [327 kB]
Menerima:4 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisc62 i386 1:9.7.3.dfsg1ubuntu4.1 [160 kB]
Menerima:5 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisccc60 i386 1:9.7.3.dfsg1ubuntu4.1 [18,0 kB]

Menerima:6 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libisccfg62 i386 1:9.7.3.dfsg1ubuntu4.1 [38,8 kB]


Menerima:7 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main liblwres60 i386 1:9.7.3.dfsg1ubuntu4.1 [38,6 kB]
Menerima:8 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main bind9utils i386 1:9.7.3.dfsg1ubuntu4.1 [102 kB]
Menerima:9 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libdns69 i386 1:9.7.3.dfsg1ubuntu4.1 [676 kB]
Menerima:10 http://id.archive.ubuntu.com/ubuntu/ oneiric-updates/main libbind9-60 i386 1:9.7.3.dfsg1ubuntu4.1 [23,0 kB]
Mengambil 1.579 kB dalam waktu 1menit 52detik (14,0 kB/s)
Prakonfigurasi paket ...
(Sedang membaca basis data ... 63611 berkas atau direktori telah terpasang.)
Bersiap-siap mengganti dnsutils 1:9.7.3.dfsg-1ubuntu4 (dengan .../dnsutils_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti dnsutils ...
Bersiap-siap mengganti bind9-host 1:9.7.3.dfsg-1ubuntu4 (dengan .../bind9-host_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti bind9-host ...
Bersiap-siap mengganti bind9 1:9.7.3.dfsg-1ubuntu4 (dengan .../bind9_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti bind9 ...
Bersiap-siap mengganti libisc62 1:9.7.3.dfsg-1ubuntu4 (dengan .../libisc62_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libisc62 ...
Bersiap-siap mengganti libisccc60 1:9.7.3.dfsg-1ubuntu4 (dengan .../libisccc60_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libisccc60 ...
Bersiap-siap mengganti libisccfg62 1:9.7.3.dfsg-1ubuntu4 (dengan .../libisccfg62_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...

Sedang membuka pengganti libisccfg62 ...


Bersiap-siap mengganti liblwres60 1:9.7.3.dfsg-1ubuntu4 (dengan .../liblwres60_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti liblwres60 ...
Bersiap-siap mengganti bind9utils 1:9.7.3.dfsg-1ubuntu4 (dengan .../bind9utils_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti bind9utils ...
Bersiap-siap mengganti libdns69 1:9.7.3.dfsg-1ubuntu4 (dengan .../libdns69_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libdns69 ...
Bersiap-siap mengganti libbind9-60 1:9.7.3.dfsg-1ubuntu4 (dengan .../libbind9-60_1%3a9.7.3.dfsg1ubuntu4.1_i386.deb) ...
Sedang membuka pengganti libbind9-60 ...
Sedang memproses pemicu untuk man-db ...
Sedang memproses pemicu untuk ufw ...
Sedang memproses pemicu untuk ureadahead ...
Sedang menata libisc62 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libdns69 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libisccc60 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libisccfg62 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata libbind9-60 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata liblwres60 (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata bind9-host (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata dnsutils (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata bind9utils (1:9.7.3.dfsg-1ubuntu4.1) ...
Sedang menata bind9 (1:9.7.3.dfsg-1ubuntu4.1) ...
* Stopping domain name service... bind9

[ OK ]

* Starting domain name service... bind9

[ OK ]

Sedang memproses pemicu untuk libc-bin ...


ldconfig deferred processing now taking place
root@smkn2bawang:/etc/bind# ls
bind.keys db.255 db.local
db.0
db.127

db.4

db.root

named.conf

named.conf.options smkn2bawang.edu-ea.db

named.conf.default-zones rndc.key

db.empty db.smkn2bawang.edu named.conf.local

zones.rfc1918

smkn2bawang.edu

root@smkn2bawang:/etc/bind# nano /etc/resolv.conf


root@smkn2bawang:/etc/bind# /etc/init.d/bind9 restart
* Stopping domain name service... bind9
* Starting domain name service... bind9
root@smkn2bawang:/etc/bind#

[ OK ]
[ OK ]