0% found this document useful (0 votes)
36 views

DNS Server Bind9: by Oka Mardiyana

This document provides instructions for setting up a DNS server using BIND9 on Ubuntu. It describes installing BIND9, configuring the network interface, creating forward and reverse zone files for the domain "aa132-stikom.com" and its subdomains "www", "elearning", and "sion", and testing the DNS server configuration using nslookup and dig commands. The DNS server is configured to serve requests for the domain and its subdomains using an IP address of 192.168.100.254.

Uploaded by

GOez ReNdy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

DNS Server Bind9: by Oka Mardiyana

This document provides instructions for setting up a DNS server using BIND9 on Ubuntu. It describes installing BIND9, configuring the network interface, creating forward and reverse zone files for the domain "aa132-stikom.com" and its subdomains "www", "elearning", and "sion", and testing the DNS server configuration using nslookup and dig commands. The DNS server is configured to serve requests for the domain and its subdomains using an IP address of 192.168.100.254.

Uploaded by

GOez ReNdy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 12

DNS Server

bind9
By Oka Mardiyana

Installing BIND9

Installing bind9
apt-get update
apt-get install bind9

Configure local network

vim /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.1
netmask 255.255.255.0

Latihan x1

Bangunlah sebuah DNS Server dengan ketentuan:


domain name: aa132-stikom.com
sub domain: www, elearning, sion
ip address: 192.168.101.254

Tes Konfigurasi

Nslookup

dig

Domain name

vim /etc/bind/named.conf.default-zones
zone aa132-stikom.com {
type master;
file /etc/bind/db.aa132-stikom;
};
zone 100.168.192.in-addr.arpa {
type master;
file /etc/bind/rev.100.168.192;
};

Create the forward zone file

vim /etc/bind/db.aa132-stikom
$TTL 604800
@ IN SOA ns.aa132-stikom.com. root.aa132-stikom.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expre
604800 ) ; Negative Cache TTL
;
@ IN NS ns.aa132-stikom.com.
@ IN A 192.168.100.254
ns IN A 192.168.100.254
www
IN CNAME ns

Create the reverse zone file

vim /etc/bind/rev.100.168.192
$TTL 604800
@ IN SOA ns.aa132-stikom.com. root.aa132-stikom.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expre
604800 ) ; Negative Cache TTL
;
@ IN NS ns.aa132-stikom.com.
254 IN PTR ns.aa132-stikom.com.

Configure client

vim /etc/resolv.conf
search lab-stikombali.com
nameserver 10.10.10.1

Test DNS Server

nslookup lab-stikombali.com

nslookup 10.10.10.1

dig lab-stikombali.com

Selamat Mencoba!

You might also like