From: <cra...@ya...> - 2003-04-08 16:18:12
|
Hi, I'm trying to use dnsjava to validate email addresses. But I've got a lot of problems. So I will begin by the first one: how to set my dns servers. This is my code: [code on] Lookup testl = null; Record[] records = null; try { testl = new Lookup(www.yahoo.com); records = testl.run(); } catch (TextParseException e) { System.out.println(e);} [code off] I've got a NumberFormatException running this code. When I try to get the default resolver on the lookup, I've got the same error and when I try to set the default resolver either. I can't find any doc on which system properties I have to set. I'm sorry , I'm new to all this and maybe my question is stupid. But be kind and please answer me. Thanks. Geo. --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Testez le nouveau Yahoo! Mail |