P. 1
Installasi Dan Membangun Server Menggunakan Linux Debian 5

Installasi Dan Membangun Server Menggunakan Linux Debian 5

|Views: 3,675|Likes:
Published by Ali Faturrahman

More info:

Published by: Ali Faturrahman on Oct 31, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

02/10/2013

pdf

text

original

a. Tulis Perintah

dyan#apt-get install bind9

b. Kemudian atur konfigurasi dengan cara

dyan#cp /etc/bind/db.local /etc/bind/db.dhean1
dyan#cp /etc/bind/db.127 /etc/bind/db.dhean2
dyan#cp /etc/bind/named.conf /etc/bind/named1.conf

Note: Semua perintah cp adalah untuk membuat cadangan/backup.

c. Lalu edit semua file yang telah dicopy

Installasi dan Konfigurasi Server Pada Debian 5.0 Lenny

http://dheanmahendra.blogspot.com

24

May. 17

$TTL 604800
@ IN SOA dyan.web.id. root dyan.web.id. (
2

; Serial

604800

; Refresh

86400

; Retry

2419200

; Expire

604800

; Negative Cache TTL

;

IN NS

dyan.web.id.

@

IN A

172.127.10.1

www

IN CNAME

dyan.web.id.

mail

IN CNAME

dyan.web.id.

$TTL 604800
@ IN SOA localhost. root localhost. (
2

; Serial

604800

; Refresh

86400

; Retry

2419200

; Expire

604800

; Negative Cache TTL

;

IN NS

localhost.

@

IN A

127.0.0.1

$TTL 604800
@ IN SOA localhsot. root localhsot. (
3

; Serial

604800

; Refresh

86400

; Retry

2419200

; Expire

604800 )

; Negative Cache TTL

;

IN

NS

localhsot.

@

IN

A

127.0.0.1

1 .0.0 IN

NS

localhost.

dyan#nano /etc/bind/db.dhean1

Lalu ubah menjadi:

Lalu klik CTRL+X pilih Yes dan Enter

d. dyan#nano /etc/bind/db.dhean2

Lalu ubah menjadi:

Installasi dan Konfigurasi Server Pada Debian 5.0 Lenny

http://dheanmahendra.blogspot.com

25

May. 17

$TTL 604800
@ IN SOA dyan.web.id. root dyan.web.id. (
3

; Serial

604800

; Refresh

86400

; Retry

2419200

; Expire

604800 )

; Negative Cache TTL

;

IN

NS

dyan.web.id.

@

IN

A

172.127.10.1

1

IN

NS

dyan.web.id.

zone "localhsot" {

type master;
file

"/etc/bind/db.local";
};

zone "127.in-addr.arpa" {
type master;
file

"/etc/bind/db.127";
};

zone "dyan.web.id" {

type master;
file

"/etc/bind/db.dhean1";

};

zone "10.127.172.in-addr.arpa" {
type master;
file
"/etc/bind/db.dhean2";
};

Lalu klik CTRL+X pilih Yes dan Enter

e. dyan#nano /etc/bind/named.conf

Cari dan copy file ke paling bawah sebelum “Included..........”

Setelah berhasil dicopy, edit isi file yang telah diedit menjadi:

Lalu klik CTRL+X pilih Yes dan Enter

f. Lalu edit file resolv.conf dengan cara:

dyan#nano /etc/resolv.conf

Installasi dan Konfigurasi Server Pada Debian 5.0 Lenny

http://dheanmahendra.blogspot.com

26

May. 17

nameserver: 172.127.10.1

nameserver 127.0.0.1

Lalu ketik script

Merupakan alamat IP standar.

Lalu klik CTRL+X pilih Yes dan Enter

g. Lalu restart bind9

dyan#etc/init.d/bind9 restart

h. Periksa dengan menggunakan

dyan#nslookup dyan.web.id
dyan#nslookup 172.127.10.1

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->