aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu-name-system-default-tlds/Makefile19
-rw-r--r--gnu-name-system-default-tlds/POLICY12
-rw-r--r--gnu-name-system-default-tlds/README4
-rw-r--r--gnu-name-system-default-tlds/registry.rec22
-rw-r--r--gnu-name-system-default-tlds/tlds.header7
-rw-r--r--gnu-name-system-default-tlds/tlds.template2
-rw-r--r--gnu-name-system-record-types/POLICY9
7 files changed, 70 insertions, 5 deletions
diff --git a/gnu-name-system-default-tlds/Makefile b/gnu-name-system-default-tlds/Makefile
new file mode 100644
index 0000000..d2b66a6
--- /dev/null
+++ b/gnu-name-system-default-tlds/Makefile
@@ -0,0 +1,19 @@
1FILES=tlds.conf
2all: check $(FILES)
3
4check:
5 recfix --check registry.rec
6
7distclean:
8
9 rm -f *.tmp
10clean:
11 rm -f $(FILES) *.tmp
12
13tlds.conf.tmp: registry.rec tlds.template
14 ../format.sh tlds.template < registry.rec > $@
15
16tlds.conf: tlds.header tlds.conf.tmp
17 cat $^ > $@
18
19.PHONY: check clean distclean
diff --git a/gnu-name-system-default-tlds/POLICY b/gnu-name-system-default-tlds/POLICY
new file mode 100644
index 0000000..cfa8b50
--- /dev/null
+++ b/gnu-name-system-default-tlds/POLICY
@@ -0,0 +1,12 @@
1Each registry entry should contain three values: the "Key" of the
2authoritative zone of a TLD, the "Name" of the TLDS, an optional
3"Contact", and a "Reference" with links to further information about the
4authority.
5
6The "Name" must be unique in the entire registry. The value must be a
7case insensitive UTF-8 string without dots.
8
9Adding records is possible after expert review by the maintainers of GNUnet.
10
11The current contact(s) for expert review are reachable at
12gns-registry@gnunet.org.
diff --git a/gnu-name-system-default-tlds/README b/gnu-name-system-default-tlds/README
new file mode 100644
index 0000000..b2a9d4f
--- /dev/null
+++ b/gnu-name-system-default-tlds/README
@@ -0,0 +1,4 @@
1This registry is the default Top-Level-Domains (TLDs) for the GNU Name System.
2
3This registry is used to ensure that GNS resolvers ship with a default
4configuration of TLDs in order to ease transition and enable instant use.
diff --git a/gnu-name-system-default-tlds/registry.rec b/gnu-name-system-default-tlds/registry.rec
new file mode 100644
index 0000000..f784878
--- /dev/null
+++ b/gnu-name-system-default-tlds/registry.rec
@@ -0,0 +1,22 @@
1# -*- mode: rec -*-
2#
3# Registry for GNU Name System default Top-Level-Domains
4#
5
6%rec: GnsTld
7%key: Name
8%typedef: Name_t regexp /^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-]*$/
9%type: Name Name_t
10%typedef: Key_t regexp /^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789][ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*$/
11%type: Key Key_t
12%unique: Name
13%mandatory: Name
14%mandatory: Key
15%mandatory: Comment
16%allowed: Contact
17%allowed: References
18%sort: Name Contact References
19
20Name: pin
21Key: 000G001MF6DVMZZ4Y8XRZQDXM1PB3D3VGEK29ZHXBA57EPSNW1QBPKT8J0
22Comment: The FCFS authority managed by GNUnet e.V.
diff --git a/gnu-name-system-default-tlds/tlds.header b/gnu-name-system-default-tlds/tlds.header
new file mode 100644
index 0000000..e7f4233
--- /dev/null
+++ b/gnu-name-system-default-tlds/tlds.header
@@ -0,0 +1,7 @@
1# WARNING:
2# This header is generated!
3# In order to add TLDs, you must register
4# them in GANA, and then use the header generation script
5# to create an update of this file. You may then replace this
6# file with the update.
7[gns]
diff --git a/gnu-name-system-default-tlds/tlds.template b/gnu-name-system-default-tlds/tlds.template
new file mode 100644
index 0000000..48e9f45
--- /dev/null
+++ b/gnu-name-system-default-tlds/tlds.template
@@ -0,0 +1,2 @@
1# {{Comment}}
2.{{Name}} {{Key}}
diff --git a/gnu-name-system-record-types/POLICY b/gnu-name-system-record-types/POLICY
index 1369b11..89edf47 100644
--- a/gnu-name-system-record-types/POLICY
+++ b/gnu-name-system-record-types/POLICY
@@ -1,17 +1,16 @@
1Each registry entry should contain three values: the "Number" of the 1Each registry entry should contain three values: the "Number" of the
2record type, which must be above 65535 (to avoid conflicts with legacy 2record type, which must be above 65535 (to avoid conflicts with legacy
3DNS record types), the "Name" of the record type, an optional 3DNS record types), the "Name" of the record type, and a "Reference" with links
4"Contact" for the payment method, and a "Reference" with links to 4to further information about the record type.
5further information about the record type.
6 5
7The "Name" must be unique in the entire registry. The value must be a 6The "Name" must be unique in the entire registry. The value must be a
8case insensitive ASCII string and is restricted to alphanumeric 7case insensitive ASCII string and is restricted to alphanumeric
9characters, dots and dashes. 8characters.
10 9
11Adding records is possible after expert review, using a 10Adding records is possible after expert review, using a
12first-come-first-served policy for unique "Name" allocation. 11first-come-first-served policy for unique "Name" allocation.
13Experts are responsible to ensure that the chosen "Name" is 12Experts are responsible to ensure that the chosen "Name" is
14appropriate for the payment method. 13appropriate for the record type.
15 14
16The current contact(s) for expert review are reachable at 15The current contact(s) for expert review are reachable at
17gns-registry@gnunet.org. 16gns-registry@gnunet.org.