Presentasjon lastes. Vennligst vent

Presentasjon lastes. Vennligst vent

(Dynamic) Domain Name System dan Virtual Hosting.

Liknende presentasjoner


Presentasjon om: "(Dynamic) Domain Name System dan Virtual Hosting."— Utskrift av presentasjonen:

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 IN SOA idris.net.id. root.idris.net.id. (  1 ; Serial  ; Refresh  ; Retry  ; Expire  ) ; Negative Cache TTL  ; IN NS idris.net.id. IN A  www IN A  student IN A

6 Edit Rev # vim /var/cache/bind/idris.net.id.rev  ;  ; BIND reverse data file for broadcast zone  ;  $TTL IN SOA idris.net.id. root.idris.net.id. (  1 ; Serial  ; Refresh  ; Retry  ; Expire  ) ; Negative Cache TTL  ; IN NS idris.net.id.  34 IN PTR  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 " in-addr.arpa" {  type master;  file "/var/cache/bind/idris.net.id.rev";  }; vim /etc/bind/named.conf.options  forwarders {  ;  }; # /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 netmask {  range ;  option routers ;  option domain-name-servers ;  option domain-name "idris.net.id";  } # /etc/init.d/dhcp3-server restart

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

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 ; key rndc-key; } zone in-addr.arpa. { primary ; key rndc-key; }

13 Ujicoba di client # vim /etc/dhcp3/dhclient.conf  edit “send host-name “sub-domain”;  edit “dhcp-client-identifier ”; # 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 # vim /etc/apache2/conf.d/virtual  NameVirtualHost * # /etc/init.d/apache2 restart


Laste ned ppt "(Dynamic) Domain Name System dan Virtual Hosting."

Liknende presentasjoner


Annonser fra Google