summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc3982.txt
blob: ea7754c5c1fe65f730d03bd07825fddd799bd09b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
Network Working Group                                          A. Newton
Request for Comments: 3982                                VeriSign, Inc.
Category: Standards Track                                        M. Sanz
                                                                DENIC eG
                                                            January 2005


             IRIS:  A Domain Registry (dreg) Type for the
              Internet Registry Information Service (IRIS)

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (C) The Internet Society (2005).

Abstract

   This document describes an Internet Registry Information Service
   (IRIS) registry schema for registered DNS information.  The schema
   extends the necessary query and result operations of IRIS to provide
   the functional information service needs for syntaxes and results
   used by domain registries and registrars.

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  2
   2.  Document Terminology . . . . . . . . . . . . . . . . . . . . .  3
   3.  Schema Description . . . . . . . . . . . . . . . . . . . . . .  3
       3.1.  Query Derivatives  . . . . . . . . . . . . . . . . . . .  3
             3.1.1.  <findRegistrarsByName> Query . . . . . . . . . .  3
             3.1.2.  <findDomainsByContact> Query . . . . . . . . . .  4
             3.1.3.  <findDomainsByName> Query  . . . . . . . . . . .  4
             3.1.4.  <findDomainsByIDN> Query . . . . . . . . . . . .  4
             3.1.5.  <findContacts> Query . . . . . . . . . . . . . .  5
             3.1.6.  <findDomainsByHost> Query  . . . . . . . . . . .  5
             3.1.7.  Contact Search Group . . . . . . . . . . . . . .  5
       3.2.  Result Derivatives . . . . . . . . . . . . . . . . . . .  6
             3.2.1.  Privacy Labels . . . . . . . . . . . . . . . . .  6
             3.2.2.  <domain> Result  . . . . . . . . . . . . . . . .  7
             3.2.3.  <host> Result  . . . . . . . . . . . . . . . . . 10
             3.2.4.  <contact> Result . . . . . . . . . . . . . . . . 11



Newton & Sanz               Standards Track                     [Page 1]
^L
RFC 3982                       IRIS-Dreg                    January 2005


             3.2.5.  <registrationAuthority>  . . . . . . . . . . . . 13
       3.3.  Generic Code Derivatives . . . . . . . . . . . . . . . . 13
             3.3.1.  <searchTooWide>  . . . . . . . . . . . . . . . . 13
             3.3.2.  <languageNotSupported> . . . . . . . . . . . . . 14
       3.4.  Support for <iris:lookupEntity>  . . . . . . . . . . . . 14
   4.  Formal XML Syntax  . . . . . . . . . . . . . . . . . . . . . . 15
   5.  BEEP Transport Compliance  . . . . . . . . . . . . . . . . . . 36
       5.1.  Message Pattern  . . . . . . . . . . . . . . . . . . . . 36
       5.2.  Server Authentication  . . . . . . . . . . . . . . . . . 36
   6.  URI Resolution . . . . . . . . . . . . . . . . . . . . . . . . 36
       6.1.  Application Service Label  . . . . . . . . . . . . . . . 36
       6.2.  Bottom-Up Resolution . . . . . . . . . . . . . . . . . . 37
       6.3.  Top-Down Resolution  . . . . . . . . . . . . . . . . . . 37
   7.  Internationalization Considerations  . . . . . . . . . . . . . 38
   8.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 38
       8.1.  XML Namespace URN Registration . . . . . . . . . . . . . 38
       8.2.  S-NAPTR Registration . . . . . . . . . . . . . . . . . . 39
       8.3.  BEEP Registration  . . . . . . . . . . . . . . . . . . . 39
   9.  Security Considerations  . . . . . . . . . . . . . . . . . . . 39
   10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 39
       10.1. Normative References . . . . . . . . . . . . . . . . . . 39
       10.2. Informative References . . . . . . . . . . . . . . . . . 40
   A.  Examples of Requests and Responses . . . . . . . . . . . . . . 41
       A.1.  Example 1  . . . . . . . . . . . . . . . . . . . . . . . 41
       A.2.  Example 2  . . . . . . . . . . . . . . . . . . . . . . . 42
       A.3.  Example 3  . . . . . . . . . . . . . . . . . . . . . . . 43
   B.  An Example of Database Serialization . . . . . . . . . . . . . 47
   C.  Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 48
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 49
   Full Copyright Statement . . . . . . . . . . . . . . . . . . . . . 50

1.  Introduction

   This document describes an IRIS registry schema for Internet domain
   registries using an XML Schema [4] derived from and using the IRIS
   [5] schema.  The query and result types outlined in this document are
   based on the functional requirements described in CRISP [17].

   The schema given is this document is specified by using the
   Extensible Markup Language (XML) 1.0, as described in XML [1]; XML
   Schema notation, as described in XML_SD [3] and XML_SS [4]; and XML
   Namespaces, as described in XML_NS [2].

   Examples of client/server XML exchanges with this registry type are
   available in Appendix A.






Newton & Sanz               Standards Track                     [Page 2]
^L
RFC 3982                       IRIS-Dreg                    January 2005


2.  Document Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in BCP 14, RFC 2119 [10].

3.  Schema Description

   IRIS requires the derivation of both query and result elements by a
   registry schema.  These descriptions follow.

   References to XML elements without a namespace qualifier are from the
   schema defined in Section 4.  References to elements and attributes
   with the "iris" XML namespace qualifier are from the schema defined
   in IRIS [5].

   The descriptions contained within this section refer to XML elements
   and attributes and their relation to the exchange of data within the
   protocol.  These descriptions also contain specifications outside the
   scope of the formal XML syntax.  This section will use terms defined
   by RFC 2119 [10] to describe these.  While reading this section,
   please reference Section 4 for needed details on the formal XML
   syntax.

3.1.  Query Derivatives

3.1.1.  <findRegistrarsByName> Query

   <findRegistrarsByName> searches for a registration authority
   designated as a registrar for the registry of the server.

   If present, the <baseDomain> element MUST restrict the results of the
   search to registrars capable of registering subdomains in the domain
   signified by the content of this element.

   The <namePart> element restricts the scope of the query with its
   child elements.  The <beginsWith> element specifies the beginning of
   the registrar's name.  The <endsWith> element specifies the end of
   the registrar's name.  The <exactMatch> element specifies equivalence
   to the registrar's name.

   If the <namePart> element is not present, the query MUST return all
   registrars applicable (i.e., in consideration of <baseDomain>).

   This query MUST return a result set of zero or more
   <registrationAuthority> elements.  See Section 3.2.5.





Newton & Sanz               Standards Track                     [Page 3]
^L
RFC 3982                       IRIS-Dreg                    January 2005


3.1.2.  <findDomainsByContact> Query

   <findDomainsByContact> finds domains by searches on fields associated
   with a domain's contact.  A search constraint of <baseDomain> MUST
   restrict the results to domains underneath the domain specified by
   its content, if it is present.

   The allowable search fields are handled with either the
   <contactHandle> element or one of the elements in the
   "contactSearchGroup" (see Section 3.1.7).  The <contactHandle>
   element allows the domains to be selected based on the contact having
   the specified contact handle.

   The query MAY also be constrained further by using the optional
   <role> element.  The contents of this element signify the role the
   contact has with the domain.

   This query also provides optional <language> elements containing
   language tags.  Clients MAY use these elements to hint about the
   natural language(s) of the affected element.  Servers MAY use this
   information in processing the query, such as in tailoring
   normalization routines to aid in more effective searches.

3.1.3.  <findDomainsByName> Query

   The <findDomainsByName> query finds domains by the name of a domain
   as it is known in DNS.  The <namePart> element restricts the scope of
   the query with its child elements.  The <beginsWith> element
   specifies the beginning of the domain name.  The <endsWith> element
   specifies the end of the domain name.

