SlideShare a Scribd company logo
1 of 45
DNS Domain Name System
(Service / Server)
Jaringan Komputer
DNS Rev 03
Imam Suharjo - 2020
INTRO
1. Mengapa ada domain?
2. Mengapa ada DNS?
3. DNS digunakan dimana?
4. Bagaimana cara kerja DNS?
5. Siapa yang bisa membuat DNS Server?
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 2
Domain Name System (DNS)
• DNS adalah layanan Internet yang menerjemahkan nama domain menjadi
alamat IP. Karena nama domain dengan abjad akan lebih mudah diingat.
Pada dasarnya Internet didasarkan pada alamat IP.
• Setiap kali menggunakan nama domain, oleh karena itu, layanan DNS harus
menerjemahkan namanya ke alamat IP yang sesuai.
• Saat mengunjungi domain seperti mercu.id , komputer Anda mengikuti
serangkaian langkah untuk mengubah alamat web yang dapat dibaca
manusia menjadi alamat IP yang dapat dibaca oleh mesin. Hal ini akan
terjadi setiap kali menggunakan nama domain seperti , membuka situs
web, kirim email atau mendengarkan radio internet.
• Sistem DNS sebenarnya adalah jaringan sendiri. Jika satu server DNS tidak
tahu bagaimana menerjemahkan nama domain tertentu, itu akan meminta
yang lain, dan seterusnya, sampai alamat IP yang benar dikembalikan.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 3
Cara Kerja DNS
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 4
http://www.incisozluk.com.tr/w/domain-name-system-dns-nasil-calisir/
Contoh Domain, Domain = Nama
• Indonesia : TLD  cctLD = .ID contoh : mercu.id, jd.id
• SLD  go.id, ac.id, sch.id, co.id, or.id, net.id  ugm.ac.id,
telkom.net.id
• Sub domain : sasa.bejo.test1212.mercu.id
• Cache : isi : TTL
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 5
Type Record DNS
• A Address Record Returns a 32-bit IPv4 address, most commonly
used to map hostnames to an IP address of the host,but it is also used for
DNSBLs, storing subnet masks in RFC 1101, etc.
• CNAME Canonical Name Record Alias of one name to another: the
DNS lookup will continue by retrying the lookup with the new name.
• MX Mail Exchange Record Maps a domain name to a list of message
transfer agents for that domain
• AAAA IPv6 Address RecordReturns a 128-bit IPv6 address, most
commonly used to map hostnames to an IP address of the host.
• TXT Text Record Originally for arbitrary human-readable text in a DNS
record. Since the early 1990s, however, this record more often
carriesmachine-readable data, such as specified by RFC 1464, opportunistic
encryption, Sender Policy Framework, DKIM, DMARC, DNS-SD, etc.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 6
Type Record DNS
• PTR Pointer Record Pointer to a canonical name. Unlike a CNAME, DNS processing
stops and just the name is returned. The most common use is for implementing reverse
DNS lookups, but other uses include such things as DNS-SD.
• SRV Service locator Generalized service location record, used for newer protocols
instead of creating protocol-specific records such as MX.
• SPF Sender Policy Framework SPF(99) (from RFC 4408) was specified as part of
the Sender Policy Framework protocol as an alternative to storing SPF data in TXT
records, using the same format. It was later found that the majority of SPF deployments
lack proper support for this record type, and support for it was discontinued in RFC 7208.
• NS Name Server record Delegates a DNS zone to use the given authoritative name
servers
• SOA Start of [a zone of] Authority Record Specifies authoritative information about
a DNS zone, including the primary name server, the email of the domain administrator,
the domain serial number, and several timers relating to refreshing the zone.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 7
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 8
https://asmed.com/comptia-amazon-aws-dns-records-types/
The Domain Name System (aka DNS)
• The DNS is used to resolve human-readable hostnames like
www.Dyn.com into machine-readable IP addresses like
204.13.248.115. DNS also provides other information about domain
names, such as mail services.
• DNS is like a phone book for the Internet. If you know a person’s name
but don’t know their telephone number, you can simply look it up in a
phone book. DNS provides this same service to the Internet.
• When you visit http://dyn.com in a browser, your computer uses DNS
to retrieve the website’s IP address of 204.13.248.115. Without DNS,
you would only be able to visit our website (or any website) by visiting
its IP address directly, such as http://204.13.248.115.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 9
http://dyn.com/blog/dns-why-its-important-how-it-works/
1. Cache : history (flush)
2. IP DNS
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 10
Step 1: Request information
• The process begins when you ask your computer to resolve a
hostname, such as visiting http://dyn.com.
• The first place your computer looks is its local DNS cache, which stores
information that your computer has recently retrieved.
• If your computer doesn’t already know the answer, it needs to
perform a DNS query to find out.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 11
Step 2: Ask the recursive DNS servers
• If the information is not stored locally, your computer queries
(contacts) your ISP’s recursive DNS servers.
• These specialized computers perform the legwork of a DNS query on
your behalf.
• Recursive servers have their own caches, so the process usually ends
here and the information is returned to the user.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 12
Step 3: Ask the root nameservers
• If the recursive servers don’t have the answer, they query the root
nameservers.
• A nameserver is a computer that answers questions about domain
names, such as IP addresses.
• The thirteen root nameservers act as a kind of telephone switchboard
for DNS.
• They don’t know the answer, but they can direct our query to
someone that knows where to find it.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 13
Step 4: Ask the TLD nameservers
• The root nameservers will look at the first part of our request, reading
from right to left — www.dyn.com — and direct our query to the Top-
Level Domain (TLD) nameservers for .com.
• Each TLD, such as .com, .org, and .us, have their own set of
nameservers, which act like a receptionist for each TLD.
• These servers don’t have the information we need, but they can refer
us directly to the servers that do have the information.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 14
• TLD :
• GTLD : > LBH DR 2 CHAR
• ccTLD :
• https://www.iana.org/domains/root/db
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 15
Step 5: Ask the authoritative DNS servers
• The TLD nameservers review the next part of our request —
www.dyn.com — and direct our query to the nameservers
responsible for this specific domain.
• These authoritative nameservers are responsible for knowing all the
information about a specific domain, which are stored in DNS records.
• There are many types of records, which each contain a different kind
of information.
• In this example, we want to know the IP address for
www.dyndns.com, so we ask the authoritative nameserver for the
Address Record (A).
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 16
Step 6: Retrieve the record
• The recursive server retrieves the A record for dyn.com from the
authoritative nameservers and stores the record in its local cache.
• If anyone else requests the host record for dyn.com, the recursive
servers will already have the answer and will not need to go through
the lookup process again.
• All records have a time-to-live (TTL) value, which is like an expiration
date.
• After a while, the recursive server will need to ask for a new copy of
the record to make sure the information doesn’t become out-of-date.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 17
Step 7: Receive the answer
• Armed with the answer, recursive server returns the A record back to
your computer.
• Your computer stores the record in its cache, reads the IP address
from the record, then passes this information to your browser.
• The browser then opens a connection to the webserver and receives
the website.
• This entire process, from start to finish, takes only milliseconds to
complete.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 18
Domain Name Servers (DNS)
• Domain Name Servers (DNS) are the Internet's equivalent of a phone
book. They maintain a directory of domain names and translate them
to Internet Protocol (IP) addresses.
• This is necessary because, although domain names are easy for
people to remember, computers or machines, access websites based
on IP addresses.
• Information from all the domain name servers across the Internet are
gathered together and housed at the Central Registry. Host
companies and Internet Service Providers interact with the Central
Registry on a regular schedule to get updated DNS information.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 19
http://www.networksolutions.com/support/what-is-a-domain-
name-server-dns-and-how-does-it-work/
Domain Name Servers (DNS)
• When you type in a web address, e.g., www.jimsbikes.com, your
Internet Service Provider views the DNS associated with the domain
name, translates it into a machine friendly IP address (for example
216.168.224.70 is the IP for jimsbikes.com) and directs your Internet
connection to the correct website.
• After you register a new domain name or when you update the DNS
servers on your domain name, it usually takes about 12-36 hours for
the domain name servers world-wide to be updated and able to
access the information. This 36-hour period is referred to as
propagation.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 20
http://www.networksolutions.com/support/what-is-a-domain-
name-server-dns-and-how-does-it-work/
DNS
• Sistem/Server untuk Domain
• Domain = Internet Domain = Nama untuk sebuah host/server/web
• Seperti akses Internet : .com .net .org dll
• Domain lokal : namaku.local (Local domain)
• Tujuannya :
• Seperti Buku Telepon / Mempermudah pemanggilan
• Adanya Domain  Mudah, Sebagai Identitas, Branding (tempo.co an.tv
rcti.tv), Nama yg Public.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 21
Ada apa saja di DNS?
Beberapa isitilah di DNS :
• DNS Server
• DNS resolver
• DNS Client
• IP address – Domain
• Mercu.id – 103.58.111.100
• Mercu.localhost – IP komputer lokal – 127.0.0.1
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 22
DNS resolver
• DNS resolver adalah client side dari Domain Name System yang melakukan
query dan menjadi inisiator translasi nama domain ke IP address. DNS
resolver merupakan bagian dari sistem yang memudahkan anda untuk
melakukan browsing dengan menggunakan nama-nama domain dan bukan
lagi menggunakan IP address.
• Contoh ada sebuah perusahaan besar yang memiliki banyak sekali
komputer yang terhubung dengan jaringan internet. Merekapun harus
mengisi/memasukkan DNS resolver untuk mempermudah dalam
mengakses situs-situs di internet. Jika perusahaan tersebut tidak memiliki
DNS server sendiri, maka bisa diisi DNS resolver dari ISP yang digunakan.
• Redirect DNS resolver adalah pemindahan tujuan DNS server dari DNS
resolver. Biasanya hal tersebut dilakukan jika kita memiliki jumlah
komputer yang banyak dan mau mengganti dns resolver dengan yang baru
karena dns resolver yang lama sudah tidak bisa digunakan. Karena jika
dilakukan penggantian secara manual membutuhkan waktu yang sangat
banyak. (Idreg.net)
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 23
DNS Server & Client
• Server yang bekerja sebagai DNS :
menyimpan informasi nama
domain dan IP address. IP DNS bisa
digunakan oleh client sebagai
Server DNS di setingan (network).
• Perlu softwrae untuk DNS server
• DNS yg digunakan client bsia > 1,
sebagai alternatif DNS (Primari dan
Secondary DNS).
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 24
DNS Server di linux
• DNS Server di linux biasanya dijalankan oleh program yang bernama
named. Program ini merupakan bagian dari paket bind yang
dikoordinasikan oleh Paul Vixie dari The Internet Software
Consortium. Biasanya program ini terletak di /usr/sbin/named dan
dijalankan pada waktu booting dari /etc/rc.d/init.d/named start. Agar
named dijalankan pada setiap booting masukkan named ke daftar
server yang harus distart dengan menggunakan ntsysv.
(pemula.linux.or.id)
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 25
Dimana IP DNS digunakan?
DNS Server
PC Client
Router
Perangkat jaringan lain yang membutuhkan akses ke domain
(internet).
Primari dan alterntif : Alternatif jika yang primary bermasalah / tidak
menjawab.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 26
Kenapa DNS serba tahu tentang domain?
• DNS server tidak menyimpan
semua informasi domain di dunia,
namun kalau di tanya (request)
dia tahu dan akan menjawab.
• Dari mana dia bisa tahu?
• DNS Tahu dari Parent(s) DNS 
parent juga DNS.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 27
DNS Cache
• Cache DNS : temporary (Sementara) data (DNS) yang tersimpan di
lokal. Nama, IP, Type, TTL.
• Seberapa lama tersimpan : TTL Time To Life
• TTL : detik, menit, jam hari.
• Sesuai dengan yang membuat / yang punya domain ybs.
• Setelah TTL sebuah domai habis : maka record ttg doamin trsb hilang
sendiri.
• Cara hapus cache : ipconfig /flushdns
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 28
Type DNS
Antara lain :
• A : domain – IPv4
• AAAA : domain – IPv6
• CNAME : Domain - Domain
• NS : Domain – Domain (NS)
• SOA : Domain – domain (NS)
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 29
• Domain.com ns
• Satu.domain.com
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 30
Cache di Mikrotik dan request di Windows
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 31
DNS Cache di Windows  Lewat CMD
C:UsersDir-ICT>ipconfig /displaydns
Windows IP Configuration
www.gstatic.com
----------------------------------------
Record Name . . . . . : www.gstatic.com
Record Type . . . . . : 1
Time To Live . . . . : 1080
Data Length . . . . . : 4
Section . . . . . . . : Answer
A (Host) Record . . . : 172.217.27.3
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 32
Record file host :
C:WindowsSystem32driversetc
• # ini adalah contoh isi file hosts
127.0.0.1 localhost loopback
127.0.0.1 localdomain
::1 localhost
::1 localhost
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 33
Fungsi DNS Cache
• Sebagai Database lokal DNS Sementara
• Mempercepat request DNS berikutnya
• Infomasi record DNS dari DNS server akan tersimpan sementara di
cache selama TTL.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 34
Kasus : “Internet Positif” /”Nawala DNS”
• Karena yang digunakan adalah
DNS “khusus”
• Bisa juga melalukan filtering /
firewall DNS.
• Client tanya ke DNS ISP
• DNS ISP menggunakan parent
DNS yg terfilter misal DNS
Internet positif/ nawala
• Informasi DNS akan terfilter.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 35
Kasus Domain
pindah
Hosting
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 36
Tambahan : Koneksi tidak langsung
• Proxy
• IP Proxy
• Web Proxy
• VPN
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 37
Koneksi tidak langsung VPN / Proxy
• Koneksi Normla Biru, jika biru
ke arah web/server tujuan d
blokir bisa menggunakan pihak
ketiga (proxy/VPN).
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 38
Related Terms DNS
• DNS parking (domain parking)
• domain name
• split DNS
• Berkeley Internet Name Domain
• round robin DNS
• child domain
• domain name naming authority
• domain name dispute
• domain name registrar
• domain name resolvers
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 39
http://www.webopedia.com/TERM/D/DNS_parking.html
Tool eksternal terkait DNS
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 40
dnschecker.org
• Digunakan utuk menguji apakah Sebuah domain sudah resoved engan
baik di berbagai lokasi
• Bisanya digunakan saat sebuah domain/sub domain baru dibuat, ada
perpindahan server (alamat IP), setelah terjadi gangguan dll
• Hasil test mennjukan status OK (Centang) dari berbagai lokasi test.
• Jika ada yang tanda silang, bisa jadi DNS / Domain kita tidak bisa
diakses dari lokasi tersebut (Mungkin masalah local di suatu area)
seperti domain di Blokir, masalah DNS resolver yang mereka gunakan,
dll.
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 41
https://dnschecker.org (Tampilan awal)
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 42
https://dnschecker.org (Tampilan Hasil)
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 43
Open DNS Cache Check
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 44
Bahan Bacaan
• Chris Gonyea, DNS: Why It’s Important & How It Works, http://dyn.com/blog/dns-why-its-
important-how-it-works di akses 31 Mei 2017
• Vangie Beal, DNS, http://www.webopedia.com/TERM/D/DNS.html di akses 31 Mei 2017
• Managing Domain Name Servers : What Is A Domain Name Server (DNS) And How Does It Work,
http://www.networksolutions.com/support/what-is-a-domain-name-server-dns-and-how-does-
it-work/
• Apa itu Redirect DNS Resolver, https://www.idreg.net/apa-itu-redirect-dns-resolver/
• Seting DNS Server, https://pemula.linux.or.id/admin/setting-dns-server.html
10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 45

