[dns-operations] about resolveip command

Shane Kerr shane at time-travellers.org
Sun May 24 13:33:33 UTC 2015


Kevin,

On Sun, 24 May 2015 20:47:44 +0800
"Kevin C." <kevin at dnsbed.com> wrote:

> Do you know what's the special usage for resolveip command?
> I saw it's not similiar to dig tool. for instance,
> 
> ~$ dig www.sina.com.cn +short
> jupiter.sina.com.cn.
> ara.sina.com.cn.
> 121.14.1.190
> 58.63.236.248
> 121.14.1.189
> 
> ~$ resolveip -s www.sina.com.cn
> 121.14.1.190
> 
> dig returns all three IPs, but resolveip returns only one avaiable.

It appears to be part of MySQL:

http://dev.mysql.com/doc/refman/5.7/en/resolveip.html

Presumably MySQL AB or Oracle found it handy to have, perhaps for shell
scripting or the like.

Cheers,

--
Shane 




More information about the dns-operations mailing list