Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!samsung!uunet!intercon!amanda@intercon.com From: amanda@intercon.com (Amanda Walker) Newsgroups: comp.protocols.appletalk Subject: Re: MacTCP and MX Domain Name Support Message-ID: <1589@intercon.com> Date: 1 Dec 89 00:17:26 GMT References: Sender: news@intercon.com Reply-To: amanda@intercon.com (Amanda Walker) Lines: 18 In article , chris@CALSTATE.EDU ("Chris Taylor") writes: > I don't think that MacTCP knows anything about the difference between asking for > an "A" address and an "MX" address. It just wants the IP address for the > specified system. The MacTCP resolver, in fact, only seems to understand A, NS, and maybe CNAME records (I don't remember off hand). We ended up writing our own resolver, since you can enumerate the resolver cache in a documented way, in order to find out where the name servers are. It's a hack, but until Apple does a better resolver, it's the only way for an application using MacTCP to get things like MX or HINFO records. -- Amanda Walker InterCon Systems Corporation amanda@intercon.com Brought to you by Super Global Mega Corp .com