Comments on: 10 Linux Dig (Domain Information Groper) Commands to Query DNS https://www.tecmint.com/dig-command-examples/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Fri, 14 Jul 2023 03:14:58 +0000 hourly 1 By: Renjith https://www.tecmint.com/dig-command-examples/comment-page-1/#comment-1566496 Thu, 12 Aug 2021 19:03:05 +0000 http://www.tecmint.com/?p=786#comment-1566496 Let’s say, IP of my PC=192.168.1.5
IP of my local DNS=10.10.10.10
IP of resolver1 = 1.1.1.1

(don’t worry about routing) assuming port 53 open everywhere.

when we use from myPC# dig @resolver1 test.com ==> whether the local DNS of my PC is being used? or is it the IP address of my PC used as the source IP?

]]>
By: Anax https://www.tecmint.com/dig-command-examples/comment-page-1/#comment-360001 Wed, 05 Nov 2014 19:07:35 +0000 http://www.tecmint.com/?p=786#comment-360001 Thank you man! Very useful article !

Another trick: it’s possible to use a specific DNS-RESOLVER IP-address, instead those from the system ( /etc/resolv.conf ).

Below, I queried to the PUBLIC RESOLVER from Google (8.8.8.8):

# dig @8.8.8.8 http://www.google.com. +short
189.86.41.103
189.86.41.109
189.86.41.84
189.86.41.118
189.86.41.93
189.86.41.98
189.86.41.104
189.86.41.108
189.86.41.99
189.86.41.119
189.86.41.113
189.86.41.123
189.86.41.88
189.86.41.89
189.86.41.94
189.86.41.114

]]>
By: dan waterloo https://www.tecmint.com/dig-command-examples/comment-page-1/#comment-235907 Sat, 09 Aug 2014 10:44:56 +0000 http://www.tecmint.com/?p=786#comment-235907 thanks… this site has been very helpful, and these examples really shorten the learning curve!

]]>
By: akhilesh https://www.tecmint.com/dig-command-examples/comment-page-1/#comment-22918 Fri, 01 Feb 2013 07:09:45 +0000 http://www.tecmint.com/?p=786#comment-22918 Excellent Stuff !

]]>