Masalah setting DNS, koq SERVFAIL

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Masalah setting DNS, koq SERVFAIL

Postby caredox » 13 Dec 2011, 15:05

uda coba install bind9,,
tapi pas nslookup yang kluar error gneh,,
** server can't find : SERVFAIL

help dumz,,
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby yudiarbi » 13 Dec 2011, 15:09

digelar konfigurasinya bro
User avatar
Jikey
Posts: 46
Joined: 22 Oct 2011, 10:59
Location: indonesia

Re: Masalah setting DNS, koq SERVFAIL

Postby Jikey » 13 Dec 2011, 15:13

isi DNS nya lewat edit connection aja bro lbih gampang
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby yudiarbi » 13 Dec 2011, 15:16

Jikey wrote:isi DNS nya lewat edit connection aja bro lbih gampang
ini ubuntu server kayake bro...
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 13 Dec 2011, 15:19

iya rencana bt setting dns di ubuntuserver
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 13 Dec 2011, 15:22

===named.conf===
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local

include "/etc/bind/named.conf.options";
include "/etc/bind/named.conf.local";
include "/etc/bind/named.conf.default-zones";

zone "web.us.mn" {
type master;
file "/etc/bind/db.web.us.mn.zone";
};

zone "68.1.118.in-addr.arpa" {
type master;
file "/etc/bind/db.web.us.mn.rev";
};


===db.web.us.mn.zone===
$TTL 86400
$ORIGIN web.us.mn.
SOA ns.web.us.mn. root.web.us.mn.
(
2010052001 ; serial
1H ; refresh
15M ; retry
1W ; expire
1D ) ; minimum
IN NS ns.web.us.mn.
IN MX 50 mail.web.us.mn.
ww.web.us.mn. IN A 118.1.68.50
mail.web.us.mn. IN A 118.1.68.50
web.us.mn. IN A 118.1.68.50


===db.web.us.mn.rev===
@ IN SOA ns.web.us.mn. root.web.us.mn. (
2007020109 ; serial
1H ; refresh
15M ; retry
1W ; expire
1D ) ; minimum
IN NS ns.web.us.mn.
1 IN PTR ns.web.us.mn.
1 IN PTR http://www.web.us.mn.
1 IN PTR mail.web.us.mn.
1 IN PTR web.us.mn.

======================
nslookup web.us.mn
Server: 118.1.68.50
Address: 118.1.68.50#53

** server can't find web.us.mn.ns.web.us.mn: SERVFAIL
User avatar
Jikey
Posts: 46
Joined: 22 Oct 2011, 10:59
Location: indonesia

Re: Masalah setting DNS, koq SERVFAIL

Postby Jikey » 13 Dec 2011, 15:40

yudiarbi wrote: ini ubuntu server kayake bro...


hehehe... sory masbro ane ngga liat klo ini daftar forum server,,, :blush:

buat masbro caredox: coba mampir di sini masbro https://help.ubuntu.com/community/BIND9ServerHowto
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 13 Dec 2011, 15:51

mksudnya bro Jikey : ngga liat klo ini daftar forum server..??

coba mnuju TKp bro,,,
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby blackshirt » 14 Dec 2011, 10:00

If you are just adding zones, please do that in /etc/bind/named.conf.local

sesuai yang disarankan, sebaiknya kalau mau menambah konfigurasi buat zones, sebaiknya tambahkan di file /etc/bind/named.conf.local saja,
ww.web.us.mn. IN A 118.1.68.50
mail.web.us.mn. IN A 118.1.68.50
web.us.mn. IN A 118.1.68.50

itu alamat sama, kenapa gak pakai CANONICAL NAME saja ??
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 14 Dec 2011, 11:07

mksudnya bro blackshirt..???
lebih detil dumz bro,,
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby yudiarbi » 14 Dec 2011, 12:56

mencoba membantu ya bro, sepakat spt kt bro blackshirt, sesuai ini :

Code: Select all

