Get Information from Wikipedia via DNS TXT Record Queries
A short screencast showing how to issue DNS TXT record queries to retrieve information from Wikipedia in a terminal on a Linux based operating system. Admittedly, not the most memorably but still a fun command. You can easily wrap it in a shell function to make it more usable.
Examples used in the video:
dig +short txt universe.wp.dg.cx
dig +short txt earth.wp.dg.cx
Featured eBook

Latest Posts
- Prompting AI Language Models Cheat Sheet
- ChatGPT Explains Recursion in 5 Levels of Difficulty
- The Chernobyl Disaster Imagined by Artificial Intelligence
- Convert Web Pages to Ebooks in MOBI Format using Wget and Calibre
- Unlock the Power of ImageMagick: A Beginner's Guide to Image Processing
Featured Merch

Subscribe to RSS Feed
This post was written by Ramiro Gómez (@yaph) and published on . Subscribe to the Geeksta RSS feed to be informed about new posts.
Tags: command line screencast terminal tuesday wikipedia
Disclosure: External links on this website may contain affiliate IDs, which means that I earn a commission if you make a purchase using these links. This allows me to offer hopefully valuable content for free while keeping this website sustainable. For more information, please see the disclosure section on the about page.