AN-3 Use dnsjava instead of javax.naming

Android does not support javax.naming.  dnsjava is being used here as a
replacement.