3.1.4.  <findDomainsByIDN> Query

   This query differs from the <findDomainsByName> query by allowing the
   scope of the query to take internationalized domain names into
   consideration.  This query will return the union of the desired
   domain and any associated variants, therefore differing from a lookup
   in the "idn" entity class (Section 3.4) (which only returns the
   domain or no results).

   The <namePart> element restricts the scope of the query with its
   child element.  Its child, the <exactMatch> element, is designed to
   contain IDNs and not ACE labels, and thus MUST match only against
   equivalent IDNs, according to the notion of equivalence defined in
   RFC 3490 [14].

   This query also provides optional <language> elements containing
   language tags.  Clients MAY use these elements to hint about the



Newton & Sanz               Standards Track                     [Page 4]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   natural language(s) of the affected element.  Servers MAY use this
   information in processing the query, such as in tailoring
   normalization routines to aid in more effective searches.

3.1.5.  <findContacts> Query

   <findContacts> searches for contacts given search constraints.  The
   allowable search fields are handled by one of the elements in the
   "contactSearchGroup" (see Section 3.1.7).

   This query also provides optional <language> elements containing
   language tags.  Clients MAY use these elements to hint about the
   natural language(s) of the affected element.  Servers MAY use this
   information in processing the query, such as in tailoring
   normalization routines to aid in more effective searches.

3.1.6.  <findDomainsByHost> Query

   This query does a simple search for the domains being hosted by a
   name server.  The search is constrained by using either the host name
   [12], host handle, IPv4 address, or IPv6 address of the name server.

3.1.7.  Contact Search Group

   Some of the queries above have similar query constraints for
   searching on contacts.  This section describes those common
   parameters.

   <commonName> allows the query to be constrained based on the common
   name of the contact.  The constraint can constrain the query either
   by an exact match using the <exactMatch> element, or by a subset of
   the common name using the <beginsWith> and <endsWith> elements.

   <organization> allows the query to be constrained based on the
   organization name of the contact.  It has the same semantics as the
   <commonName> element.

   <eMail> constrains the query based on the e-mail address of the
   contact.  This may be done by an exact e-mail address using the
   <exactMatch> element or by any e-mail address in a domain using the
   <inDomain> element.  The <inDomain> element MUST only contain a valid
   domain name (i.e., without an '@' symbol), and the matching SHOULD
   take place only on the domain given (i.e., no partial matches with
   respect to substrings or parent domains).  If either the contents of
   the <inDomain> element or the domain part of the contents of the
   <exactMatch> element contain a name with non-ASCII characters, they
   MUST be normalized according to the processes of RFC 3491 [15].




Newton & Sanz               Standards Track                     [Page 5]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   The <city>, <region>, and <postalCode> elements restrict the scope of
   the query based on the city, region, or postal code of the contact,
   respectively.  Each must only contain an <exactMatch> element
   containing the exact city, region, or postal code (i.e., no substring
   searches).

3.2.  Result Derivatives

3.2.1.  Privacy Labels

   Several of the results in this registry type have values that cannot
   be given but must be specified as present or must be flagged so that
   clients do not divulge them.  In order to achieve this, some of the
   results use the following element types:

   o  "dateTimePrivacyType" -- contains the XML Schema [3] data type
      "dateTime".  The contents of this element MUST be specified by
      using the 'Z' indicator for Coordinated Universal Time (UTC).

   o  "stringPrivacyType" -- contains the XML Schema [3] data type
      "string".

   o  "normalizedStringPrivacyType" -- contains the XML Schema [3] data
      type "normalizedString".

   o  "tokenPrivacyType" -- contains the XML Schema [3] data type
      "token".

   o  "domainStatusType" -- contains the optional element of
      <appliedDate>, indicating the date and time when the status was
      applied, and the optional element of <description> with the
      required attribute 'language', indicating a description of the
      status.  This element also has the optional attribute 'scope',
      indicating the scope or origin of the status value.

   o  "contactTypeType" -- contains optional <description> child
      elements.  Each <description> child element requires a 'language'
      attribute.

   As specified, these elements can have nil values and therefore may be
   present with empty content or present with their specified content.
   The use of these elements is also optional.

   If present without content, each of these element types MUST have one
   or more of the following boolean attributes:

   o  'private' -- If true, this specifies that the content is absent
      because it may never be published.



Newton & Sanz               Standards Track                     [Page 6]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   o  'denied' -- If true, this specifies that the content is absent
      because policy does not allow it to be given at the current level
      of access.

   If present with content, each of these element types MAY have one or
   more of the following boolean attributes:

   o  'doNotRedistribute' -- If true, this specifies that the content is
      not to be redistributed.

   o  'specialAccess' -- If true, this specifies that the content has
       been provided due to special access rights.

   These boolean attributes SHOULD be used in accordance with the level
   of access granted to the recipient of the data.  For example, marking
   data as 'private' or 'denied' is to be expected if the user is
   anonymous or has some other low level of access that does not warrant
   viewing that particular data.  Likewise, data marked with
   'doNotRedistribute' or 'specialAccess' is to be expected if the user
   is authenticated and has a high level of access.

3.2.2.  <domain> Result

   An example of a <domain> result:

   <domain
     authority="iana.org" registryType="dreg1"
     entityClass="domain-handle" entityName="example-com-1">
     <domainName>example.com</domainName>
     <domainHandle>tcs-com-1</domainHandle>
     <nameServer
       iris:referentType="host"
       authority="iana.org" registryType="dreg1"
       entityClass="host-handle" entityName="research7" />
     <nameServer
       iris:referentType="host"
       authority="iana.org" registryType="dreg1"
       entityClass="host-handle" entityName="nsol184" />
     <registry
       iris:referentType="registrationAuthority"
       authority="com"
       registryType="dreg1"
       entityClass="contact-handle"
       entityName="VGRS" />
     <registrar
       iris:referentType="registrationAuthority"
       authority="iana.org" registryType="dreg1"
       entityClass="contact-handle" entityName="dbarton" />



Newton & Sanz               Standards Track                     [Page 7]
^L
RFC 3982                       IRIS-Dreg                    January 2005


     <initialDelegationDateTime xsi:nil="true"/>
   </domain>

   The <domain> result represents an instance of a domain assignment.
   The children of the <domain> element are as follows:

   o  <domainName> -- the full name of the domain as it is in DNS.  The
      contents of this element MUST be a domain name as specified by RFC
      1035 [9].

   o  <idn> -- the name of the domain in nameprep form, if applicable.
      See RFC 3491 [15].

   o  <domainHandle> -- a registry unique assigned identifier for a
      domain.

   o  <nameServer> -- MUST contain an entity reference to a referent of
      type <host> (Section 3.2.3).

   o  <registrant> -- contains an entity reference to the registrant of
      this domain.  The referent MUST be a <contact> result (Section
      3.2.4).

   o  Domain contacts -- the following elements contain an entity
      reference with a relationship to the domain.  The referent of each
      MUST be a <contact> (Section 3.2.4).
      *  <billingContacts>
      *  <technicalContacts>
      *  <administrativeContacts>
      *  <legalContacts>
      *  <zoneContacts>
      *  <abuseContacts>
      *  <securityContacts>
      *  <otherContacts>

   o  <status> -- This may contain at least one of the following
      elements of type 'domainStatusType' (see Section 3.2.1), but none
      of these elements may appear more than once.
      *  <reservedDelegation> -- permanently inactive
      *  <assignedAndActive> -- normal state
      *  <assignedAndInactive> -- registration assigned but delegation
         inactive
      *  <assignedAndOnHold> -- dispute
      *  <revoked> -- database purge pending
      *  <transferPending> -- change of authority pending
      *  <registryLock> -- on hold by registry
      *  <registrarLock> -- on hold by registrar




