[Ietf-not43] Constructing an all-inclusive <domain> response
Chris Ambler
chris.ambler at enom.com
Tue Oct 14 00:14:47 EDT 2003
One of the goals of the XML whois format project being developed is to be
able to encapsulate all of the data needed for a WHOIS response into a
single XML output. As such, the elements and arguments of the <domain>
element in dreg are a superset of what we need. That's perfect, as we can
leave those elements that we don't need either nil, or simply unspecified
(where allowed).
In looking at the specification, I note that entities are used for most
items, like contacts, nameservers, and the like. They're specified using
handles in the examples (in the entityName argument). In the WHOIS realm,
these handles will be different for every registrar, if not completely
nonexistent. What we need to do is be able to specify all entities within
the response, in full, in a registrar-agnostic fashion.
It appears to me that the only way to do this is to put those records within
the <additional> element, which seems to eliminate the usefulness of
elements like <techicalContacts>, <registrant> and the like.
It seems non-optimal to have an entity with the elements, specify an
entityName attribute (using a registrar-specific handle or, in the case
where one doesn't exist, generate a unique ID), and then have to make
another query to resolve it. I note, in one of the examples, that such an
entity is specified for a <technicalContacts> element, and then codified in
a <dreg:contact> element within the <additional> element. Is this how it is
supposed to be done when the return data needs to be complete? That adds a
lot of processing on the consumer side. And in the same example, the entity
elements for name servers and the <registrant> element aren't supplied in
full at all. Is one expected to make another query for them based on the
contents of the entityName argument? For WHOIS, this isn't really an option.
Why can't a (or any number of) <dreg:contact> element(s) be contained within
<technicalContacts> or <registrant> or other such elements? Why must one use
<iris:entity> elements when the more specific elements are expected?
Once again, there is always the strong possibility that I'm missing the
obvious in my haste to both grok the specification and code an
implementation simultaneously.
Christopher
More information about the Ietf-not43
mailing list