(Dynamic)%20Domain%20Name%20System - PowerPoint PPT Presentation

About This Presentation
Title:

(Dynamic)%20Domain%20Name%20System

Description:

(Dynamic) Domain Name System dan Virtual Hosting Aplikasi yang dibutuhkan bind9 apache2 dhcp3-server DNS Installasi dan Konfigurasi Buat domain yang akan di inginkan ... – PowerPoint PPT presentation

Number of Views:115
Avg rating:3.0/5.0
Slides: 17
Provided by: stude2935
Category:

less

Transcript and Presenter's Notes

Title: (Dynamic)%20Domain%20Name%20System


1
  • (Dynamic) Domain Name System
  • dan
  • Virtual Hosting

2
Aplikasi yang dibutuhkan
  • bind9
  • apache2
  • dhcp3-server

3
  • DNS

4
Installasi dan Konfigurasi
  • Buat domain yang akan di inginkan
  • contoh idris.net.id
  • Installasi
  • apt-get install bind9
  • Konfigurasi
  • domain to IP
  • cp /etc/bind/db.local /var/cache/bind/idris.net.
    id.db
  • IP to domain
  • cp /etc/bind/db.255 /var/cache/bind/idris.net.id
    .rev

5
Edit db
  • vim /var/cache/bind/idris.net.id.db
  • BIND data file for local loopback interface
  • TTL 604800
  • _at_ IN SOA idris.net.id.
    root.idris.net.id. (
  • 1 Serial
  • 604800 Refresh
  • 86400 Retry
  • 2419200 Expire
  • 604800 )
    Negative Cache TTL
  • _at_ IN NS idris.net.id.
  • _at_ IN A 10.252.108.34
  • www IN A 10.252.108.34
  • student IN A 10.252.108.34

6
Edit Rev
  • vim /var/cache/bind/idris.net.id.rev
  • BIND reverse data file for broadcast zone
  • TTL 604800
  • _at_ IN SOA idris.net.id.
    root.idris.net.id. (
  • 1 Serial
  • 604800 Refresh
  • 86400 Retry
  • 2419200 Expire
  • 604800 )
    Negative Cache TTL
  • _at_ IN NS idris.net.id.
  • 34 IN PTR www.idris.net.id.
  • 34 IN PTR student.idris.net.id.

7
Konfig main
  • vim /etc/bind/named.conf.local
  • zone "idris.net.id"
  • type master
  • file "/var/cache/bind/idris.net.id.db"
  • zone "108.252.10.in-addr.arpa"
  • type master
  • file "/var/cache/bind/idris.net.id.rev"
  • vim /etc/bind/named.conf.options
  • forwarders
  • 202.154.187.2
  • /etc/init.d/bind9 restart\

8
  • ddns

9
Installasi
  • Syarat bind9 harus sudah terinstall
  • installasi
  • apt-get install dhcp3-server

10
Konfig dhcp server
  • vim /etc/dhcp3/dhcpd.conf
  • subnet 10.252.108.0 netmask 255.255.255.0
  • range 10.252.108.100 10.252.108.200
  • option routers 10.252.108.1
  • option domain-name-servers 10.252.108.34
  • option domain-name "idris.net.id"
  • /etc/init.d/dhcp3-server restart

11
Integrasi DDNS di bind
key "rndc-key" zone
"108.252.10.in-addr.arpa" type master
file "/var/cache/bind/idris.net.id.rev"
notify yes allow-update
127.0.0.1 key "rndc-key"
  • vim /etc/bind/named.conf.local
  • include "/etc/bind/rndc.key"
  • controls
  • inet 127.0.0.1 port 953
  • allow
  • 127.0.0.1
  • keys "rndc.key"
  • zone "idris.net.id"
  • type master
  • file "/var/cache/bind/idris.net.id.db"
  • notify yes
  • allow-update
  • 127.0.0.1

12
Integrasi DDNS di dhpcd
  • vim /etc/dhcp3/dhcpd.conf
  • ddns-updates on
  • ddns-update-style interim
  • ddns-domainname "idris.net.id"
  • ddns-rev-domainname "in-addr.arpa"
  • include "/etc/bind/rndc.key"
  • zone idris.net.id
  • primary 127.0.0.1
  • key rndc-key
  • zone 108.252.10.in-addr.arpa.
  • primary 127.0.0.1
  • key rndc-key

13
Ujicoba di client
  • vim /etc/dhcp3/dhclient.conf
  • edit send host-name sub-domain
  • edit dhcp-client-identifier ltmac-addrgt
  • dhclient ethx
  • ping sub-domain.domain

14
  • Virtual Hosting

15
Installasi
  • syarat bind9 harus terinstall
  • installasi
  • apt-get install apache2

16
Konfigurasi apache2
  • vim /etc/apache2/sites-available/default
  • hapus NameVirtualHost
  • tambahkan NameServer ltnama.domaingt
  • vim /etc/apache2/conf.d/virtual
  • NameVirtualHost
  • /etc/init.d/apache2 restart
Write a Comment
User Comments (0)
About PowerShow.com