Newton & Sanz               Standards Track                     [Page 8]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   o  <domainVariant> -- contains an entity reference, the referent of
      which MUST be a <domain> (Section 3.2.2).

   o  <registrationReference> -- contains an entity reference, the
      referent of which MUST be a <domain> (Section 3.2.2).  This
      element is intended to point to the downstream registration
      reference.  Therefore, if this is a result given back by a domain
      registry, it should point to the domain in the domain registrar or
      registrant service.

   o  <registry> -- contains an entity reference specifying the domain
      registry operator for this domain, which MUST be a
      <registrationAuthority> (Section 3.2.5).  This element has an
      optional boolean 'hosting' attribute.  When the value of this
      attribute is positive, it indicates that the registry is
      responsible for authoritatively answering DNS queries for this
      domain.

   o  <registrar> -- contains an entity reference specifying the domain
      registrar operator for this domain, which MUST be a
      <registrationAuthority> (Section 3.2.5).  This element has an
      optional boolean 'hosting' attribute.  When the value of this
      attribute is positive, it indicates that the registrar is
      responsible for authoratively answering DNS queries for this
      domain.

   o  <initialDelegationDateTime> -- contains the date and time of the
      initial delegation of this domain.

   o  <lastRenewalDateTime> -- contains the date and time of last
      renewal of this domain.

   o  <expirationDateTime> -- contains the date and time of the
      expiration of this domain.

   o  <lastContactModificationDateTime> -- specifies the last time a
      contact for the domain was added or removed.

   o  <lastContactModificationBy> -- contains an entity reference.  The
      referent MUST be a <contact> (Section 3.2.4) responsible for the
      last addition or removal of a contact for this domain.

   o  <lastDelegationModificationDateTime> -- contains the date and time
      of the last time one of the nameservers was added or removed for
      the delegation of this domain.






Newton & Sanz               Standards Track                     [Page 9]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   o  <lastDelegationModificationBy> -- contains an entity reference.
      The referent MUST be a <contact> result (Section 3.2.4) and MUST
      be responsible for the last addition or removal of a nameserver
      for this domain.

   o  <lastVerificationDateTime> -- contains the date and time of the
      last time the data for this domain was verified by the responsible
      registration authority.

   o  <iris:seeAlso> -- contains an entity reference specifying a
      referent indirectly associated with this domain.

3.2.3.  <host> Result

    An example of a <host> result:

   <host
     authority="iana.org" registryType="dreg1"
     entityClass="host-handle" entityName="nsol184" >
     <hostHandle>nsol184</hostHandle>
     <hostName>a.iana-servers.net</hostName>
     <ipV4Address>192.0.2.43</ipV4Address>
     <hostContact
       iris:referentType="contact"
       authority="iana.org" registryType="dreg1"
       entityClass="contact-handle" entityName="dbarton" />
   </host>

   The <host> element represents an instance of a host registration.
   The children of the <host> element are as follows:

   o  <hostHandle> -- a registry unique assigned identifier for the
      host.

   o  <hostName> -- the fully qualified domain name of the host.  The
      contents of this element are a domain name and MUST conform to RFC
      1035 [9].

   o  <ipV4Address> -- the content of this MUST conform to the a valid
      IP version 4 host address, as specified by RFC 791 [8].

   o  <ipV6Address> -- the content of this MUST conform to the a valid
      IP version 6 host address, as specified by RFC 3513 [7].

   o  <hostContact> -- contains an entity reference specifying a contact
      associated with this host.  The referent MUST be <contact>
      (Section 3.2.4) results.




Newton & Sanz               Standards Track                    [Page 10]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   o  <createdDateTime> -- contains the date and time when this host was
      created.

   o  <lastModificationDateTime> -- contains the date and time when this
      host was last modified.

   o  <lastVerificationDateTime> -- contains the date and time when this
      data for this host was last verified to be correct by the
      appropriate registration authority.

   o  <iris:seeAlso> -- contains an entity reference specifying a
      referent indirectly associated with this host.

3.2.4.  <contact> Result

   An example of a <contact> result:

   <contact
     authority="iana.org" registryType="dreg1"
     entityClass="contact-handle" entityName="dbarton" >
     <contactHandle>dbarton</contactHandle>
     <commonName>IANA Manager</commonName>
     <organization>Internet Assigned Numbers Authority</organization>
     <eMail>res-dom@iana.org</eMail>
     <postalAddress>
       <address>4676 Admiralty Way, Suite 330</address>
       <city>Marina del Rey</city>
       <region>CA</region>
       <postalCode>92092</postalCode>
       <country>US</country>
     </postalAddress>
     <phone>+1.3108239358</phone>
   </contact>

   The <contact> element represents an instance of a contact
   registration.  The children of the <contact> element are as follows:

   o  <contactHandle> -- a registry unique assigned identifier for this
      contact.

   o  <commonName> -- the name of the contact.

   o  <language> -- a specification of the language code to use to
      localize the data in this result.

   o  <type> -- contains one of the following child elements: <person>,
      <organization>, <role>, or <other>.  Each of these elements is a
      "contactTypeType" as defined in Section 3.2.1.



Newton & Sanz               Standards Track                    [Page 11]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   o  <organization> -- contains the organization name of the contact.

   o  <eMail> -- contains an e-mail address for this contact.

   o  <IDNeMail> -- contains an e-mail address within an
      internationalized domain name [14].

   o  <sip> -- contains a SIP URI for this contact.

   o  <postalAddress> -- contains children representing a postal
      address.  <postalAddress> has the following children:
      *  <address> -- contains the street address for this contact.
      *  <city> -- contains the city for this contact.
      *  <region> -- contains the national region for this contact.
      *  <postalCode> -- contains the postal code for this contact.
      *  <country> -- contains the country for this contact.  This
         SHOULD be a two-letter country code compliant with ISO 3166
         [11].

   o  <phone> -- contains a voice phone number for this contact.  If it
      begins with a '+' (plus) character, it MUST be a number defined by
      E164 [13].  The format number defined in E164 [13] is RECOMMENDED.

   o  <fax> -- contains a facsimile phone number for this contact.  If
      it begins with a '+' (plus) character, it MUST be a number defined
      by E164 [13].  The format number defined in E164 [13] is
      RECOMMENDED.

   o  <createdDateTime> -- contains the date and time when this contact
      was created.

   o  <lastModificationDateTime> -- contains the date and time when this
      contact was last modified.

   o  <lastVerificationDateTime> -- contains the date and time when this
      data for this contact was last verified to be correct by the
      appropriate registration authority.

   o  <translatedContacts> -- contains an entity reference specifying
      equivalents of this contact that have been translated into other
      languages.  The referent MUST be <contact> results (Section
      3.2.4).

   o  <iris:seeAlso> -- contains an entity reference specifying a
      referent indirectly associated with this contact.






Newton & Sanz               Standards Track                    [Page 12]
^L
RFC 3982                       IRIS-Dreg                    January 2005


3.2.5.  <registrationAuthority>

   An example of a <registrationAuthority> result:

   <registrationAuthority
     authority="iana.org" registryType="dreg1"
     entityClass="registration-authority" entityName="iana" >
     <serviceInstance
       iris:referentType="iris:serviceIdentification"
       authority="iana.org" registryType="dreg1"
       entityClass="iris" entityName="id" />
     <organizationName>
       Internet Assigned Numbers Authority
     </organizationName>
     <registrar />
   </registrationAuthority>

   The <registrationAuthority> result represents an entity capable of
   registering domains.

   The <serviceInstance> child element of <registrationAuthority>
   contains an entity reference pointing to the entity "id" in the
   entity class "iris".  The authority areas found in the referent MUST
   be domains for which a given registration authority has control.

   The <organizationName> child element contains the name of the
   registration authority.

   The registration authority type child elements <registry>,
   <registrar>, and <other> determine the role this registration
   authority plays in the process of registering domains.  This element
   is intended to explain the various roles a registration authority may
   have in the authority areas pointed to by the <serviceInstance>
   element.  A client MAY understand the relationship of a registration
   authority with respect to a domain by the placement of the reference
   in the domain (e.g., <registry> or <registrar>).

   The <domain> child elements each contain one domain name signifying
   the domains for which this registration authority may register sub-
   domains.

3.3.  Generic Code Derivatives

3.3.1.  <searchTooWide>

   Servers MAY use the <searchTooWide> error code when a query must be
   narrowed to yield a result set acceptable under the policies of the
   server operator.



