by jwilk · 9y ago · 0 comments
You may want to use "getent ahosts" instead:
$ getent ahosts en.wikipedia.org
91.198.174.192 STREAM en.wikipedia.org
91.198.174.192 DGRAM
91.198.174.192 RAWI usually use drill(1) (from unbound, which is part of base on FreeBSD), or dig(1) on Linux boxes that don't have unbound.
Also turns out that that replace command is also part of MySQL. LOL WTF MYSQL?!