I suspect the specific IRC network makes a difference (and maybe even the specific server, who knows). In my case, I use a relatively obscure network. Variations in how they implement DNS and/or the IRCd software may very well be the difference in what the router likes and doesn't like.