From /help /dns:
/dns [-46ch] [nick|address]
Resolves an address. If mIRC sees a "." in the name you specify it assumes it is an address and tries to resolve it. Otherwise it assumes it is a nickname and performs a /userhost to find the user's address and then resolves it.
The -h switch forces /dns to treat the parameter as a hostname.