Newsgroups: ibm.software.websphere.application-server
Best I can tell, WAS (5.0 at least) does not have a JNDI Service Provider that can perform DNS lookups. I'm successfully using the Sun one from http://java.sun.com/products/jndi/serviceproviders.html, but I wanted to confirm that I'm not missing some other option in WAS.
I'm using this technique to do an MX Record lookup to validate an email domain. It's described http://java.sun.com/j2se/1.4.2/docs/guide/jndi/jndi-dns.html#USAGE and http://www.rgagnon.com/javadetails/java-0452.html. Alternatively, if anyone knows of other methods to do this, I'm willing to consider that too.)
No comments:
Post a Comment