~~NOTOC~~
====== Anycast DNS ======
===== Description of service =====
This service provides an efficient and fault tolerant way of resolving ''168.192.in-addr.arpa'' and ''0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa'' zones across GLaNET.
* To use it, simply add forwarding zones, pointing to the following servers:
* Anycast DNS IPv4: **192.168.248.53**.
* Anycast DNS IPv6: **''fd00:6b64:f3b0::53''**.
**BIND9 configuration example (forwarder)**
zone "168.192.in-addr.arpa" {
type forward;
forwarders { 192.168.248.53; fd00:6b64:f3b0::53; };
};
zone "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa" {
type forward;
forwarders { 192.168.248.53; fd00:6b64:f3b0::53; };
};
**Unbound configuration example (forwarder)**
server:
(...)
local-zone: "168.192.in-addr.arpa." nodefault
local-zone: "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa." transparent
domain-insecure: "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa."
(...)
stub-zone:
name: 168.192.in-addr.arpa.
stub-addr: fd00:6b64:f3b0::53
stub-addr: 192.168.248.53
stub-zone:
name: 0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa.
stub-addr: fd00:6b64:f3b0::53
stub-addr: 192.168.248.53
**Knot Resolver configuration example (forwarder)**
(...)
-- Forward all requests for 168.192.in-addr.arpa. to fd00:6b64:f3b0::53 and 192.168.248.53
policy.add(policy.suffix(policy.STUB({'fd00:6b64:f3b0::53', '192.168.248.53'}), {todname('168.192.in-addr.arpa')}))
-- Forward all requests for 0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa to fd00:6b64:f3b0::53 and 192.168.248.53
policy.add(policy.suffix(policy.STUB({'fd00:6b64:f3b0::53', '192.168.248.53'}), {todname('0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa')}))
(...)
===== Recursive DNS =====
We also aim to provide a recursive anycast DNS service within GLaNET. To use it, just configure the following addresses as your resolver:
* Anycast recursive DNS IPv4: **192.168.248.153**.
* Anycast recursive DNS IPv6: **''fd00:6b64:f3b0::153''**.