More Related Content

What's hot

Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administrationwebhostingguy
 
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3Vanidlesky Onibala
 
Adminlicious - A Guide To TCO Features In Domino v10
Adminlicious - A Guide To TCO Features In Domino v10Adminlicious - A Guide To TCO Features In Domino v10
Adminlicious - A Guide To TCO Features In Domino v10Gabriella Davis
 
Web server administration
Web server administrationWeb server administration
Web server administrationsawsan slii
 
Understanding the Web through HTTP
Understanding the Web through HTTPUnderstanding the Web through HTTP
Understanding the Web through HTTPOlivia Brundage
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Serverwebhostingguy
 
21 Www Web Services
21 Www Web Services21 Www Web Services
21 Www Web Servicesroyans
 
Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Sahira Khan
 
Basic Lecture on Domains and Webhosting
Basic Lecture on Domains and WebhostingBasic Lecture on Domains and Webhosting
Basic Lecture on Domains and WebhostingMarie Claire Ponsaran
 
Web Hosting Starter Guide
Web Hosting Starter GuideWeb Hosting Starter Guide
Web Hosting Starter Guidewebhostingguy
 
Apache web server tutorial for linux
Apache web server tutorial for linuxApache web server tutorial for linux
Apache web server tutorial for linuxSahad Sali
 
