On 7/27/2010 1:33 AM, Frank Shearar wrote:
So if one wanted to implement some of the stranger records - NAPTR springs to mind - one would just hack DnsRecord>>readFrom: and add an appropriate case, yes? (For NAPTR (RFC 2915) that's 35).
Yes, exactly.
(SIP uses NAPTR records as part of its lookup mechanism, defined in RFC 3263 SIP: Locating SIP Servers.)
Sweet! I had no idea. Josh will be glad to hear that I think :-)
The attached OUGHT to do it. I don't know of any public servers that user NAPTR *cough* and I'd need to look up local names to properly test against my local test setup.
Yes, I'll try to implement the primitive on Windows sometime soon.
Cheers, - Andreas