PowerDNS: Cek dari komputer lain

From OnnoWiki
Jump to navigation Jump to search

Format perintah

dig domain.id @IPv6-DNS
dig A domain.id @IPv6-DNS
dig NS domain.id @IPv6-DNS
dig MX domain.id @IPv6-DNS
dig AAAA domain.id @IPv6-DNS

Contoh Cek A

dig www.contoh.web.id @2001:470:36:ab6::100 

; <<>> DiG 9.9.5-3-Ubuntu <<>> www.contoh.web.id @2001:470:36:ab6::100 
;; global options: +cmd 
;; Got answer: 
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7037 
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 
;; WARNING: recursion requested but not available 

;; OPT PSEUDOSECTION: 
; EDNS: version: 0, flags:; udp: 2800 
;; QUESTION SECTION: 
;www.contoh.web.id.		IN	A 

;; ANSWER SECTION: 
www.contoh.web.id.	120	IN	A	192.168.0.100 

;; Query time: 3 msec 
;; SERVER: 2001:470:36:ab6::100#53(2001:470:36:ab6::100) 
;; WHEN: Tue Jun 30 10:09:53 WIB 2015 
;; MSG SIZE  rcvd: 62 

Contoh Cek NS

dig NS contoh.web.id @2001:470:36:ab6::100 
; <<>> DiG 9.9.5-3-Ubuntu <<>> NS contoh.web.id @2001:470:36:ab6::100 
;; global options: +cmd 
;; Got answer: 
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 49328 
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 2 
;; WARNING: recursion requested but not available 

;; OPT PSEUDOSECTION: 
; EDNS: version: 0, flags:; udp: 2800 
;; QUESTION SECTION: 
;contoh.web.id.			IN	NS 

;; ANSWER SECTION: 
contoh.web.id.		86400	IN	NS	ns1.contoh.web.id. 
contoh.web.id.		86400	IN	NS	ns1.isp.net.id. 

;; ADDITIONAL SECTION: 
ns1.contoh.web.id.	120	IN	A	192.168.0.100 

;; Query time: 3 msec 
;; SERVER: 2001:470:36:ab6::100#53(2001:470:36:ab6::100) 
;; WHEN: Tue Jun 30 10:08:50 WIB 2015 
;; MSG SIZE  rcvd: 102 

Contoh Cek MX

dig MX contoh.web.id @2001:470:36:ab6::100 

; <<>> DiG 9.9.5-3-Ubuntu <<>> MX contoh.web.id @2001:470:36:ab6::100 
;; global options: +cmd 
;; Got answer: 
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18947 
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 3 
;; WARNING: recursion requested but not available 

;; OPT PSEUDOSECTION: 
; EDNS: version: 0, flags:; udp: 2800 
;; QUESTION SECTION: 
;contoh.web.id.			IN	MX 

;; ANSWER SECTION: 
contoh.web.id.		120	IN	MX	25 mail.contoh.web.id. 

;; ADDITIONAL SECTION: 
mail.contoh.web.id.	120	IN	AAAA	2001:470:36:ab6::100 
mail.contoh.web.id.	120	IN	A	192.168.0.100  

;; Query time: 2 msec 
;; SERVER: 2001:470:36:ab6::100#53(2001:470:36:ab6::100) 
;; WHEN: Tue Jun 30 10:07:36 WIB 2015 
;; MSG SIZE  rcvd: 107 

Contoh Cek AAAA

dig AAAA www.contoh.web.id @2001:470:36:ab6::100 
; <<>> DiG 9.9.5-3-Ubuntu <<>> AAAA www.contoh.web.id @2001:470:36:ab6::100 
;; global options: +cmd 
;; Got answer: 
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 826 
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 
;; WARNING: recursion requested but not available 

;; OPT PSEUDOSECTION: 
; EDNS: version: 0, flags:; udp: 2800 
;; QUESTION SECTION: 
;www.contoh.web.id.		IN	AAAA 

;; ANSWER SECTION: 
www.contoh.web.id.	120	IN	AAAA	2001:470:36:ab6::100 

;; Query time: 2 msec 
;; SERVER: 2001:470:36:ab6::100#53(2001:470:36:ab6::100) 
;; WHEN: Tue Jun 30 10:06:10 WIB 2015 
;; MSG SIZE  rcvd: 74 


Pranala Menarik