that is not related to ident.
"Your forward and reverse DNS do not match, ignoring hostname."
means: resolving from ip to host, and from host to ip gives different results for your ip. as a result you appear on irc with an ip and not a hostname.

wiebe