This post describes how you can search Wikipedia from the command line using a DNS tool like nslookup in Windows or dig in linux.
Handy if you don’t wan’t to open a Internet browser to do a simple Wikipedia query.
This is how it’s done in Windows
- Choose Start -> Run
- Write “cmd” and press OK
- Write “nslookup” and press ENTER
- Write “set type=txt” and press ENTER
- Write <topic>.wp.dg.cx and press ENTER
This is how it’s done from a console window in linux
# dig +short txt search_keyword.wp.dg.cx
# dig +short txt oslo.wp.dg.cx "(formerly Christiania) is the capital and largest city in Norway. Metropolitan Oslo or the Greater Oslo Region makes up the third largest urban area in Scandinavia after Metropolitan Stockholm and Metropolitan Copenhagen. http://en.wikipedia.org/wiki/Oslo"