Newton & Sanz               Standards Track                    [Page 13]
^L
RFC 3982                       IRIS-Dreg                    January 2005


3.3.2.  <languageNotSupported>

   The queries <findDomainsByRegistrant>, <findDomainsByIDNName>, and
   <findContacts> support optional language tags that allow a client to
   suggest to a server the languages in which to scope the queries.  If
   a client passes to the server a language that the server does not
   support, the server MAY use this error code to indicate that one of
   the languages is not supported.

   This element contains child elements named <unsupportedLanguage>.
   Each of these child elements specifies a language not supported by
   the server.  When a server returns this error, it MUST give the
   languages from the query which are not supported.

3.4.  Support for <iris:lookupEntity>

   The following types of entity classes are recognized by the
   <lookupEntity> query of IRIS for this registry:

   o  host-name -- The fully qualified domain name of a nameserver.  It
      yields a <host> (Section 3.2.3) in the response.

   o  host-handle -- The registry unique identifier given a nameserver.
      It yields a <host> (Section 3.2.3) in the response.

   o  domain-name -- The fully qualified name of a domain.  This a
      domain name as specified by RFC 1035 [9].  It yields a <domain>
      (Section 3.2.2) in the response.

   o  idn -- The fully qualified name of a domain in nameprep form (see
      RFC 3491 [15]).  It yields a <domain> (Section 3.2.2) in the
      response.

   o  domain-handle -- The registry unique identifier given a domain.
      It yields a <domain> (Section 3.2.2) in the response.

   o  contact-handle -- The registry unique identifier given a contact.
      It yields a <contact> (Section 3.2.4) in the response.

   o  ipv4-address -- The IPv4 address of a nameserver.  It yields a
      <host> (Section 3.2.3) in the response.

   o  ipv6-address -- The IPv6 address of a nameserver.  It yields a
      <host> (Section 3.2.3) in the response.

   o  registration-authority -- The name of a registration authority.
      It yields a <registrationAuthority> (Section 3.2.5) in the
      response.



Newton & Sanz               Standards Track                    [Page 14]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   All names in these entity classes are case insensitive.

4.  Formal XML Syntax

   This registry schema is specified in the XML Schema notation.  The
   formal syntax presented here is a complete schema representation
   suitable for automated validation of an XML instance when combined
   with the formal schema syntax of IRIS.

   <?xml version="1.0"?>
   <schema xmlns="http://www.w3.org/2001/XMLSchema"
     xmlns:dreg="urn:ietf:params:xml:ns:dreg1"
     xmlns:iris="urn:ietf:params:xml:ns:iris1"
     targetNamespace="urn:ietf:params:xml:ns:dreg1"
     elementFormDefault="qualified" >

     <import namespace="urn:ietf:params:xml:ns:iris1" />

     <annotation>
       <documentation>
         Domain registry schema
         derived from IRIS schema
       </documentation>
     </annotation>

     <!-- ========================================= -->
     <!--                                           -->
     <!-- Query Types                               -->
     <!--                                           -->
     <!-- ========================================= -->

     <!--                                           -->
     <!-- Find Registrars By Name                   -->
     <!--                                           -->

     <complexType
       name="findRegistrarsByNameType">
       <complexContent>
         <extension
           base="iris:queryType">
           <sequence>
             <element
               ref="dreg:baseDomain"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="namePart"
               type="dreg:exactOrPartialMatchParameter"



Newton & Sanz               Standards Track                    [Page 15]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               minOccurs="0"
               maxOccurs="1" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="findRegistrarsByName"
       type="dreg:findRegistrarsByNameType"
       substitutionGroup="iris:query" />

     <!--                                           -->
     <!-- Find Domains By Contact                   -->
     <!--                                           -->

     <complexType
       name="findDomainsByContactType">
       <complexContent>
         <extension
           base="iris:queryType">
           <sequence>
             <element
               ref="dreg:baseDomain"
               minOccurs="0"
               maxOccurs="1" />
             <choice>
               <group
                 ref="dreg:contactSearchGroup" />
               <element
                 name="contactHandle"
                 type="dreg:exactMatchParameter" />
             </choice>
             <element
               name="role"
               minOccurs="0"
               maxOccurs="1" >
               <simpleType>
                 <restriction
                   base="string" >
                   <enumeration
                     value="registrant" />
                   <enumeration
                     value="billingContact" />
                   <enumeration
                     value="technicalContact" />
                   <enumeration
                     value="administrativeContact" />



Newton & Sanz               Standards Track                    [Page 16]
^L
RFC 3982                       IRIS-Dreg                    January 2005


                   <enumeration
                     value="legalContact" />
                   <enumeration
                     value="zoneContact" />
                   <enumeration
                     value="abuseContact" />
                   <enumeration
                     value="securityContact" />
                   <enumeration
                     value="otherContact" />
                 </restriction>
               </simpleType>
             </element>
             <element
               name="language"
               type="language"
               minOccurs="0"
               maxOccurs="unbounded"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="findDomainsByContact"
       type="dreg:findDomainsByContactType"
       substitutionGroup="iris:query" />

     <!--                                           -->
     <!-- Find Domains By Name                      -->
     <!--                                           -->

     <complexType
       name="findDomainsByNameType">
       <complexContent>
         <extension
           base="iris:queryType">
           <sequence>
             <element
               name="namePart"
               type="dreg:partialMatchParameter" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="findDomainsByName"



Newton & Sanz               Standards Track                    [Page 17]
^L
RFC 3982                       IRIS-Dreg                    January 2005


       type="dreg:findDomainsByNameType"
       substitutionGroup="iris:query" />

     <!--                                           -->
     <!-- Find Domains By Internationalized Name    -->
     <!--                                           -->

     <complexType
       name="findDomainsByIDNType">
       <complexContent>
         <extension
           base="iris:queryType">
           <sequence>
             <element
               name="namePart"
               type="dreg:exactMatchParameter" />
             <element
               name="language"
               type="language"
               minOccurs="0"
               maxOccurs="unbounded"/>
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="findDomainsByIDN"
       type="dreg:findDomainsByIDNType"
       substitutionGroup="iris:query" />

     <!--                                           -->
     <!-- Find Contacts                             -->
     <!--                                           -->

     <complexType
       name="findContactsType">
       <complexContent>
         <extension
           base="iris:queryType">
           <sequence>
             <group
               ref="dreg:contactSearchGroup" />
             <element
               name="language"
               type="language"
               minOccurs="0"
               maxOccurs="unbounded"/>



Newton & Sanz               Standards Track                    [Page 18]
^L
RFC 3982                       IRIS-Dreg                    January 2005


            </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="findContacts"
       type="dreg:findContactsType"
       substitutionGroup="iris:query" />

     <!--                                           -->
     <!-- Find Domains By Host                      -->
     <!--                                           -->

     <complexType
       name="findDomainsByHostType">
       <complexContent>
         <extension
           base="iris:queryType">
           <sequence>
             <element
               ref="dreg:baseDomain"
               minOccurs="0"
               maxOccurs="1" />
             <choice>
               <element
                 name="hostName"
                 type="dreg:exactMatchParameter" />
               <element
                 name="hostHandle"
                 type="dreg:exactMatchParameter" />
               <element
                 name="ipV4Address"
                 type="dreg:exactMatchParameter" />
               <element
                 name="ipV6Address"
                 type="dreg:exactMatchParameter" />
             </choice>
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="findDomainsByHost"
       type="dreg:findDomainsByHostType"
       substitutionGroup="iris:query" />




