Search Again:

Re: MacOS X Case-Sensitive DNS lookup bug

From: Men & Mice Support
Date: Monday, July 16, 2001
Time: 5:09:04 am

>>We have isolated the problem.
>>
>>The resolver in Mac OS X is still case-sensitive - it expects the
>>results to be returned with the same case as the query.
>>
>>Note that part of the response is the query that was sent. QuickDNS
>>Server returns the answer, authority, and additional sections in the
>>correct case, but the query is returned in lower case. This has never
>>before been a problem. Unfortunately, lookupd is still case
>>sensitive, so it treats the answer as incorrect.
>
>Are you saying this is a Mac OS X bug or QuickDNS Pro bug?

Both. The RFC's give two different, complementary guidelines. Mac OS
X violates one, while QuickDNS violates the other. It's a tribute to
the designers of the protocol that it takes two different violations
for the system to break - this is common for the domain name system,
where isolated faults are tolerated and worked around.

Here's the relevant quote from RFC 1034, section 3.1:

>By convention, domain names can be stored with arbitrary case, but
>domain name comparisons for all present domain functions are done in
>a case-insensitive manner, assuming an ASCII character set, and a
>high order zero bit. This means that you are free to create a node
>with label "A" or a node with label "a", but not both as brothers;
>you could refer to either using "a" or "A".

Mac OS X's lookupd violates this part.

>When you receive a domain name or label, you should preserve its
>case. The rationale for this choice is that we may someday need to
>add full binary domain names for new services; existing services
>would not be changed.

QuickDNS violates this part.

It's interesting to note that "full binary domain names" are now seen
as not directly feasible, mainly due to the (very) slow adoption of
Unicode, and so a solution is being worked out that encodes non-ASCII
characters as ASCII character sequences.

>Does the latest version of QuickDNS exhibit the problem?

Yes.

>>We're working on an update.
>
>Will there be an update for QuickDNS 2.2.1 or will I need to upgrade?

We're only planning to update QuickDNS 3.5. This new version, 3.5.1,
should become available in a few weeks.
____________________________________________________________________
Chris Buxton Men & Mice
cbuxton@menandmice.com We Make DNS Easy!



Messages In This Thread:



Return to Digital Point Solutions' Home Page