davidb at rwhois.net
Thu Mar 13 17:19:32 EST 1997
>>>>> "Paul" == Paul Roberts <proberts at edge.edge.net> writes:
Paul> On 12 Mar 1997, David Blacka wrote:
Paul> Well, the most readily available example would be using the
Paul> edge.net domain name... I have a working entry for edge.net as
Paul> both a host and a domain, and neither one turns up in a search
Paul> for www.edge.net.
Paul> Am I correct in my assumption (which is based, in part on the specs for
Paul> 1.5) that should work like this...
Paul> - First look for www.edge.net,
Paul> - then look for edge.net,
Paul> - then look for .net,
Paul> - then generate punt referral.
Almost but not quite. A query for www.edge.net will first search for
the string "www.edge.net" in much the same way a query for cheese will
cause a search for the string "cheese". If that search fails, then it
starts to reduce, and when reducing, it isn't searching for an object
matching the key, it is looking for a *referral*.
So a failure in finding "www.edge.net" will not turn up a host record
for "edge.net", but would turn up a referral for "edge.net", if you
So if you want queries on "www.edge.net" to find a host, then you need
to either have a host object with the hostname "www.edge.net" or
modify the host schema to have an indexed attribute for CNAMEs and put
www.edge.net in that.
The behavior you are describing would lead to weird behavior, IMHO.
Like, I submit a query to your server for alsdkjfs.edge.net and get
back a host record for "edge.net". That isn't what I was looking
Paul> I'm really tempted to add a record for 30QWQXedge.net as a
Paul> domain name and see if it finds a hit. I really think that the
Paul> logs should show the _exact_ phrase it looks for on each pass.
Paul> It makes it a bit trickier than necessary to see what's going
Paul> on inside the server.
It *is* logging the exact phrase it is looking for. At some point in
the search cycle it is looking for "Referral=edge.net" and that
translates to a search string of "30QWQXedge.net".
This silly "30QWQX" stuff goes away in the next server version, btw.
David Blacka Software Engineer Directory Services/
davidb at rwhois.net Network Solutions, Inc. RWhois Development
More information about the Rwhois