An Introduction To The DMARC SMTP Validation Requirements
An Introduction To The DMARC SMTP Validation RequirementsAn Introduction To The DMARC SMTP Validation Requirements
An Introduction To The DMARC SMTP Validation RequirementsGabriella Davis
 

What's hot (19)

main
mainmain
main
 
Meeting 4 DNS
Meeting 4   DNSMeeting 4   DNS
Meeting 4 DNS
 
Web Server Administration
Web Server AdministrationWeb Server Administration
Web Server Administration
 
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
Contoh Soal LKS IT Network 2014 Di Palembang Modul 3
 
Adminlicious - A Guide To TCO Features In Domino v10
Adminlicious - A Guide To TCO Features In Domino v10Adminlicious - A Guide To TCO Features In Domino v10
Adminlicious - A Guide To TCO Features In Domino v10
 
Web server administration
Web server administrationWeb server administration
Web server administration
 
web server
web serverweb server
web server
 
Understanding the Web through HTTP
Understanding the Web through HTTPUnderstanding the Web through HTTP
Understanding the Web through HTTP
 
Cc proxy
Cc proxyCc proxy
Cc proxy
 
Configuring the Apache Web Server
Configuring the Apache Web ServerConfiguring the Apache Web Server
Configuring the Apache Web Server
 
