* L A Walsh <suse@tlinx.org> [03-18-17 23:58]:
I had my curiosity piqued when someone said they had problems retrieving a webpage from site 'президент.рф'.
I tried wget & curl but they both recoded it into punycode.
So tried ping... ping couldn't find the site at all:
ping -v "президент.рф" ping: unknown host президент.рф
So I tried 'dig':
dig "президент.рф"
; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> президент.рф ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61303 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
(NXDOMAIN = no such domain),
But if I type the address into my browser, it goes to the russian site (kremlin.ru).
I poked around a bit and found suse ping comes from the old 'iputils' package (superceded by iputils2, though iputils2 doesn't have ping).
Looked a bit more and found it in the gnu inetutils package. Built it w/default config options and it resolved "right out of the box":
Ishtar:tools/inetutils/inetutils-1.9.4/ping> ./ping "президент.рф" PING президент.рф (95.173.136.80): 56 data bytes. ^C--- президент.рф ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss
Are inetutils being maintained anymore (looks like my version is dated 2012-12-21?
works fine on Tw:
ping президент.рф PING президент.рф (95.173.136.80) 56(84) bytes of data. --- президент.рф ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29674ms
rpm -qf /usr/bin/ping iputils-s20160308-2.1.x86_64
note: inetutils is not found is software.opensuse.org/search. but: iputils is iputils IPv4 and IPv6 Networking Utilities This package contains some small network tools for IPv4 and IPv6 like rdisc, ping6, traceroute6, tracepath, and tracepath6. and "rpm -q --changelog iputils" earliest entry is 2009-1222 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org