Kategoriler

29 Nisan 2015 Çarşamba

Linux: perform Manual DNS Queries with dig tool


dig (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. Most DNS administrators use dig to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than dig.

[root@ayse ~]# dig +short NS trakya.edu.tr @8.8.8.8
tubimdc.trakya.edu.tr.
tubim.trakya.edu.tr.
[root@ayse ~]# dig +short A www.trakya.edu.tr @tubimdc.trakya.edu.tr
193.255.140.50
[root@ayse~]# dig +short MX trakya.edu.tr @tubimdc.trakya.edu.tr
0 mail.trakya.edu.tr.
[root@ayse~]# dig +short A mail.trakya.edu.tr @tubimdc.trakya.edu.tr
193.255.140.16
[root@ayse~]#

Hiç yorum yok:

Yorum Gönder