21 Www Web Services
21 Www Web Services21 Www Web Services
21 Www Web Services
 
Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)Dhcp, dns and proxy server (1)
Dhcp, dns and proxy server (1)
 
Basic Lecture on Domains and Webhosting
Basic Lecture on Domains and WebhostingBasic Lecture on Domains and Webhosting
Basic Lecture on Domains and Webhosting
 
COZA HOST HELP
COZA HOST HELPCOZA HOST HELP
COZA HOST HELP
 
Web admin
Web adminWeb admin
Web admin
 
Web Hosting Starter Guide
Web Hosting Starter GuideWeb Hosting Starter Guide
Web Hosting Starter Guide
 
Apache web server tutorial for linux
Apache web server tutorial for linuxApache web server tutorial for linux
Apache web server tutorial for linux
 
Apache web server
Apache web serverApache web server
Apache web server
 
An Introduction To The DMARC SMTP Validation Requirements
An Introduction To The DMARC SMTP Validation RequirementsAn Introduction To The DMARC SMTP Validation Requirements
An Introduction To The DMARC SMTP Validation Requirements
 

Similar to DNS - Jaringan Komputer

Domain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting BasicsDomain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting BasicsAsif Shahzad
 
Domain Name System and Dynamic Host Configuration Protocol.pptx
Domain Name System and Dynamic Host Configuration Protocol.pptxDomain Name System and Dynamic Host Configuration Protocol.pptx
Domain Name System and Dynamic Host Configuration Protocol.pptxUsmanAhmed269749
 
10 - Domain Name System.ppt
10 - Domain Name System.ppt10 - Domain Name System.ppt
10 - Domain Name System.pptssuserf7cd2b
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name SystemChinmay Joshi
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptxKailashTayde
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)Amandeep Kaur
 
DOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptxDOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptxKimberlyAbalde
 

Similar to DNS - Jaringan Komputer (20)

Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting BasicsDomain Name System (DNS) - Domain Registration and Website Hosting Basics
Domain Name System (DNS) - Domain Registration and Website Hosting Basics
 
Presentation2.pptx
Presentation2.pptxPresentation2.pptx
Presentation2.pptx
 
Dns server
Dns serverDns server
Dns server
 
Domain Name System and Dynamic Host Configuration Protocol.pptx
Domain Name System and Dynamic Host Configuration Protocol.pptxDomain Name System and Dynamic Host Configuration Protocol.pptx
Domain Name System and Dynamic Host Configuration Protocol.pptx
 
