DNS (Domain Name System) dan DHCP (Dynamic Host Configuration Protocol) adalah dua layanan jaringan fundamental yang menjadi tulang punggung infrastruktur IT modern.
Domain Name System
"Phonebook of the Internet"Dynamic Host Configuration
Automatic IP Assignmentgoogle.com → 172.217.194.113
Client yang melakukan query
Contoh: ISP resolver, Google DNSServer tingkat teratas
13 root servers worldwideTop-Level Domain
.com, .org, .id, dllPemegang data domain
NS records domain| Record Type | Purpose | Contoh | TTL |
|---|---|---|---|
A |
IPv4 address | google.com → 172.217.194.113 |
300 |
AAAA |
IPv6 address | google.com → 2a00:1450:4001:815::200e |
300 |
CNAME |
Canonical name (alias) | www → google.com |
300 |
MX |
Mail exchange | @ → mail.google.com |
3600 |
NS |
Name server | @ → ns1.google.com |
172800 |
TXT |
Text information | SPF, DKIM records |
3600 |
PTR |
Pointer (reverse DNS) | 113.194.217.172 → google.com |
3600 |
Menerima query dari client dan melakukan full resolution
Menyimpan record untuk domain tertentu
Meneruskan query ke server lain
Menyimpan hasil query untuk mempercepat resolusi
Main configuration file
/etc/bind/named.conf
Local zones configuration
/etc/bind/named.conf.local
Global options
/etc/bind/named.conf.options
Automatic IP Configuration
Centralized Management
Reduced Administration
Range IP addresses yang dapat diberikan
192.168.1.100-200Durasi penggunaan IP oleh client
Default: 24 hoursIP tetap untuk client tertentu
Based on MAC addressKonfigurasi tambahan
Gateway, DNS, domainPada pertemuan ini kita telah mempelajari konfigurasi dan manajemen DNS dan DHCP, dua layanan jaringan fundamental untuk infrastruktur IT modern.
Pertemuan berikutnya: Layanan SSH dan FTP - remote access dan file transfer yang aman.