100% found this document useful (1 vote)
2K views1 page

DNS Cheat Sheet

This document provides instructions for configuring a DNS server, including: 1. Editing files to define the domains and zones managed by the server 2. Configuring the DNS server to forward requests to other servers 3. Adding hostnames, subdomains, and IP addresses to the zone files 4. Creating reverse lookup records to map IP addresses to hostnames 5. Configuring client systems to use the DNS server

Uploaded by

Pedy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
2K views1 page

DNS Cheat Sheet

This document provides instructions for configuring a DNS server, including: 1. Editing files to define the domains and zones managed by the server 2. Configuring the DNS server to forward requests to other servers 3. Adding hostnames, subdomains, and IP addresses to the zone files 4. Creating reverse lookup records to map IP addresses to hostnames 5. Configuring client systems to use the DNS server

Uploaded by

Pedy
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DNS Server cheat sheet

1 Menentukan domain yang dikelola 3 Menentukan ip-ip hostname & sub domain kita
$ sudo vim /etc/bind/named.conf.local $ sudo vim /etc/bind/zones/llc.com.db

zone "llc.com" { llc.com. IN SOA dns1.llc.com. root.dns1.llc.com. (


type master; 001 ; serial
file "/etc/bind/zones/llc.com.db"; 1H ; refresh
}; 15M ; retry
1W ; expiry
1H ; ttl
zone "2.168.192.in-addr.arpa" {
)
type master;
@ IN NS dns1
file "/etc/bind/zones/2.168.192.db";
dns1 IN A 192.168.2.5
};
@ IN A 192.168.2.5
www IN CNAME dns1

redhat.llc.com. IN NS dns1.redhat.llc.com.
2 Menentukan domain di atas kita dns1.redhat.llc.com. IN A 192.168.2.10
$ sudo vim /etc/bind/named.conf.options

options {
4 Menentukan nama-nama dari ip kita (reversed dns)
forwarders { $ sudo vim /etc/bind/zones/2.168.192.db
192.168.2.15;
}; llc.com. IN SOA dns1.llc.com. root.dns1.llc.com. (
}; 001 ; serial
1H ; refresh
15M ; retry
5 Menentukan DNS Server 1W ; expiry
1H ; ttl
$ sudo vim /etc/resolv.conf
)
@ IN NS dns1
nameserver 192.168.2.5
5 IN PTR dns1.llc.com.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy