From 29a4c98deaa1c9f9be66633e7bdfc7fd971318e9 Mon Sep 17 00:00:00 2001 From: Martin Thomson Date: Wed, 4 Sep 2013 10:36:43 -0700 Subject: [PATCH] Adding examples. --- .../draft-ietf-geopriv-res-gw-discovery.xml | 44 +++++++++++++++---- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/res-gw/draft-ietf-geopriv-res-gw-discovery.xml b/res-gw/draft-ietf-geopriv-res-gw-discovery.xml index d411f1e..cd71345 100644 --- a/res-gw/draft-ietf-geopriv-res-gw-discovery.xml +++ b/res-gw/draft-ietf-geopriv-res-gw-discovery.xml @@ -339,25 +339,53 @@
- Additional domain names are added to allow for a single DNS record to cover a larger set + + Additional domain names are added to allow for a single DNS record to cover a larger set of addresses. If the search on the domain derived from the full IP address does not produce a NAPTR record with the desired service tag (e.g., LIS:HELD), a similar search is repeated based on a shorter - domain name, using a part of the IP address: - For IP version 4, the resulting domain name SHOULD be shortened successively by one + domain name, using a part of the IP address: + + + For IP version 4, the resulting domain name SHOULD be shortened successively by one and two labels and the query repeated. This corresponds to a search on a /24 or /16 network prefix. This allows for fewer DNS records in the case where a single access - network covering an entire /24 or /16 network is served by the same LIS. + network covering an entire /24 or /16 network is served by the same LIS. + - For IP version 6, the resulting domain SHOULD be shortened sucessively by 16, 18, 20 + + For IP version 6, the resulting domain SHOULD be shortened sucessively by 16, 18, 20 and 24 labels and the query repeated. This corresponds to a search on a /64, /56, /48 - or /32 network prefix. - + or /32 network prefix. + + + + For example, the IPv4 address 192.0.2.75 could result in + queries to: + + 75.2.0.192.in-addr.arpa. + 2.0.192.in-addr.arpa. + 0.192.in-addr.arpa. + + + + Similarly, the IPv6 address 2001:DB8::28e4:3a93:4429:dfb5 + could result in queries to: + + 5.b.f.d.9.2.4.4.3.9.a.3.4.e.8.2.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2 .ip6.arpa. + 0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. + 0.0.0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. + 0.0.0.0.8.b.d.0.1.0.0.2.ip6.arpa. + 8.b.d.0.1.0.0.2.ip6.arpa. + + + The limited number of labels by which each name is shortened is intended to limit the number of DNS queries performed by Devices. If no LIS is discovered by this method, the result will be that no more than four U-NAPTR resolutions are invoked for each IP - address. + address. +