Newton & Sanz               Standards Track                    [Page 19]
^L
RFC 3982                       IRIS-Dreg                    January 2005


     <!--                                           -->
     <!-- Contact Search Group                      -->
     <!--                                           -->

     <group
       name="contactSearchGroup">
       <choice>
         <element
           name="commonName"
           type="dreg:exactOrPartialMatchParameter" />
         <element
           name="organization"
           type="dreg:exactOrPartialMatchParameter" />
         <element
           name="eMail"
           type="dreg:domainResourceParameter" />
         <element
           name="city"
           type="dreg:exactMatchParameter" />
         <element
           name="region"
           type="dreg:exactMatchParameter" />
         <element
           name="postalCode"
           type="dreg:exactMatchParameter" />
       </choice>
     </group>

     <complexType
       name="exactOrPartialMatchParameter">
       <choice>
         <group
           ref="dreg:partialMatchGroup" />
         <group
           ref="dreg:exactMatchGroup" />
       </choice>
     </complexType>

     <complexType
       name="exactMatchParameter">
       <group
         ref="dreg:exactMatchGroup" />
     </complexType>

     <complexType
       name="partialMatchParameter">
       <sequence>
         <group



Newton & Sanz               Standards Track                    [Page 20]
^L
RFC 3982                       IRIS-Dreg                    January 2005


           ref="dreg:partialMatchGroup" />
       </sequence>
     </complexType>

     <complexType
       name="domainResourceParameter" >
       <choice>
         <group
           ref="dreg:exactMatchGroup" />
         <element
           name="inDomain"
           type="token" />
       </choice>
     </complexType>

     <element
       name="baseDomain"
       type="normalizedString" />

     <group
       name="partialMatchGroup">
       <choice>
         <sequence>
           <element
             name="beginsWith">
             <simpleType>
               <restriction
                 base="token">
                 <minLength
                   value="1"/>
               </restriction>
             </simpleType>
           </element>
           <element
             minOccurs="0"
             name="endsWith">
             <simpleType>
               <restriction
                 base="token">
                 <minLength
                   value="1"/>
               </restriction>
             </simpleType>
           </element>
         </sequence>
         <element
           name="endsWith">
           <simpleType>



Newton & Sanz               Standards Track                    [Page 21]
^L
RFC 3982                       IRIS-Dreg                    January 2005


             <restriction
               base="token">
               <minLength
                 value="1"/>
             </restriction>
           </simpleType>
         </element>
       </choice>
     </group>

     <group
       name="exactMatchGroup">
       <sequence>
         <element
           name="exactMatch"
           type="normalizedString" />
       </sequence>
     </group>

     <!-- ========================================= -->
     <!--                                           -->
     <!-- Result Types                              -->
     <!--                                           -->
     <!-- ========================================= -->

     <!--                                           -->
     <!-- Domain                                    -->
     <!--                                           -->

     <complexType
       name="domainType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="domainName"
               type="token" />
             <element
               name="idn"
               type="token"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="domainHandle"
               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"



Newton & Sanz               Standards Track                    [Page 22]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               maxOccurs="1" />
             <element
               name="nameServer"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="registrant"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="billingContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="technicalContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="administrativeContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="legalContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="zoneContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="abuseContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="securityContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="otherContact"



Newton & Sanz               Standards Track                    [Page 23]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="lastContactModificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastContactModificationBy"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="status"
               minOccurs="0"
               maxOccurs="1">
               <complexType>
                 <all>
                   <element
                     name="reservedDelegation"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="assignedAndActive"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="assignedAndInactive"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="assignedAndOnHold"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="revoked"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="transferPending"
                     minOccurs="0"



Newton & Sanz               Standards Track                    [Page 24]
^L
RFC 3982                       IRIS-Dreg                    January 2005


                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="registryLock"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="registrarLock"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                   <element
                     name="other"
                     minOccurs="0"
                     maxOccurs="1"
                     type="dreg:domainStatusType" />
                 </all>
               </complexType>
             </element>
             <element
               name="domainVariant"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="registrationReference"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="registry"
               minOccurs="0"
               maxOccurs="1">
               <complexType>
                 <complexContent>
                   <extension
                     base="iris:entityType">
                     <attribute
                       name="hosting"
                       type="boolean" />
                   </extension>
                 </complexContent>
               </complexType>
             </element>
             <element
               name="registrar"
               minOccurs="0"



Newton & Sanz               Standards Track                    [Page 25]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               maxOccurs="1">
               <complexType>
                 <complexContent>
                   <extension
                     base="iris:entityType">
                     <attribute
                       name="hosting"
                       type="boolean" />
                   </extension>
                 </complexContent>
               </complexType>
             </element>
             <element
               name="initialDelegationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastRenewalDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="expirationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastDelegationModificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastDelegationModificationBy"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastVerificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element



Newton & Sanz               Standards Track                    [Page 26]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="domain"
       type="dreg:domainType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Host                                      -->
     <!--                                           -->

     <complexType
       name="hostType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="hostHandle"
               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="hostName"
               type="normalizedString" />
             <element
               name="ipV4Address"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="ipV6Address"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="hostContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element



Newton & Sanz               Standards Track                    [Page 27]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               name="createdDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastModificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastVerificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="host"
       type="dreg:hostType"
       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Contact                                   -->
     <!--                                           -->

     <complexType
       name="contactType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="contactHandle"
               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element



Newton & Sanz               Standards Track                    [Page 28]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               name="commonName"
               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1"/>
             <element
               name="language"
               type="language"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="type"
               minOccurs="0"
               maxOccurs="1">
               <complexType>
                 <choice>
                   <element
                     name="person"
                     type="dreg:contactTypeType" />
                   <element
                     name="organization"
                     type="dreg:contactTypeType" />
                   <element
                     name="role"
                     type="dreg:contactTypeType" />
                   <element
                     name="other"
                     type="dreg:contactTypeType" />
                 </choice>
               </complexType>
             </element>
             <element
               name="organization"
               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="eMail"
               type="dreg:stringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="IDNeMail"
               type="dreg:stringPrivacyType"
               nillable="true"
               minOccurs="0"



Newton & Sanz               Standards Track                    [Page 29]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               maxOccurs="unbounded" />
             <element
               name="sip"
               type="dreg:stringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="postalAddress"
               minOccurs="0"
               maxOccurs="unbounded" >
               <complexType>
                 <sequence>
                   <element
                     name="address"
                     type="dreg:stringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="city"
                     type="dreg:stringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="region"
                     type="dreg:stringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="postalCode"
                     type="dreg:normalizedStringPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                   <element
                     name="country"
                     type="dreg:tokenPrivacyType"
                     nillable="true"
                     minOccurs="0"
                     maxOccurs="1" />
                 </sequence>
               </complexType>
             </element>
             <element
               name="phone"



Newton & Sanz               Standards Track                    [Page 30]
^L
RFC 3982                       IRIS-Dreg                    January 2005


               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="fax"
               type="dreg:normalizedStringPrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               name="createdDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastModificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="lastVerificationDateTime"
               type="dreg:dateTimePrivacyType"
               nillable="true"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="translatedContact"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="unbounded" />
             <element
               ref="iris:seeAlso"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="contact"
       type="dreg:contactType"
       substitutionGroup="iris:result" />

     <!--                                           -->



Newton & Sanz               Standards Track                    [Page 31]
^L
RFC 3982                       IRIS-Dreg                    January 2005


     <!-- Registration Authority                    -->
     <!--                                           -->

     <complexType
       name="registrationAuthorityType">
       <complexContent>
         <extension
           base="iris:resultType">
           <sequence>
             <element
               name="serviceInstance"
               type="iris:entityType"
               minOccurs="0"
               maxOccurs="1" />
             <element
               name="organizationName"
               type="string"
               minOccurs="0"
               maxOccurs="1" />
             <choice
               minOccurs="0"
               maxOccurs="3">
               <element
                 name="registry">
                 <complexType/>
               </element>
               <element
                 name="registrar">
                 <complexType/>
               </element>
               <element
                 name="other">
                 <complexType/>
               </element>
             </choice>
             <element
               name="domain"
               type="token"
               minOccurs="0"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="registrationAuthority"
       type="dreg:registrationAuthorityType"



Newton & Sanz               Standards Track                    [Page 32]
^L
RFC 3982                       IRIS-Dreg                    January 2005


       substitutionGroup="iris:result" />

     <!--                                           -->
     <!-- Privacy Label Types                       -->
     <!--                                           -->

     <attributeGroup
       name="privacyLabelAttributeGroup">
       <attribute
         name="private"
         type="boolean" />
       <attribute
         name="denied"
         type="boolean" />
       <attribute
         name="doNotRedistribute"
         type="boolean" />
       <attribute
         name="specialAccess"
         type="boolean" />
     </attributeGroup>

     <complexType
       name="dateTimePrivacyType">
       <simpleContent>
         <extension
           base="dateTime">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="stringPrivacyType">
       <simpleContent>
         <extension
           base="string">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="normalizedStringPrivacyType">
       <simpleContent>
         <extension



Newton & Sanz               Standards Track                    [Page 33]
^L
RFC 3982                       IRIS-Dreg                    January 2005


           base="normalizedString">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="tokenPrivacyType">
       <simpleContent>
         <extension
           base="token">
           <attributeGroup
             ref="dreg:privacyLabelAttributeGroup" />
         </extension>
       </simpleContent>
     </complexType>

     <complexType
       name="domainStatusType">
       <sequence>
         <element
           name="appliedDate"
           type="dateTime"
           minOccurs="0"
           maxOccurs="1" />
         <element
           name="description"
           minOccurs="0"
           maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension
                 base="string">
                 <attribute
                   name="language"
                   type="language"
                   use="required" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attributeGroup
         ref="dreg:privacyLabelAttributeGroup" />
       <attribute
         name="scope"
         type="string" />



Newton & Sanz               Standards Track                    [Page 34]
^L
RFC 3982                       IRIS-Dreg                    January 2005


     </complexType>

     <complexType
       name="contactTypeType">
       <sequence>
         <element
           name="description"
           minOccurs="0"
           maxOccurs="unbounded">
           <complexType>
             <simpleContent>
               <extension
                 base="string">
                 <attribute
                   name="language"
                   type="language"
                   use="required" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attributeGroup
         ref="dreg:privacyLabelAttributeGroup" />
     </complexType>

     <!-- ========================================= -->
     <!--                                           -->
     <!-- Error Codes                               -->
     <!--                                           -->
     <!-- ========================================= -->

     <!--                                           -->
     <!-- Search Too Wide                           -->
     <!--                                           -->

     <element
       name="searchTooWide"
       type="iris:codeType"
       substitutionGroup="iris:genericCode" />

     <!--                                           -->
     <!-- Language Not Supported                    -->
     <!--                                           -->

     <complexType
       name="languageNotSupportedType">
       <complexContent>



Newton & Sanz               Standards Track                    [Page 35]
^L
RFC 3982                       IRIS-Dreg                    January 2005


         <extension
           base="iris:codeType">
           <sequence>
             <element
               name="unsupportedLanguage"
               type="language"
               minOccurs="1"
               maxOccurs="unbounded" />
           </sequence>
         </extension>
       </complexContent>
     </complexType>

     <element
       name="languageNotSupported"
       type="dreg:languageNotSupportedType"
       substitutionGroup="iris:genericCode" />

   </schema>

                         Figure 5: dreg.xsd

5.  BEEP Transport Compliance

   IRIS allows several extensions of the core capabilities.  This
   section outlines extensions allowable by IRIS-BEEP [6].

5.1.  Message Pattern

   This registry type uses the default message pattern described in
   IRIS-BEEP [6].

5.2.  Server Authentication

   This registry type only uses the basic TLS server authentication
   method, as described in IRIS-BEEP [6].

6.  URI Resolution

6.1.  Application Service Label

   The application service label associated with this registry type MUST
   be "DREG1".  This is the abbreviated form of the URN for this
   registry type: urn:ietf:params:xml:ns:dreg1.







Newton & Sanz               Standards Track                    [Page 36]
^L
RFC 3982                       IRIS-Dreg                    January 2005


6.2.  Bottom-Up Resolution

   The bottom-up alternative resolution method MUST be identified as
   'bottom' in IRIS URI's.

   The process for this resolution method differs from the direct-
   resolution method if the authority is only a domain name (i.e.,
   without the port number).  The process for this condition is as
   follows:

   1. The IRIS [5] direct-resolution process is tried on the domain name
      (e.g., "example.com").

   2. If the direct-resolution process yields no server for which a
      connection can be made, then the leftmost label of the domain name
      is removed, and the first step is repeated again (e.g., "com").

   3. If all the labels of the domain name are removed and no server
      connections have been made, then the DNS is queried for the
      address records corresponding to the original domain name, and the
      port used is the well-known port for the default protocol of IRIS.

6.3.  Top-Down Resolution

   The top-down alternative resolution method MUST be identified as
   'top' in IRIS URIs.

   The process for this resolution method differs from the direct-
   resolution method if the authority is only a domain name (i.e.,
   without the port number).  The process for this condition is as
   follows:

   1. The domain name is reduced to its rightmost label.  This is always
      '.'.

   2. The IRIS [5] direct-resolution process is tried on the domain
      name.

   3. If the direct-resolution process yields no server for which a
      connection can be made, then the original label to the left of the
      rightmost label of the domain name is prepended, and the second
      step is repeated again (e.g., if ".", then "com"; if "com", then
      "example.com").

   4. If all the labels of the original domain are present and no server
      connections have been made, then the DNS is queried for the
      address records corresponding to the original domain name, and the
      port used is the well-known port for the default protocol of IRIS.



Newton & Sanz               Standards Track                    [Page 37]
^L
RFC 3982                       IRIS-Dreg                    January 2005


7.  Internationalization Considerations

   Implementers should be aware of considerations for
   internationalization in IRIS [5].

   This document specifies the lookup of domain names, both the
   traditional ASCII form and the IDN form.  In addition, the social
   data associated with contacts may also be non-ASCII and could contain
   virtually any Unicode character.  The <language> element is provided
   in queries that have the potential to traverse such data.  Clients
   should use this element to indicate the desired target languages to
   the server, and servers should use this element to better enable
   normalization and search processes (see [18]).

   For clients needing to localize the data tags in this protocol, note
   that localization is only needed on the names of XML elements and
   attributes with the exception of elements containing date and time
   information.  The schema for this registry has been designed so that
   clients need not interpret the content of elements or attributes for
   localization, other than that of elements containing date and time
   information.

   Clients should also make use of the <language> elements provided in
   many of the results.  Results containing data that may be in Unicode
   are accompanied by these elements in order to aid better presentation
   of the data to the user.

   The "dateTimePrivacyType" element type contains the XML Schema [3]
   data type "dateTime".  The contents of this element MUST be specified
   by using the 'Z' indicator for Coordinated Universal Time (UTC).

8.  IANA Considerations

8.1.  XML Namespace URN Registration

   This document makes use of a proposed XML namespace and schema
   registry specified in XML_URN [16].  Accordingly, the following
   registration information is provided for the IANA:

      o  URN/URI:
         *  urn:ietf:params:xml:ns:dreg1
      o  Contact:
         *  Andrew Newton <andy@hxr.us>
         *  Marcos Sanz <sanz@denic.de>
      o  XML:
         *  The XML Schema specified in Section 4





Newton & Sanz               Standards Track                    [Page 38]
^L
RFC 3982                       IRIS-Dreg                    January 2005


8.2.  S-NAPTR Registration

   The following S-NAPTR application service label has been registered
   with IANA according to the IANA considerations defined in IRIS [5]:

      DREG1

8.3.  BEEP Registration

   The following BEEP Profile URI has been registered with IANA, in
   addition to the registration provided in IRIS-BEEP [6].

      http://iana.org/beep/iris1/dreg1

9.  Security Considerations

   This document lays out no new considerations for security precautions
   beyond that specified in IRIS [5].

10.  References

