DNS tool DIG hints

Olen aastaid dig nimelist tööriista kasutanud kuid AXFR päring oli mul kas siis teadmata või kuidagi kahe silma vahele jäänud. Lausa häbi.

Igaljuhul panen siia endale kirja, ehk tuleb veel midagi dig-i kohta huvitavat

AXFR – annab siis päritava domeeni kohta kogu seti juhul kui AXFR lubatud (allow-transfer { }; option plokis)

[Fri Oct 15 19:54:42 margusja@IRack dig AXFR roo.ee @ns2.okia.ee

; <<>> DiG 9.6.0-APPLE-P2 <<>> AXFR roo.ee @ns2.okia.ee
;; global options: +cmd
roo.ee. 14400 IN SOA ns3.okia.ee. hostmaster.roo.ee. 2010072003 14400 3600 1209600 86400
roo.ee. 14400 IN NS ns2.okia.ee.
roo.ee. 14400 IN NS ns3.okia.ee.
roo.ee. 14400 IN A 90.190.106.29
roo.ee. 14400 IN MX 10 mail.roo.ee.
roo.ee. 14400 IN TXT "v=spf1 a mx ip4:90.190.106.29 ~all"
ftp.roo.ee. 14400 IN A 90.190.106.29
localhost.roo.ee. 14400 IN A 127.0.0.1
mail.roo.ee. 14400 IN A 90.190.106.29
margus.roo.ee. 14400 IN CNAME roo.ee.
pop.roo.ee. 14400 IN A 90.190.106.29
smtp.roo.ee. 14400 IN A 90.190.106.29
www.roo.ee. 14400 IN A 90.190.106.29
roo.ee. 14400 IN SOA ns3.okia.ee. hostmaster.roo.ee. 2010072003 14400 3600 1209600 86400
;; Query time: 173 msec
;; SERVER: 67.207.134.150#53(67.207.134.150)
;; WHEN: Fri Oct 15 19:57:38 2010
;; XFR size: 14 records (messages 1, bytes 376)

[Fri Oct 15 19:57:38 margusja@IRack

PTR päring. Reverse päringud. Samuti hea näha ISP

[Fri Oct 15 21:12:59 margusja@IRack dig 23.106.190.90.in-addr.arpa PTR

; <<>> DiG 9.6.0-APPLE-P2 <<>> 23.106.190.90.in-addr.arpa PTR
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 12135 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3 ;; QUESTION SECTION: ;23.106.190.90.in-addr.arpa. IN PTR ;; ANSWER SECTION: 23.106.190.90.in-addr.arpa. 10800 IN PTR 90-190-106-23-dbweb.ee. ;; AUTHORITY SECTION: 106.190.90.in-addr.arpa. 3497 IN NS ns2.elion.ee. 106.190.90.in-addr.arpa. 3497 IN NS ns.elion.ee. ;; ADDITIONAL SECTION: ns.elion.ee. 4864 IN A 213.168.18.146 ns.elion.ee. 9032 IN AAAA 2001:7d0::7:215:60ff:fe0c:d578 ns2.elion.ee. 4272 IN A 195.50.193.163 ;; Query time: 28 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Fri Oct 15 21:13:19 2010 ;; MSG SIZE rcvd: 181 [Fri Oct 15 21:13:19 margusja@IRack

Või

[Fri Oct 15 21:13:19 margusja@IRack dig -x 90.190.106.23

; <<>> DiG 9.6.0-APPLE-P2 <<>> -x 90.190.106.23
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3581 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3 ;; QUESTION SECTION: ;23.106.190.90.in-addr.arpa. IN PTR ;; ANSWER SECTION: 23.106.190.90.in-addr.arpa. 10800 IN PTR 90-190-106-23-dbweb.ee. ;; AUTHORITY SECTION: 106.190.90.in-addr.arpa. 10386 IN NS ns.elion.ee. 106.190.90.in-addr.arpa. 10386 IN NS ns2.elion.ee. ;; ADDITIONAL SECTION: ns.elion.ee. 4544 IN A 213.168.18.146 ns.elion.ee. 8686 IN AAAA 2001:7d0::7:215:60ff:fe0c:d578 ns2.elion.ee. 3929 IN A 195.50.193.163 ;; Query time: 30 msec ;; SERVER: 192.168.1.254#53(192.168.1.254) ;; WHEN: Fri Oct 15 21:15:55 2010 ;; MSG SIZE rcvd: 181 [Fri Oct 15 21:15:55 margusja@IRack

Leave a Reply