1
mirror of https://git.dn42.dev/wiki/wiki.git synced 2025-01-03 20:06:22 +01:00

Updated Services-DNS (markdown)

This commit is contained in:
dn42 wiki 2013-11-14 22:34:23 +01:00
parent 493d27881b
commit e1a07e760f

View File

@ -5,7 +5,7 @@
## Using the DNS service
You can either use the anycast resolver directly, or configure your local resolver to forward queries in the `.dn42` zone.
Below are several ways to use the `dn42` DNS service, from easiest to more challenging. The recommended method is the second one.
### Using the anycast resolver directly
@ -13,10 +13,18 @@ Please be aware that this method sends **all** your DNS queries (e.g. `google.co
To do this, just use `172.22.0.53` as your resolver, for instance in `/etc/resolv.conf`.
### Forwarding `.dn42`queries
### Forwarding `.dn42` queries to the anycast resolver
If you run your own resolver (`unbound`, `dnsmasq`, `bind`), you can configure it to forward dn42 queries to the anycast DNS resolver. See [[DNS forwarder configuration|Services DNS Configuration]].
### Recursive resolver
You may also want to configure your resolver to recursively resolve dn42 domains. For this, you need to find authoritative DNS servers for the `dn42` zone (and for the reverse zones). See [[Recursive DNS resolver]].
### Building the dn42 zones from the registry
Finally, you may want to host your own authoritative DNS server for the `dn42` zone and the reverse zones. The zone files are built from the monotone repository: scripts are provided in the repository itself.
## Register a `.dn42` domain name
The root zone for `dn42.` is built from the [[whois registry|Services Whois]]. If you want to register a domain name, you need to add it to the registry (of course, you also need one or two authoritative nameservers).