From: Revathi V. <rev...@ho...> - 2003-02-27 22:19:39
|
Hi, I browsed in one of the sites that hotmail has upto 14 smtp servers. (As an example) While using dnsjava, Record result[] = org.xbill.DNS.dns.getAnyRecords("hotmail.com", Type.MX); for (int i = 0 ; i<result.length ; i++ ) { System.out.println(result[i].rdataToString()); } gives me only 4 addresses. Am I doing the right thing. Pls correct me if I am wrong. I would appreciate some code samples. Thanks Revathi ----- Original Message ----- From: "Brian Wellington" <bwe...@xb...> To: "Revathi Velu" <rev...@ho...> Sent: Thursday, February 27, 2003 3:07 PM Subject: Re: Getting an SMTP Server address from DNS > On Fri, 16 Aug 2002, Revathi Velu wrote: > > > Is ther a way to get a SMTP server address from the DNS name using > > dnsjava ? Does the MXRecord > > Yes, you can query for an MX record. > > Questions should really be sent to the mailing list, not the admin > address. > > Brian > |