[ask] DHCP, DNS, Web Server

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
fakhri
Posts: 3
Joined: 16 Nov 2010, 05:45

[ask] DHCP, DNS, Web Server

Postby fakhri » 16 Nov 2010, 06:20

bos saya punya masalah dimana saya memiliki 3 buah komputer server (Web server, DNS server, dan DHCP server) dan 1 client.
Untuk DNS Server & dhcp server Memakai static IP dan webserver dan client memakai Ip dari dhcp server.
pertanyaan :
1. gimana setingan di dns apabila si client mau ngakses webserver dengan domain belajar.com ??(bind9)
2. untuk setingan faorwarders apakah harus menggunakn ISP seprti speedy,google, dll ?? apbila menggunakn jaringan LAN apkah IP forwarders nya IP DNS Server kita ??


terimakasih aebelumnya atas jawaban yang diberikan
User avatar
c0jack
Posts: 743
Joined: 12 Jan 2010, 10:33
Location: Jogjakarta, Indonesia
Contact:

Re: [ask] DHCP, DNS, Web Server

Postby c0jack » 16 Nov 2010, 08:50

gimana kalo web server dikasih ip statis dari dhcp servernya. caranya di file /etc/dhcp3/dhcpd.conf ditambah

Code: Select all

host webserver{
   hardware ethernet xx:xx:xx:xx:xx:xx;
   fixed address 10.0.0.1;
}

jadi nanti di bind tinggal disetting seperti biasa.

kalo tidak terhubung ke inet opsi forwarders tidak perlu digunakan. tapi apabila terhubung, forwarders diisi ip yang didapat dari isp.


regards,
c0jack
User avatar
fakhri
Posts: 3
Joined: 16 Nov 2010, 05:45

Re: [ask] DHCP, DNS, Web Server

Postby fakhri » 16 Nov 2010, 17:54

## setingan 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";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "belajar.com" {
type master;
file "/etc/bind/db.coba";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.ip";
};


## settingan db.coba
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.belajar.com. root.belajar.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.belajar.com.
@ IN A 192.168.1.11
@ IN AAAA ::1
ns IN A 192.168.1.11
www IN CNAME ns

## settingan db.ip
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.belajar.com. root.belajar.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.belajar.com.
11 IN PTR ns.belajar.com.


ip webserver 192.168.1.11
domain belajar.com
tapi pas dibuka lewat client gal terus mas, kenapa ya ??
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: [ask] DHCP, DNS, Web Server

Postby zitux » 23 Dec 2010, 02:17

nyimak sini :grin:
User avatar
LucidLynk
Posts: 12
Joined: 22 Sep 2010, 05:59

Re: [ask] DHCP, DNS, Web Server

Postby LucidLynk » 01 Jan 2011, 16:25

kalau menurut ku karena IP dinamik itu tidak bisa langsung

diresolve sama bind jadi butuh aplikasi lain,,byasanya aku

pakai dydns
User avatar
Fonda
Posts: 4
Joined: 19 May 2010, 12:15
Location: Jakarta

Re: [ask] DHCP, DNS, Web Server

Postby Fonda » 01 Jan 2011, 22:23

mungkin coba di paste disini hasil dari nslookup di pc clientnya?

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 2 guests