Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Dig interface, More customs dns server

views
     
Eventless
post Jan 2 2024, 08:55 PM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
dig is a dns lookup program found in linux.

https://manpages.ubuntu.com/manpages/xenial/en/man1/dig.1.html

You just need to hook it up to some kind of scripting language to run the program and format the output. There is a batch mode included in dig that would help in cutting down the code required.
Eventless
post Jan 3 2024, 05:53 PM

Look at all my stars!!
*******
Senior Member
2,643 posts

Joined: Jan 2003
QUOTE(UbuntuClient @ Jan 3 2024, 03:00 PM)
Let say i have a few dns server like node1.cloudns.cc, dns1. cloudns.cc, msc111.cloudns.cc, how to put on dig?
*
You don't. dig can only do a single query from a single name server at a time. You would need to use something like the code provided by angch to go through each of them separately.

 

Change to:
| Lo-Fi Version
0.0173sec    0.15    6 queries    GZIP Disabled
Time is now: 24th December 2025 - 02:15 AM