1
mirror of https://git.dn42.dev/wiki/wiki.git synced 2025-03-05 01:53:03 +01:00
wiki/Services-DNS.md

26 lines
1.4 KiB
Markdown
Raw Normal View History

2012-07-18 19:39:10 +02:00
# DNS
2013-11-04 23:06:04 +01:00
*(tl;dr)* We have a TLD for dn42, which is `.dn42`. The anycast resolver for `.dn42` runs on `172.22.0.53`.
**DNS is build from [[whois database|Services Whois]]. So please edit your DNS-records there.**
## Using the DNS service
You can either use the anycast resolver directly, or configure your local resolver to forward queries in the `.dn42` zone.
### Using the anycast resolver directly
Please be aware that this method sends **all** your DNS queries (e.g. `google.com`) to a random DNS server inside dn42. The server could fake the result and point you towards the russian mafia. They probably won't, but think about what you are doing. At the end of the day, your ISP could be evil as well, so it always boils down to a question of trust.
To do this, just use `172.22.0.53` as your resolver, for instance in `/etc/resolv.conf`.
### Forwarding `.dn42`queries
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]].
2012-07-18 19:39:10 +02:00
2013-11-04 23:19:24 +01:00
## Register a `.dn42` domain name
2012-07-18 19:39:10 +02:00
2013-11-04 23:18:14 +01:00
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).
2012-07-18 19:39:10 +02:00
2013-11-04 23:19:24 +01:00
## Providing DNS service
2012-07-18 19:39:10 +02:00
2013-11-04 23:19:24 +01:00
See [[Providing Anycast DNS]].