Usually its done on Unreal IRCd servers which support a command which "hides/spoofs" an individuals host.

The usual syntax is, /chghost [nickname] [hostname]

Eamonn.