How to perform a reverse DNS lookup?

Use dig:

 dig -x XXX.XX.XXX.X +short @4.2.2.2