In case you're on Unreal and o-lined, you could "who +h[I] <dns'd host>" or directly "who +i[I] <IP>". A different IRCd most likely features similar switches.