Hi, Danny. Thank you for that explanation. Yes, I was no longer aware of those MX records that need to be queried. What I thought of was only the hostname that might need resolution.
Hiran ----------------------------------------- Hiran Chaudhuri SAG Systemhaus GmbH Elsenheimerstra�e 11 80687 M�nchen Germany [EMAIL PROTECTED] Phone +49-89-54742-134 Fax +49-6151-9234-5134 > -----Original Message----- > From: Danny Angus [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 10:56 AM > To: James Developers List > Subject: RE: Newsgroup integration, and other questions > > > Hiran > > > So why does a MTA by itself need to know the DNS server's ip > > addresses? BTW, > > I never entered such information and did not see any problems. > > MTA's use MX records to find a list of all MTA's to whom they > could deliver > mail for a specified domain. > If this list isn't found, or all of those hosts cannot be > contacted the MTA > can try to deliver directly to the domain of the address. > > Thus most mail domains actually map to servers whos name is > different to the > mail domain, in which case no DNS prevents this being delivered. > Some mail is correctly delivered directly to the domain. > > Java doesn't (AFAIK) have a simple method of determining MX > record lists or > the nameservers from OS network config, and local name resolution > (etc/hosts) doesnt contain MX information. Therefore James > needs to know the > IP of a nameserver from which it can get MX records. > > Sendmail can find the nameservers from OS config, so you don't have to > configure this parameter for it, but it isn't as portable as James. > Likewise, I expect, for other platform specific MTA's. > > If Java does have a way of getting lists of MX records > without knowing DNS > addresses do let us know about it. > > d. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