10.1.  Normative References

   [1]  World Wide Web Consortium, "Extensible Markup Language (XML)
        1.0", W3C XML, February 1998, <http://www.w3.org/TR/1998/REC-
        xml-19980210>.

   [2]  World Wide Web Consortium, "Namespaces in XML", W3C XML
        Namespaces, January 1999, <http://www.w3.org/TR/1999/REC-xml-
        names-19990114>.

   [3]  World Wide Web Consortium, "XML Schema Part 2: Datatypes", W3C
        XML Schema, October 2000, <http://www.w3.org/TR/2001/REC-
        xmlschema-2-20010502/>.

   [4]  World Wide Web Consortium, "XML Schema Part 1: Structures", W3C
        XML Schema, October 2000, <http://www.w3.org/TR/2001/REC-
        xmlschema-1-20010502/>.

   [5]  Newton, A. and M. Sanz, "IRIS: The Internet Registry Information
        Service (IRIS) Core Protocol", RFC 3981, December 2005.

   [6]  Newton, A. and M. Sanz, "Using the Internet Registry Information
        Service (IRIS) over the Blocks Extensible Exchange Protocol
        (BEEP)", RFC 3983, December 2005.






Newton & Sanz               Standards Track                    [Page 39]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   [7]  Hinden, R. and S. Deering, "Internet Protocol Version 6 (IPv6)
        Addressing Architecture", RFC 3513, April 2003.

   [8]  Postel, J., "Internet Protocol", STD 5, RFC 791, September 1981.

   [9]  Mockapetris, P., "Domain names - implementation and
        specification", STD 13, RFC 1035, November 1987.

   [10] Bradner, S., "Key words for use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

   [11] International Organization for Standardization, "Codes for the
        representation of names of countries, 3rd edition", ISO Standard
        3166, August 1988.

   [12] Braden, R., "Requirements for Internet Hosts - Application and
        Support", STD 3, RFC 1123, October 1989.

   [13] International Telecommunications Union, "The International
        Public Telecommunication Numbering Plan", ITU-T Recommendation
        E.164, 1991.

   [14] Faltstrom, P., Hoffman, P., and A. Costello, "Internationalizing
        Domain Names in Applications (IDNA)", RFC 3490, March 2003.

   [15] Hoffman, P. and M. Blanchet, "Nameprep: A Stringprep Profile for
        Internationalized Domain Names (IDN)", RFC 3491, March 2003.

   [16] Mealling, M., "The IETF XML Registry", BCP 81, RFC 3688, January
        2004.

10.2.  Informative References

   [17] Newton, A., "Cross Registry Internet Service Protocol (CRISP)
        Requirements", RFC 3707, February 2004.

URIs

   [18] <http://www.unicode.org/reports/tr15/>












Newton & Sanz               Standards Track                    [Page 40]
^L
RFC 3982                       IRIS-Dreg                    January 2005


Appendix A.  Examples of Requests and Responses

   The examples in this section use the string "C:" to denote data sent
   by a client to a server and the string "S:" to denote data sent by a
   server to a client.

A.1.  Example 1

   The following is an example of an entity lookup in a dreg1 registry
   for the domain-name of 'example.com'.  The response shows the ability
   to specify data as being withheld because it is private.

   C: <?xml version="1.0"?>
   C: <request xmlns="urn:ietf:params:xml:ns:iris1"
   C:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
   C:
   C:   <searchSet>
   C:
   C:     <lookupEntity
   C:       registryType="urn:ietf:params:xml:ns:dreg1"
   C:       entityClass="domain-name"
   C:       entityName="example.com" />
   C:
   C:   </searchSet>
   C:
   C: </request>

   S: <?xml version="1.0"?>
   S: <iris:response xmlns:iris="urn:ietf:params:xml:ns:iris1"
   S:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   S:
   S:   <iris:resultSet>
   S:     <iris:answer>
   S:
   S:       <domain xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         authority="iana.org" registryType="dreg1"
   S:         entityClass="domain-handle" entityName="example-com-1">
   S:
   S:         <domainName>example.com</domainName>
   S:         <domainHandle>tcs-com-1</domainHandle>
   S:
   S:         <nameServer iris:referentType="host" authority="iana.org"
   S:           registryType="dreg1" entityClass="host-handle"
   S:           entityName="research7" />
   S:
   S:         <nameServer iris:referentType="host" authority="iana.org"
   S:           registryType="dreg1" entityClass="host-handle"
   S:           entityName="nsol184" />



Newton & Sanz               Standards Track                    [Page 41]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   S:
   S:         <technicalContact iris:referentType="contact"
   S:           authority="iana.org" registryType="dreg1"
   S:           entityClass="contact-handle" entityName="dbarton" />
   S:
   S:         <status>
   S:           <assignedAndActive denied="true" />
   S:         </status>
   S:
   S:         <registry iris:referentType="registrationAuthority"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="contact-handle" entityName="VGRS" />
   S:
   S:         <initialDelegationDateTime xsi:nil="true"/>
   S:
   S:         <iris:seeAlso iris:referentType="ANY" authority="iana.org"
   S:           registryType="dreg1" entityClass="local"
   S:           entityName="notice"  />
   S:
   S:       </domain>
   S:
   S:     </iris:answer>
   S:   </iris:resultSet>
   S: </iris:response>

                          Figure 6: Example 1

A.2.  Example 2

   The following is an example of an entity lookup in a dreg1 registry
   for the contact-handle of 'mak21'.  The response shows the ability to
   specify data as being withheld because it is private.

   C: <?xml version="1.0"?>
   C: <request xmlns="urn:ietf:params:xml:ns:iris1"
   C:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
   C:
   C:   <searchSet>
   C:
   C:     <lookupEntity
   C:       registryType="urn:ietf:params:xml:ns:dreg1"
   C:       entityClass="contact-handle"
   C:       entityName="mak21" />
   C:
   C:   </searchSet>
   C:
   C: </request>
   S: <?xml version="1.0"?>



Newton & Sanz               Standards Track                    [Page 42]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   S: <response xmlns="urn:ietf:params:xml:ns:iris1"
   S:   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   S:
   S:   <resultSet>
   S:     <answer>
   S:
   S:       <contact xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         authority="com" registryType="dreg1"
   S:         entityClass="contact-handle" entityName="mak21" >
   S:
   S:         <contactHandle>mak21</contactHandle>
   S:
   S:         <commonName>
   S:           Mark Kosters
   S:         </commonName>
   S:
   S:         <organization>
   S:           VeriSign, Inc.
   S:         </organization>
   S:
   S:         <eMail>markk@verisignlabs.com</eMail>
   S:
   S:         <phone private="true" xsi:nil="true" />
   S:
   S:       </contact>
   S:
   S:     </answer>
   S:   </resultSet>
   S:
   S: </response>

                          Figure 7: Example 2

A.3.  Example 3

   The following is an example of a domain search based on a
   registrant's name beginning with the string 'The Cobbler Shoppe'.
   This example also shows the use of bags.

   C: <?xml version="1.0"?>
   C: <request xmlns="urn:ietf:params:xml:ns:iris1"
   C:          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
   C:
   C:   <searchSet>
   C:
   C:     <findDomainsByContact
   C:       xmlns="urn:ietf:params:xml:ns:dreg1" >
   C:       <baseDomain>com</baseDomain>



Newton & Sanz               Standards Track                    [Page 43]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   C:       <commonName>
   C:         <beginsWith>
   C:           The Cobbler Shoppe
   C:         </beginsWith>
   C:       </commonName>
   C:       <role>registrant</role>
   C:     </findDomainsByContact>
   C:
   C:   </searchSet>
   C:
   C: </request>

   S: <?xml version="1.0"?>
   S: <response xmlns="urn:ietf:params:xml:ns:iris1"
   S:           xmlns:iris="urn:ietf:params:xml:ns:iris1"
   S:           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   S:
   S:   <resultSet>
   S:     <answer>
   S:       <dreg:domain
   S:         xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         xmlns:dreg="urn:ietf:params:xml:ns:dreg1"
   S:         authority="com" registryType="dreg1"
   S:         entityClass="domain-handle" entityName="tcs-com-1" >
   S:         <domainName>example.com</domainName>
   S:         <nameServer
   S:           iris:referentType="dreg:host"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="host-handle" entityName="research7" />
   S:         <nameServer
   S:           iris:referentType="dreg:host"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="host-handle" entityName="nsol184" />
   S:         <registrant
   S:           iris:referentType="dreg:contact"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="contact-handle" entityName="beb140">
   S:           <iris:displayName language="en">
   S:             Bill Eckels
   S:           </iris:displayName>
   S:         </registrant>
   S:         <technicalContact
   S:           bagRef="x1"
   S:           iris:referentType="dreg:contact"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="contact-handle" entityName="mak21">
   S:           <iris:displayName language="en">
   S:             Mark Kosters