10 - Domain Name System.ppt
10 - Domain Name System.ppt10 - Domain Name System.ppt
10 - Domain Name System.ppt
 
Dns
DnsDns
Dns
 
Presentation on Domain Name System
Presentation on Domain Name SystemPresentation on Domain Name System
Presentation on Domain Name System
 
Dn sonly
Dn sonlyDn sonly
Dn sonly
 
DNSPresentation.pptx
DNSPresentation.pptxDNSPresentation.pptx
DNSPresentation.pptx
 
Lecture 5- url-dns
Lecture  5- url-dnsLecture  5- url-dns
Lecture 5- url-dns
 
Domain name system
Domain name systemDomain name system
Domain name system
 
Intro to DNS
Intro to DNSIntro to DNS
Intro to DNS
 
DNS
DNSDNS
DNS
 
Domain Name System
Domain Name SystemDomain Name System
Domain Name System
 
Dns1111111111
Dns1111111111Dns1111111111
Dns1111111111
 
How to configure dns server(2)
How to configure dns server(2)How to configure dns server(2)
How to configure dns server(2)
 
Linux basics andng hosti
Linux basics andng hostiLinux basics andng hosti
Linux basics andng hosti
 
DNS_Presentation.pptx
DNS_Presentation.pptxDNS_Presentation.pptx
DNS_Presentation.pptx
 
DOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptxDOMAIN NAME SYSTEM.pptx
DOMAIN NAME SYSTEM.pptx
 

More from Imam Suharjo

Manajemen server web dengan WHM/cpanel, Virtualmin
Manajemen server web dengan WHM/cpanel, VirtualminManajemen server web dengan WHM/cpanel, Virtualmin
Manajemen server web dengan WHM/cpanel, VirtualminImam Suharjo
 
KKN ppm umby edisi adaptasi kebiasaan baru 2021 doc
KKN ppm umby edisi adaptasi kebiasaan baru 2021 docKKN ppm umby edisi adaptasi kebiasaan baru 2021 doc
KKN ppm umby edisi adaptasi kebiasaan baru 2021 docImam Suharjo
 
Review Pemeringkatan Webometric dan 4icu 2021
Review Pemeringkatan Webometric dan 4icu 2021 Review Pemeringkatan Webometric dan 4icu 2021
Review Pemeringkatan Webometric dan 4icu 2021 Imam Suharjo
 
Akses website testing
Akses website testingAkses website testing
Akses website testingImam Suharjo
 
Website testing dan report
Website testing dan reportWebsite testing dan report
Website testing dan reportImam Suharjo
 
Testingan Website - Testing Jaringan
Testingan Website -  Testing JaringanTestingan Website -  Testing Jaringan
Testingan Website - Testing JaringanImam Suharjo
 
Pengantar Nama Domain Internet
Pengantar Nama Domain InternetPengantar Nama Domain Internet
Pengantar Nama Domain InternetImam Suharjo
 

More from Imam Suharjo (7)

Manajemen server web dengan WHM/cpanel, Virtualmin
Manajemen server web dengan WHM/cpanel, VirtualminManajemen server web dengan WHM/cpanel, Virtualmin
Manajemen server web dengan WHM/cpanel, Virtualmin
 
KKN ppm umby edisi adaptasi kebiasaan baru 2021 doc
KKN ppm umby edisi adaptasi kebiasaan baru 2021 docKKN ppm umby edisi adaptasi kebiasaan baru 2021 doc
KKN ppm umby edisi adaptasi kebiasaan baru 2021 doc
 
Review Pemeringkatan Webometric dan 4icu 2021
Review Pemeringkatan Webometric dan 4icu 2021 Review Pemeringkatan Webometric dan 4icu 2021
Review Pemeringkatan Webometric dan 4icu 2021
 
Akses website testing
Akses website testingAkses website testing
Akses website testing
 
Website testing dan report
Website testing dan reportWebsite testing dan report
Website testing dan report
 
Testingan Website - Testing Jaringan
Testingan Website -  Testing JaringanTestingan Website -  Testing Jaringan
Testingan Website - Testing Jaringan
 
Pengantar Nama Domain Internet
Pengantar Nama Domain InternetPengantar Nama Domain Internet
Pengantar Nama Domain Internet
 

Recently uploaded

Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Excelmac1
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Lucknow
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一Fs
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Sonam Pathan
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Roomishabajaj13
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 

Recently uploaded (20)

Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...Blepharitis inflammation of eyelid symptoms cause everything included along w...
Blepharitis inflammation of eyelid symptoms cause everything included along w...
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
定制(Management毕业证书)新加坡管理大学毕业证成绩单原版一比一
 
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
Call Girls In The Ocean Pearl Retreat Hotel New Delhi 9873777170
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With RoomVIP Kolkata Call Girl Salt Lake 👉 8250192130  Available With Room
VIP Kolkata Call Girl Salt Lake 👉 8250192130 Available With Room
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 

