dns-wg
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1996 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1995 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1994 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1993 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1992 -----
- December
- November
- October
- September
- August
- July
- June
April 2002
- 4 participants
- 2 discussions
Below is a draft of the document Gerhard, Linus and Marcos have been
working on. It's been circulated to the list for discussion. Marcos
will be giving a presentation on this at the WG meeting next week.
Please submit any comments to the authors or, better still, to the
mailing list.
draft-whois-srv-01.txt
Linus Corin
Marcos Sanz
Gerhard Winkler
24 April 2002
Using DNS SRV records to locate whois servers
Status of this Memo
This document is a draft on the usage of the DNS SRV RR for the location
of whois servers.
Abstract
There is no common whois database where all domain objects are stored.
Several TLDs run their own databases, which can be reached under
different network locations and, for the user, there is no easy way to
find the right whois server to answer their query by means of a simple
whois client.
This situation can be improved by using DNS SRV records and
SRV-cognizant whois clients.
0. Definitions
The key words "MUST", "SHOULD", and "RECOMMENDED" in this document are
to be interpreted as described in [RFC 2119]. Other terms used in this
document are defined in the DNS specification, [RFC 1034].
1. Format
The general format of DNS SRV records is documented in RFC 2782:
_Service._Proto.Name TTL Class SRV Priority Weight Port Target
Therefore the simplest format of an SRV record to locate a whois server
is:
_whois._tcp IN SRV 0 0 43 whois.nic.example.
[RFC 1700] foresees the possibility of a whois service over UDP. Common
use is TCP but nothing would prevent from analogously setting the _Proto
field to the value _udp.
The symbolic name of the service is defined as "whois" (case
insensitive), which is the most familiar name, though it is also called
"nicname" in [RFC 954].
Priority and Weight have a value of 0 in the example above just for
readability purposes.
It is RECOMMENDED to use the port number 43, as specified in [RFC 1700]
or [IANA-NUM].
2. Usage
If there is a whois server running for a specific domain, such an SRV
record can be defined. When used for looking up information about a
domain, whois clients can do DNS lookups for SRV records, and can use
the retrieved target information to point their whois queries
accordingly. This kind of client is called "SRV-cognizant" or
"SRV-aware" whois client.
It is imaginable that this functionality could be extended for other
purposes (like inetnum or handle lookup), but this remains open for a
future discussion.
3. Restrictions
The service record functionality is meant as an extension to the
existing whois service and not as a new service.
In the absence of a whois protocol whose specification calls for the use
of other weighting information, the field Weight in the SRV record keeps
the standard meaning specified in [RFC 2782].
As defined in [RFC 2782] the client SHOULD abort if it finds a record
defined like:
_whois._tcp IN SRV 0 0 0 .
The given SRV record is valid for the zone where it appears. This means
that it does not provide any information on subdomains or zones below;
it is a onelevel information. Search for subdomains MUST behave like
conventional DNS search algorithms.
4. Authority
There is no authority which defines who should run a whois server,
though it is usual that the TLD registry runs a whois service for the
zone where it is authoritative.
There is no definition of which target should be used as a default for
an SRV-cognizant whois client if no whois server could be discovered by
means of SRV records. The use of a default whois server is local
dependent.
5. Security Considerations
The same security considerations as defined in [RFC 2782] should apply.
There is no discussion on security, data protection and privacy relating
to the contents of the whois server in this paper. This is the
responsibility of the whois server operator and has nothing to do with a
mechanism that describes how whois servers can be reached.
6. References
[RFC 954] NICNAME/WHOIS
[RFC 1034] Domain names - concepts and facilities
[RFC 1700] Assigned Numbers
[RFC 2119] Key words for use in RFCs to Indicate Requirement Levels
[RFC 2782] A DNS RR for specifying the location of services (DNS SRV)
[IANA-NUM] www.iana.org: Directory of General Assigned Numbers
7. Authors' Addresses
Linus Corin
Telia International Carrier
4th Floor, 330 High Holborn
WC1V 7QY
London, United Kingdom
linus(a)telia.net
Marcos Sanz
DENIC eG
Wiesenhuettenplatz 26
D-60329 Frankfurt/Main, Germany
sanz(a)denic.de
Gerhard Winkler
Vienna University Computer Center / NIC.AT
Universitaetsstrasse 7
A-1100 Vienna, Austria
gerhard.winkler(a)univie.ac.at
5
7
01 May '02
Thanks for your feedback, Peter. Find comments below.
On 28.04.2002 15:11 Peter Koch <pk(a)TechFak.Uni-Bielefeld.DE> wrote:
> Here's a rough version of a longer problem statement:
Nice ellaboration! We will incorporate it (maybe partially) in the next
version.
> The Regional Internet Registries (RIR) [reference, anyone?] also provide
whois
We already searched for references on that, but did not found any.
> service as part of their coordination task. Again, there is no easy
uniform way
> to find out which RIR is responsible for a particular address or address
range.
We explicitly left out such kind of remarks, since we wanted to limit the
draft to locating Whois servers for domain lookups. We are already
collecting ideas for an extension draft about recommended behaviour of
SRV-cognizant whois clients and remarks are very welcome.
> > 1. Format
[...]
> > [RFC 1700] foresees the possibility of a whois service over UDP. Common
> > use is TCP but nothing would prevent from analogously setting the
_Proto
> > field to the value _udp.
>
> RFC 1700 has been superseded by RFC 3232, so I'd suggest to cite either
that
Overseen that, thanks. We will fix it for the next version.
> The document should clearly say that it deals with the
> TCP case only.
We thought we should just leave it open. Any other opinions on that?
> > The symbolic name of the service is defined as "whois" (case
> > insensitive), which is the most familiar name, though it is also called
> > "nicname" in [RFC 954].
>
> So, did one want to allow both? I'd stick with "whois", unless there is
> demand to not only select the service based on the on-the-wire protocol
> but also based on the data format (e.g. "ripe-whois" vs.
"generic-whois").
> However, I doubt that this granularity would ease deployment.
We stick with "whois", as well.
One could even think of selecting the service based on the type of data to
be queried ("contact-whois", "domain-whois", ?) as Gerhard once observed,
but as you say, it is a compromise between hype features and ease of
deployment.
> > It is RECOMMENDED to use the port number 43, as specified in [RFC 1700]
> > or [IANA-NUM].
>
> The document mainly talks about client behaviour, so this recommendation
> regarding the server's port number seems a bit out of focus to me.
> And, it's not needed for interoperability since one purpose of SRV RRs is
> giving an administrator the opportunity of using non default ports.
If you want client-server interoperability for the "thing" we call
"protocol whois" nowadays, you SHOULD set the port to 43. Any other value
would be correctly handled by SRV-cognizant clients, but those servers
would not be reachable by conventional clients.
> > If there is a whois server running for a specific domain, such an SRV
> > record can be defined. When used for looking up information about a
> > domain, whois clients can do DNS lookups for SRV records, and can use
> > the retrieved target information to point their whois queries
> > accordingly. This kind of client is called "SRV-cognizant" or
> > "SRV-aware" whois client.
>
> So, does this mean the SRV RR has to be owned by the domain you are
interested
> in or by its parent? See below for a suggestion of a hierarchical
approach.
Actually, there might be SRV RRs at several levels, and the loose
formulation tries on purpose not to address the issue at that point.
> > As defined in [RFC 2782] the client SHOULD abort if it finds a record
> > defined like:
> >
> > _whois._tcp IN SRV 0 0 0 .
>
> While this copies the definition from RFC 2782, I do not think the client
is
> expected to abort (i.e. terminate) should this condition be met. Instead,
> only the SRV processing is aborted.
I would even add: the SRV processing should be aborted _at that level_.
Nothing avoids for the client to search for SRV above (or under) that
level. But we thought such refinements were out of scope at that moment and
were an issue for another draft, as already mentioned.
> > The given SRV record is valid for the zone where it appears. This means
> > that it does not provide any information on subdomains or zones below;
>
> This may result in a contradiction: If it's valid for the zone, it is
> also valid for subdomains of the zone apex. And, it costs additional
> work to find out which zone one actually resides in. And does this mean
> _whois._tcp.DE leads to a whois server which has no knwledge about
> Uni-Bielefeld.DE (subdomain and delegated zone in this case)?
The formulation is indeed missleading. What about:
"The SRV record does not provide any information about the
existence/absence of a service with the same name on subdomains or zones
below".
> > it is a onelevel information. Search for subdomains MUST behave like
> > conventional DNS search algorithms.
>
> "conventional" algorithms depend on local search lists, while here you
want
> searching along the domain name subject to the later whois query.
> In addition, conventional DNS search should not extend beyond domain
names
> within local control (from the queriers point of view) [RFC 1535], while
> that is what you explicitly want here.
> However, it still could be abused (see security considerations).
I think this is a wording problem, as well. I will leave it to Gerhard,
since he authored that line.
> I'd think the search is the key feature in locating the whois server and
> an algorithm should be described, e.g.
That is a possible procedure. We take note.
> Question remains what to ask the whois server. If a match is found for
> _whois._tcp.example, should the server be asked for the full name
> www.deep.weird.example or just the smallest suffix needed for
differentiation
> ("weird.example")?
Not asking for the full name could result in delivering an answer for a
question that was not asked.
> Are all whois servers capable of "closest match"?
No
> And how to deal with the fact that whois servers have no standardized way
to
> indicate they do not know a key queried for.
Once the server has been reached by means of SRV, contents transmitted are
not relevant the process.
> This scheme could be extended to cover inetnum lookups (only the IPv4
case is
> outlined here):
[...]
> Opinions?
Fine!
> > There is no definition of which target should be used as a default for
> > an SRV-cognizant whois client if no whois server could be discovered by
> > means of SRV records. The use of a default whois server is local
> > dependent.
>
> In the absence of an appropriate SRV entry, the client MAY try
> "whois".<domain> (see RFC 2219);
Thanks for the reference, we'll take a look at it.
> Use of the DNS search algorithm can lead to 2 problems:
> 1) By using DNS query logging an organisation could find out who is
issuing
> whois queries about them even without operating a whois server
themselves
> 2) An (malicious) organisation could use SRV RRs to misdirect whois
requests.
> For example, a spamhaus using "spamhaus.example" could direct whois
> queries to their own whois server containing no or false information
or
> even worse, innocent targets. For this reason, whois clients should be
> able to start the search above the leaf or particular inner nodes upon
> request.
Both are real good points. They directly depend upon the behaviour of the
SRV client, which is not determined here (top to bottom? bottom to top?
stop walking the tree after answer?). Nevertheless, I think 1) finds a
place in our draft, as a direct effect of the interaction between Whois and
DNS.
Regards,
Marcos
1
0