3 ms·
Yes, though clunky. When I try the example: % host -t txt foo.wp.dg.cx it looks like the "foo" in the domain name gets converted to FOO, then goes to the Wi
by eesmith 3y ago
Yes, though clunky. When I try the example:
% host -t txt foo.wp.dg.cx
it looks like the "foo" in the domain name gets converted to FOO, then goes to the Wikipedia entry for https://en.wikipedia.org/wiki/FOO https://en.wikipedia.org/wiki/FOO which is redirected to https://en.wikipedia.org/wiki/Artillery_observer#British_Forward_Observation_Officer https://en.wikipedia.org/wiki/Artillery_observer#British_For..., causing host to respond with text from the image caption:
foo.wp.dg.cx descriptive text "thumb|240px|A U.S. Marine artillery
forward observer in a tree to get a better view of the battlefield in
1942.]thumb|240px|British and French artillery observers of Langemarck
(1917)|Battle of Langemarck, 1917] http://en.wikipedia.org/wiki/
Artillery_obse" "rver"
That's not what the I (or the original author) expected.
It does handle Greenland correctly, so yes, it does work!
% host -t txt greenland.wp.dg.cx | fold
greenland.wp.dg.cx descriptive text "Greenland (\"Land of the Kalaallit\"; ) is
an autonomous country within the Kingdom of Denmark, located between the Arctic
and Atlantic Oceans, east of the Canadian Arctic Archipelago. Though physiograph
ically a part of the continent of North America, Green" "land has been political
ly and culturally associated with Europe (specifically Norway and later Denmark)
for more than a... http://en.wikipedia.org/wiki/Greenland"
On the other hand, Wikipedia redirects "cosine" to "sine and cosine", but host reports:
% host -t txt cosine.wp.dg.cx
Host cosine.wp.dg.cx not found: 3(NXDOMAIN)
- dgl 3y agoWhile the serving code still works the code to download Wikipedia dumps and summarise them has bitrotted. The database is circa 2013, so you’re exploring a nearly 11 year old summary of Wikipedia!
- eesmith 3y agoI see what you mean - the quoted "Greenland" text does not match the current form but does match the one ca. 2013. It looks like FOO (all caps) redirected to Forward Observation Officer on July 2008, says https://en.wikipedia.org/w/index.php?title=FOO&action=history https://en.wikipedia.org/w/index.php?title=FOO&action=histor... so there was a narrow window when your "foo" example worked as described, before you updated the dump to the then-new redirect.