Newton & Sanz               Standards Track                    [Page 44]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   S:           </iris:displayName>
   S:         </technicalContact>
   S:         <status>
   S:           <transferPending denied="true" />
   S:           <assignedAndActive denied="true" />
   S:         </status>
   S:         <registry
   S:           iris:referentType="dreg:registrationAuthority"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="local" entityName="VRSN"
   S:           hosting="false" />
   S:         <iris:seeAlso
   S:           iris:referentType="ANY"
   S:           authority="com" registryType="dreg1"
   S:           entityClass="local" entityName="notice" />
   S:       </dreg:domain>
   S:     </answer>
   S:     <additional>
   S:       <dreg:contact
   S:         xmlns="urn:ietf:params:xml:ns:dreg1"
   S:         xmlns:dreg="urn:ietf:params:xml:ns:dreg1"
   S:         authority="com" registryType="dreg1"
   S:         entityClass="contact-handle" entityName="beb140" >
   S:         <contactHandle>beb140</contactHandle>
   S:         <commonName>
   S:           Bill Eckels
   S:         </commonName>
   S:         <language>en</language>
   S:         <type>
   S:           <person>
   S:           <description language="en">
   S:             Bill sells shoes down by the sea shore.
   S:           </description>
   S:           <description language="de">
   S:            Rechnung verkauft Schuhe unten durch das Seeufer.
   S:           </description>
   S:           </person>
   S:         </type>
   S:         <organization>
   S:           The Cobbler Shoppe
   S:         </organization>
   S:         <eMail private="true" xsi:nil="true" />
   S:         <postalAddress>
   S:           <address>
   S:             21 North Main Street
   S:           </address>
   S:           <city>
   S:             Britt



Newton & Sanz               Standards Track                    [Page 45]
^L
RFC 3982                       IRIS-Dreg                    January 2005


   S:           </city>
   S:           <region>
   S:             IA
   S:           </region>
   S:           <postalCode>
   S:             50423
   S:           </postalCode>
   S:           <country>
   S:             US
   S:           </country>
   S:         </postalAddress>
   S:         <phone>
   S:           +1.5158433521
   S:         </phone>
   S:       </dreg:contact>
   S:       <simpleEntity
   S:         authority="com" registryType="dreg1"
   S:         entityClass="local" entityName="notice" >
   S:         <property name="legal" language="en">
   S:           It is illegal to use information from this service
   S:           for the purposes of sending unsolicited bulk email.
   S:         </property>
   S:       </simpleEntity>
   S:     </additional>
   S:   </resultSet>
   S:   <bags>
   S:     <bag id="x1">
   S:       <simpleBag xmlns="http://example.com/">
   S:         AAAAB3NzaC1yc2EAAAABIwAAAIEA0ddD+W3Agl0Lel98G1r77fZ
   S:         c3nBl8CHdkmKuVGUy/ijmvdO5QxuSlU0R4BoCLZk/Sob22RApTn
   S:         T+ROMbXFQBrxGH08daAOy98WqpfAutWJri61JLpubIbaqhGyB48
   S:         Qt69V6OhYfFsJjvoNEOh1k2dgzXhSlzP3OMVSKRlBzGcO8=
   S:       </simpleBag>
   S:     </bag>
   S:   </bags>
   S:
   S: </response>

                          Figure 8: Example 3












Newton & Sanz               Standards Track                    [Page 46]
^L
RFC 3982                       IRIS-Dreg                    January 2005


Appendix B.  An Example of Database Serialization

   The following is an example of serializing domain data.

   This example shows the serialization of a domain, a host, and a
   referral.

   <iris:serialization
     xmlns:iris="urn:ietf:params:xml:ns:iris1"
     xmlns:dreg="urn:ietf:params:xml:ns:dreg1"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

     <dreg:domain
       xmlns="urn:ietf:params:xml:ns:dreg1"
       authority="com" registryType="dreg1"
       entityClass="domain-handle" entityName="tcs-com-1" >
       <domainName>example.com</domainName>
       <nameServer
         iris:referentType="dreg:host"
         authority="" registryType="dreg1"
         entityClass="host-handle" entityName="research7" />
       <nameServer
         iris:referentType="dreg:host"
         authority="" registryType="dreg1"
         entityClass="host-handle" entityName="nsol184" />
       <registrant
         iris:referentType="dreg:contact"
         authority="iana.org" registryType="dreg1"
         entityClass="contact-handle" entityName="beb140" />
       <technicalContact
         iris:referentType="dreg:contact"
         authority="net" registryType="dreg1"
         entityClass="contact-handle"
         entityName="mak21" >
         <iris:displayName language="en">
           IANA Administrator
         </iris:displayName>
       </technicalContact>
     </dreg:domain>

     <dreg:host
       xmlns="urn:ietf:params:xml:ns:dreg1"
       authority="com" registryType="dreg1"
       entityClass="host-handle" entityName="nsol184" >
       <hostHandle>nsol184</hostHandle>
       <hostName>ns1.iana.org</hostName>
       <ipV4Address>192.0.2.1</ipV4Address>
       <hostContact



Newton & Sanz               Standards Track                    [Page 47]
^L
RFC 3982                       IRIS-Dreg                    January 2005


         iris:referentType="dreg:contact"
         authority="com" registryType="dreg1"
         entityClass="contact-handle"
         entityName="dbarton" >
         <iris:displayName language="en">
           IANA Techie
         </iris:displayName>
       </hostContact>
     </dreg:host>

     <iris:serializedReferral>
       <iris:source
         authority="com" registryType="dreg1"
         entityClass="contact-handle"
         entityName="dbarton" />
       <iris:searchContinuation
         authority="net">

         <dreg:findRegistrarsByName>
           <dreg:baseDomain>com</dreg:baseDomain>
         </dreg:findRegistrarsByName>

       </iris:searchContinuation>
     </iris:serializedReferral>

   </iris:serialization>

                    Figure 9: dreg-serialization.xml

Appendix C.  Acknowledgements

   Many of the concepts concerning the use of SRV records for step-wise
   refinement toward finding authoritative servers and many of the
   details of result objects in this document were originally created by
   Eric A. Hall in his memos regarding the use of LDAP to satisfy the
   CRISP requirements.  These concepts have contributed significantly to
   the development of this protocol.

   David Blacka made many technical contributions based on his work on
   IRIS implementation and his experienced judgment.  He also
   contributed many editorial clarifications.










Newton & Sanz               Standards Track                    [Page 48]
^L
RFC 3982                       IRIS-Dreg                    January 2005


Authors' Addresses

   Andrew L. Newton
   VeriSign, Inc.
   21345 Ridgetop Circle
   Sterling, VA  20166
   USA

   Phone: +1 703 948 3382
   EMail: anewton@verisignlabs.com; andy@hxr.us
   URI:   http://www.verisignlabs.com/


   Marcos Sanz
   DENIC eG
   Wiesenhuettenplatz 26
   D-60329 Frankfurt
   Germany

   EMail: sanz@denic.de
   URI:   http://www.denic.de/






























Newton & Sanz               Standards Track                    [Page 49]
^L
RFC 3982                       IRIS-Dreg                    January 2005


Full Copyright Statement

   Copyright (C) The Internet Society (2005).

   This document is subject to the rights, licenses and restrictions
   contained in BCP 78, and except as set forth therein, the authors
   retain all their rights.

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

Intellectual Property

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the IETF's procedures with respect to rights in IETF Documents can
   be found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at ietf-
   ipr@ietf.org.

Acknowledgement

   Funding for the RFC Editor function is currently provided by the
   Internet Society.







Newton & Sanz               Standards Track                    [Page 50]
^L