DNS - Jaringan Komputer

  • 1. DNS Domain Name System (Service / Server) Jaringan Komputer DNS Rev 03 Imam Suharjo - 2020
  • 2. INTRO 1. Mengapa ada domain? 2. Mengapa ada DNS? 3. DNS digunakan dimana? 4. Bagaimana cara kerja DNS? 5. Siapa yang bisa membuat DNS Server? 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 2
  • 3. Domain Name System (DNS) • DNS adalah layanan Internet yang menerjemahkan nama domain menjadi alamat IP. Karena nama domain dengan abjad akan lebih mudah diingat. Pada dasarnya Internet didasarkan pada alamat IP. • Setiap kali menggunakan nama domain, oleh karena itu, layanan DNS harus menerjemahkan namanya ke alamat IP yang sesuai. • Saat mengunjungi domain seperti mercu.id , komputer Anda mengikuti serangkaian langkah untuk mengubah alamat web yang dapat dibaca manusia menjadi alamat IP yang dapat dibaca oleh mesin. Hal ini akan terjadi setiap kali menggunakan nama domain seperti , membuka situs web, kirim email atau mendengarkan radio internet. • Sistem DNS sebenarnya adalah jaringan sendiri. Jika satu server DNS tidak tahu bagaimana menerjemahkan nama domain tertentu, itu akan meminta yang lain, dan seterusnya, sampai alamat IP yang benar dikembalikan. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 3
  • 4. Cara Kerja DNS 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 4 http://www.incisozluk.com.tr/w/domain-name-system-dns-nasil-calisir/
  • 5. Contoh Domain, Domain = Nama • Indonesia : TLD  cctLD = .ID contoh : mercu.id, jd.id • SLD  go.id, ac.id, sch.id, co.id, or.id, net.id  ugm.ac.id, telkom.net.id • Sub domain : sasa.bejo.test1212.mercu.id • Cache : isi : TTL 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 5
  • 6. Type Record DNS • A Address Record Returns a 32-bit IPv4 address, most commonly used to map hostnames to an IP address of the host,but it is also used for DNSBLs, storing subnet masks in RFC 1101, etc. • CNAME Canonical Name Record Alias of one name to another: the DNS lookup will continue by retrying the lookup with the new name. • MX Mail Exchange Record Maps a domain name to a list of message transfer agents for that domain • AAAA IPv6 Address RecordReturns a 128-bit IPv6 address, most commonly used to map hostnames to an IP address of the host. • TXT Text Record Originally for arbitrary human-readable text in a DNS record. Since the early 1990s, however, this record more often carriesmachine-readable data, such as specified by RFC 1464, opportunistic encryption, Sender Policy Framework, DKIM, DMARC, DNS-SD, etc. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 6
  • 7. Type Record DNS • PTR Pointer Record Pointer to a canonical name. Unlike a CNAME, DNS processing stops and just the name is returned. The most common use is for implementing reverse DNS lookups, but other uses include such things as DNS-SD. • SRV Service locator Generalized service location record, used for newer protocols instead of creating protocol-specific records such as MX. • SPF Sender Policy Framework SPF(99) (from RFC 4408) was specified as part of the Sender Policy Framework protocol as an alternative to storing SPF data in TXT records, using the same format. It was later found that the majority of SPF deployments lack proper support for this record type, and support for it was discontinued in RFC 7208. • NS Name Server record Delegates a DNS zone to use the given authoritative name servers • SOA Start of [a zone of] Authority Record Specifies authoritative information about a DNS zone, including the primary name server, the email of the domain administrator, the domain serial number, and several timers relating to refreshing the zone. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 7
  • 8. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 8 https://asmed.com/comptia-amazon-aws-dns-records-types/
  • 9. The Domain Name System (aka DNS) • The DNS is used to resolve human-readable hostnames like www.Dyn.com into machine-readable IP addresses like 204.13.248.115. DNS also provides other information about domain names, such as mail services. • DNS is like a phone book for the Internet. If you know a person’s name but don’t know their telephone number, you can simply look it up in a phone book. DNS provides this same service to the Internet. • When you visit http://dyn.com in a browser, your computer uses DNS to retrieve the website’s IP address of 204.13.248.115. Without DNS, you would only be able to visit our website (or any website) by visiting its IP address directly, such as http://204.13.248.115. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 9 http://dyn.com/blog/dns-why-its-important-how-it-works/
  • 10. 1. Cache : history (flush) 2. IP DNS 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 10
  • 11. Step 1: Request information • The process begins when you ask your computer to resolve a hostname, such as visiting http://dyn.com. • The first place your computer looks is its local DNS cache, which stores information that your computer has recently retrieved. • If your computer doesn’t already know the answer, it needs to perform a DNS query to find out. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 11
  • 12. Step 2: Ask the recursive DNS servers • If the information is not stored locally, your computer queries (contacts) your ISP’s recursive DNS servers. • These specialized computers perform the legwork of a DNS query on your behalf. • Recursive servers have their own caches, so the process usually ends here and the information is returned to the user. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 12
  • 13. Step 3: Ask the root nameservers • If the recursive servers don’t have the answer, they query the root nameservers. • A nameserver is a computer that answers questions about domain names, such as IP addresses. • The thirteen root nameservers act as a kind of telephone switchboard for DNS. • They don’t know the answer, but they can direct our query to someone that knows where to find it. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 13
  • 14. Step 4: Ask the TLD nameservers • The root nameservers will look at the first part of our request, reading from right to left — www.dyn.com — and direct our query to the Top- Level Domain (TLD) nameservers for .com. • Each TLD, such as .com, .org, and .us, have their own set of nameservers, which act like a receptionist for each TLD. • These servers don’t have the information we need, but they can refer us directly to the servers that do have the information. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 14
  • 15. • TLD : • GTLD : > LBH DR 2 CHAR • ccTLD : • https://www.iana.org/domains/root/db 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 15
  • 16. Step 5: Ask the authoritative DNS servers • The TLD nameservers review the next part of our request — www.dyn.com — and direct our query to the nameservers responsible for this specific domain. • These authoritative nameservers are responsible for knowing all the information about a specific domain, which are stored in DNS records. • There are many types of records, which each contain a different kind of information. • In this example, we want to know the IP address for www.dyndns.com, so we ask the authoritative nameserver for the Address Record (A). 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 16
  • 17. Step 6: Retrieve the record • The recursive server retrieves the A record for dyn.com from the authoritative nameservers and stores the record in its local cache. • If anyone else requests the host record for dyn.com, the recursive servers will already have the answer and will not need to go through the lookup process again. • All records have a time-to-live (TTL) value, which is like an expiration date. • After a while, the recursive server will need to ask for a new copy of the record to make sure the information doesn’t become out-of-date. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 17
  • 18. Step 7: Receive the answer • Armed with the answer, recursive server returns the A record back to your computer. • Your computer stores the record in its cache, reads the IP address from the record, then passes this information to your browser. • The browser then opens a connection to the webserver and receives the website. • This entire process, from start to finish, takes only milliseconds to complete. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 18
  • 19. Domain Name Servers (DNS) • Domain Name Servers (DNS) are the Internet's equivalent of a phone book. They maintain a directory of domain names and translate them to Internet Protocol (IP) addresses. • This is necessary because, although domain names are easy for people to remember, computers or machines, access websites based on IP addresses. • Information from all the domain name servers across the Internet are gathered together and housed at the Central Registry. Host companies and Internet Service Providers interact with the Central Registry on a regular schedule to get updated DNS information. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 19 http://www.networksolutions.com/support/what-is-a-domain- name-server-dns-and-how-does-it-work/
  • 20. Domain Name Servers (DNS) • When you type in a web address, e.g., www.jimsbikes.com, your Internet Service Provider views the DNS associated with the domain name, translates it into a machine friendly IP address (for example 216.168.224.70 is the IP for jimsbikes.com) and directs your Internet connection to the correct website. • After you register a new domain name or when you update the DNS servers on your domain name, it usually takes about 12-36 hours for the domain name servers world-wide to be updated and able to access the information. This 36-hour period is referred to as propagation. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 20 http://www.networksolutions.com/support/what-is-a-domain- name-server-dns-and-how-does-it-work/
  • 21. DNS • Sistem/Server untuk Domain • Domain = Internet Domain = Nama untuk sebuah host/server/web • Seperti akses Internet : .com .net .org dll • Domain lokal : namaku.local (Local domain) • Tujuannya : • Seperti Buku Telepon / Mempermudah pemanggilan • Adanya Domain  Mudah, Sebagai Identitas, Branding (tempo.co an.tv rcti.tv), Nama yg Public. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 21
  • 22. Ada apa saja di DNS? Beberapa isitilah di DNS : • DNS Server • DNS resolver • DNS Client • IP address – Domain • Mercu.id – 103.58.111.100 • Mercu.localhost – IP komputer lokal – 127.0.0.1 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 22
  • 23. DNS resolver • DNS resolver adalah client side dari Domain Name System yang melakukan query dan menjadi inisiator translasi nama domain ke IP address. DNS resolver merupakan bagian dari sistem yang memudahkan anda untuk melakukan browsing dengan menggunakan nama-nama domain dan bukan lagi menggunakan IP address. • Contoh ada sebuah perusahaan besar yang memiliki banyak sekali komputer yang terhubung dengan jaringan internet. Merekapun harus mengisi/memasukkan DNS resolver untuk mempermudah dalam mengakses situs-situs di internet. Jika perusahaan tersebut tidak memiliki DNS server sendiri, maka bisa diisi DNS resolver dari ISP yang digunakan. • Redirect DNS resolver adalah pemindahan tujuan DNS server dari DNS resolver. Biasanya hal tersebut dilakukan jika kita memiliki jumlah komputer yang banyak dan mau mengganti dns resolver dengan yang baru karena dns resolver yang lama sudah tidak bisa digunakan. Karena jika dilakukan penggantian secara manual membutuhkan waktu yang sangat banyak. (Idreg.net) 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 23
  • 24. DNS Server & Client • Server yang bekerja sebagai DNS : menyimpan informasi nama domain dan IP address. IP DNS bisa digunakan oleh client sebagai Server DNS di setingan (network). • Perlu softwrae untuk DNS server • DNS yg digunakan client bsia > 1, sebagai alternatif DNS (Primari dan Secondary DNS). 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 24
  • 25. DNS Server di linux • DNS Server di linux biasanya dijalankan oleh program yang bernama named. Program ini merupakan bagian dari paket bind yang dikoordinasikan oleh Paul Vixie dari The Internet Software Consortium. Biasanya program ini terletak di /usr/sbin/named dan dijalankan pada waktu booting dari /etc/rc.d/init.d/named start. Agar named dijalankan pada setiap booting masukkan named ke daftar server yang harus distart dengan menggunakan ntsysv. (pemula.linux.or.id) 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 25
  • 26. Dimana IP DNS digunakan? DNS Server PC Client Router Perangkat jaringan lain yang membutuhkan akses ke domain (internet). Primari dan alterntif : Alternatif jika yang primary bermasalah / tidak menjawab. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 26
  • 27. Kenapa DNS serba tahu tentang domain? • DNS server tidak menyimpan semua informasi domain di dunia, namun kalau di tanya (request) dia tahu dan akan menjawab. • Dari mana dia bisa tahu? • DNS Tahu dari Parent(s) DNS  parent juga DNS. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 27
  • 28. DNS Cache • Cache DNS : temporary (Sementara) data (DNS) yang tersimpan di lokal. Nama, IP, Type, TTL. • Seberapa lama tersimpan : TTL Time To Life • TTL : detik, menit, jam hari. • Sesuai dengan yang membuat / yang punya domain ybs. • Setelah TTL sebuah domai habis : maka record ttg doamin trsb hilang sendiri. • Cara hapus cache : ipconfig /flushdns 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 28
  • 29. Type DNS Antara lain : • A : domain – IPv4 • AAAA : domain – IPv6 • CNAME : Domain - Domain • NS : Domain – Domain (NS) • SOA : Domain – domain (NS) 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 29
  • 30. • Domain.com ns • Satu.domain.com 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 30
  • 31. Cache di Mikrotik dan request di Windows 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 31
  • 32. DNS Cache di Windows  Lewat CMD C:UsersDir-ICT>ipconfig /displaydns Windows IP Configuration www.gstatic.com ---------------------------------------- Record Name . . . . . : www.gstatic.com Record Type . . . . . : 1 Time To Live . . . . : 1080 Data Length . . . . . : 4 Section . . . . . . . : Answer A (Host) Record . . . : 172.217.27.3 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 32
  • 33. Record file host : C:WindowsSystem32driversetc • # ini adalah contoh isi file hosts 127.0.0.1 localhost loopback 127.0.0.1 localdomain ::1 localhost ::1 localhost 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 33
  • 34. Fungsi DNS Cache • Sebagai Database lokal DNS Sementara • Mempercepat request DNS berikutnya • Infomasi record DNS dari DNS server akan tersimpan sementara di cache selama TTL. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 34
  • 35. Kasus : “Internet Positif” /”Nawala DNS” • Karena yang digunakan adalah DNS “khusus” • Bisa juga melalukan filtering / firewall DNS. • Client tanya ke DNS ISP • DNS ISP menggunakan parent DNS yg terfilter misal DNS Internet positif/ nawala • Informasi DNS akan terfilter. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 35
  • 36. Kasus Domain pindah Hosting 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 36
  • 37. Tambahan : Koneksi tidak langsung • Proxy • IP Proxy • Web Proxy • VPN 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 37
  • 38. Koneksi tidak langsung VPN / Proxy • Koneksi Normla Biru, jika biru ke arah web/server tujuan d blokir bisa menggunakan pihak ketiga (proxy/VPN). 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 38
  • 39. Related Terms DNS • DNS parking (domain parking) • domain name • split DNS • Berkeley Internet Name Domain • round robin DNS • child domain • domain name naming authority • domain name dispute • domain name registrar • domain name resolvers 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 39 http://www.webopedia.com/TERM/D/DNS_parking.html
  • 40. Tool eksternal terkait DNS 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 40
  • 41. dnschecker.org • Digunakan utuk menguji apakah Sebuah domain sudah resoved engan baik di berbagai lokasi • Bisanya digunakan saat sebuah domain/sub domain baru dibuat, ada perpindahan server (alamat IP), setelah terjadi gangguan dll • Hasil test mennjukan status OK (Centang) dari berbagai lokasi test. • Jika ada yang tanda silang, bisa jadi DNS / Domain kita tidak bisa diakses dari lokasi tersebut (Mungkin masalah local di suatu area) seperti domain di Blokir, masalah DNS resolver yang mereka gunakan, dll. 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 41
  • 42. https://dnschecker.org (Tampilan awal) 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 42
  • 43. https://dnschecker.org (Tampilan Hasil) 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 43
  • 44. Open DNS Cache Check 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 44
  • 45. Bahan Bacaan • Chris Gonyea, DNS: Why It’s Important & How It Works, http://dyn.com/blog/dns-why-its- important-how-it-works di akses 31 Mei 2017 • Vangie Beal, DNS, http://www.webopedia.com/TERM/D/DNS.html di akses 31 Mei 2017 • Managing Domain Name Servers : What Is A Domain Name Server (DNS) And How Does It Work, http://www.networksolutions.com/support/what-is-a-domain-name-server-dns-and-how-does- it-work/ • Apa itu Redirect DNS Resolver, https://www.idreg.net/apa-itu-redirect-dns-resolver/ • Seting DNS Server, https://pemula.linux.or.id/admin/setting-dns-server.html 10/06/2021 Imam Suharjo http://imam.mercubuana-yogya.ac.id 45