tolong liatin step yang salah pada konfigurasi DNS

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
kipotlea
Posts: 30
Joined: 02 Nov 2010, 20:25
Location: Bandung
Contact:

errorr

Postby kipotlea » 08 Nov 2010, 11:28

mas, klw pas nge restart bind 9 nya muncul kayak gini knp ya?


Starting domain name service... bind9 chmod: changing permissions of `/var/run/named': Operation not permitted
kipot@kipot-Aspire-4810T:/var/cache/bind$ /etc/init.d/networking restart
* /etc/network/options still exists and it will be IGNORED! Read README.Debian of netbase.
* Reconfiguring network interfaces... ifdown: failed to open statefile /var/run/network/ifstate: Permission denied
ifup: failed to open statefile /var/run/network/ifstate: Permission denied
User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Re: errorr

Postby thrvers » 08 Nov 2010, 11:31

'
...Permission denied

biasanya harus pakai root-mode :D
$ sudo /etc/init.d/.....

CMIIW
User avatar
kipotlea
Posts: 30
Joined: 02 Nov 2010, 20:25
Location: Bandung
Contact:

Re: errorr

Postby kipotlea » 08 Nov 2010, 12:41

skipot@kipot-Aspire-4810T:~$ sudo /etc/init.d/bind9 restart
[sudo] password for kipot:
* Stopping domain name service... bind9 rndc: connect failed: 127.0.0.1#953: connection refused
[ OK ]
* Starting domain name service... bind9 [fail]
kipot@kipot-Aspire-4810T:~$
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: errorr

Postby MasDjo » 08 Nov 2010, 14:04

Coba cek /etc/hosts dan /etc/resolv.conf, misal punya saya :
/etc/hosts

Code: Select all

127.0.0.1       localhost
192.168.0.100    serversaya1 dns.bluesky.net smtp.dns.bluesky.net proxy.dns.bluesky.net

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


/etc/resolv.conf

Code: Select all

search dns.bluesky.net
nameserver 192.168.0.100
nameserver 127.0.0.1


Coba teliti lagi step by step tutorial di Ubuntu Server All in One pada BAB INSTALL DAN SETING PADA DNS SERVER MENGGUNAKAN BIND9 ...seharusnya bisa jalan :)
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: errorr

Postby blackshirt » 08 Nov 2010, 14:39

dari FAQ ISC bind 9 dns server
I get "rndc: connect failed: connection refused" when I try to run rndc.

This is usually a configuration error.

First ensure that named is running and no errors are being reported at startup (/var/log/messages or equivalent). Running "named -g " from a title can help at this point.

Secondly ensure that named is configured to use rndc either by "rndc-confgen -a", rndc-confgen or manually. The Administrators Reference manual has details on how to do this.

Old versions of rndc-confgen used localhost rather than 127.0.0.1 in /etc/rndc.conf for the default server. Update /etc/rndc.conf if necessary so that the default server listed in /etc/rndc.conf matches the addresses used in named.conf. "localhost" has two address (127.0.0.1 and ::1).

If you use "rndc-confgen -a" and named is running with -t or -u ensure that /etc/rndc.conf has the correct ownership and that a copy is in the chroot area. You can do this by re-running "rndc-confgen -a" with appropriate -t and -u arguments.


jadi check konfignya terlebih dahulu
User avatar
kipotlea
Posts: 30
Joined: 02 Nov 2010, 20:25
Location: Bandung
Contact:

Re: errorr

Postby kipotlea » 09 Nov 2010, 15:35

[quote=MasDjo]Coba cek /etc/hosts dan /etc/resolv.conf, misal punya saya :
/etc/hosts

Code: Select all

127.0.0.1       localhost
192.168.0.100    serversaya1 dns.bluesky.net smtp.dns.bluesky.net proxy.dns.bluesky.net

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts


/etc/resolv.conf

Code: Select all

search dns.bluesky.net
nameserver 192.168.0.100
nameserver 127.0.0.1


Coba teliti lagi step by step tutorial di Ubuntu Server All in One pada BAB INSTALL DAN SETING PADA DNS SERVER MENGGUNAKAN BIND9 ...seharusnya bisa jalan :)


mas, saya udah nyoba .. terus pas saya dig kok tetap gak jalan ya.????
ni hasil dig nya :
root@kipot-Aspire-4810T:/home/kipot# dig 613090108.com

; > DiG 9.7.1-P2 > 613090108.com
;; global options: +cmd
;; connection timed out; no servers could be reached
root@kipot-Aspire-4810T:/home/kipot#