Tuesday, September 10, 2002 02:33 PM
I wrote some quick wrappers to JNDI calls for simple DNS queries like getting MX records. Its available here
However I have to hard code my DNS server into one of the .java files as I can't figure out how to get that information dynamically. I believe java has to know this information as there are InetAddress methods to query for forward and reverse lookups, which require you to know the DNS server.
Any clues on where to find this info?