If you are just adding zones, please do that in /etc/bind/named.conf.local

jd jgn bikin apa2 di named.conf
sebaiknya bikin di
named.conf.local, edit isinya menjadi:

Code: Select all

include "/etc/bind/zones.rfc1918";
zone "web.us.mn" {
type master;
file "/etc/bind/db.web.us.mn";
};
zone "68.1.118.in-addr.arpa" {
type master;
file "/etc/bind/db.118";
};
include "/etc/bind/rndc.key";

kemudian duplicate file db local spt yg disebutkan di named.conf.local
isi dari /etc/bind/db.web.us.mn
Tampilkan
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.web.us.mn. mail.web.us.mn. (
20111214 ;Serial
604800 ;Refresh
86400 ;Retry
2419200 ;Expire
604800 ) ;Negative Cache TTL
;
localhost IN A 127.0.0.1
@ IN NS ns.web.us.mn.
ns IN A [ip server]
www IN CNAME ns

bikin db.118 isinya sama dg diatas, hanya berbeda di :

Code: Select all

;
@ IN NS ns.
www IN CNAME ns

untuk serial sesuaikan dengan tanggal pembuatan
untuk www opsional aj jika ada webserver
definisikan juga ip dns server di /etc/hosts
sekali lagi, mencoba bantu aj, monggo dianalisa
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 14 Dec 2011, 13:12

ane coba bro yudiarbi,,
tpi skrang gra2 bind error g bisa ngapa2en,,,
klo bind9 restart,,jadi bgni
* Stopping domain name service... bind9 rndc: connect failed: 127.0.0.1#953: connection refused
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby yudiarbi » 14 Dec 2011, 13:33

rndc.key nya bro, gak ngoprek2 disitu?ato masukin dulu
nameserver dan search domain di /etc/resolv.conf
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 14 Dec 2011, 13:51

uda tak coba cara diatas,,
tapi pas bind9 restart,,jadi bgni
* Stopping domain name service... bind9 rndc: connect failed: 127.0.0.1#953: connection refused

:-(
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 14 Dec 2011, 14:04

isi network interfaces :
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 118.1.68.50
netmask 255.255.255.240
network 118.1.68.47
broadcast 118.1.68.62
gateway 118.1.68.47
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers 118.1.68.48
dns-search ubuntuserver
==========================================
isp => modem => hub => komputer
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby yudiarbi » 14 Dec 2011, 14:18

jd ini lancard cmn satu bro?wah mana bisa dimana eth0 ke isp jdi satu dgn dns server, setahuq loh
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 14 Dec 2011, 14:40

emg yg bro bilang ntu bener,,:D

intinya gni bro,,,web server ini masih pake ip publik,,
trz klnjutannya gmn bro..????

sory y bro2 sxan pertnyaan bodoh gene tak lempar ke forum :D
smoga berkenan..:D
User avatar
yudiarbi
Posts: 627
Joined: 22 Mar 2011, 09:31
Location: Probolinggo, Jawa Timur
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby yudiarbi » 14 Dec 2011, 14:56

sama bro, aq juga lg belajar juga, gini aj bro, tuh eth0 mengarah ke ISP kan?digunain ke clien2 dlm satu jaringan lokal gak?
User avatar
blackshirt
Posts: 2336
Joined: 02 Jan 2010, 17:00
Location: Solo dan Kebumen
Contact:

Re: Masalah setting DNS, koq SERVFAIL

Postby blackshirt » 15 Dec 2011, 06:11

* Stopping domain name service... bind9 rndc: connect failed: 127.0.0.1#953: connection refused

biasanya karena ada kesalahan dalam konfigurasi bind, syntak-nya, tanda titik (.), juga berpengaruh
User avatar
caredox
Posts: 110
Joined: 21 Jun 2010, 09:18

Re: Masalah setting DNS, koq SERVFAIL

Postby caredox » 15 Dec 2011, 09:11

syntak dmn bro..???

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 2 guests