Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
doc:dns [2016/04/12 12:22] Benjamin Colletdoc:dns [2020/01/13 13:32] – [Description of service] Add Knot Resolver configuration Alexandre Girard
Line 10: Line 10:
 <note important> <note important>
   * Anycast DNS IPv4: **192.168.248.53**.   * Anycast DNS IPv4: **192.168.248.53**.
-  * Anycast DNS IPv6: **''fd00:6b64:f3b0:53::1''**.+  * Anycast DNS IPv6: **''fd00:6b64:f3b0::53''**.
 </note> </note>
  
Line 17: Line 17:
 zone "168.192.in-addr.arpa" { zone "168.192.in-addr.arpa" {
   type forward;   type forward;
-  forwarders { 192.168.248.53; fd00:6b64:f3b0:53::1; };+  forwarders { 192.168.248.53; fd00:6b64:f3b0::53; };
 }; };
  
 zone "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa" { zone "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa" {
   type forward;   type forward;
-  forwarders { 192.168.248.53; fd00:6b64:f3b0:53::1; };+  forwarders { 192.168.248.53; fd00:6b64:f3b0::53; };
 }; };
 </code></note> </code></note>
Line 38: Line 38:
 stub-zone: stub-zone:
   name:         168.192.in-addr.arpa.   name:         168.192.in-addr.arpa.
-  stub-addr:    fd00:6b64:f3b0:53::1+  stub-addr:    fd00:6b64:f3b0::53
   stub-addr:    192.168.248.53   stub-addr:    192.168.248.53
  
 stub-zone: stub-zone:
   name:         0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa.   name:         0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa.
-  stub-addr:    fd00:6b64:f3b0:53::1+  stub-addr:    fd00:6b64:f3b0::53
   stub-addr:    192.168.248.53   stub-addr:    192.168.248.53
  
 </code></note> </code></note>
  
 +<note tip>**Knot Resolver configuration example (forwarder)**
 +<code>
 +(...)
 +-- 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')}))
 +(...)
 +</code></note>
 ===== Recursive DNS ===== ===== Recursive DNS =====
  
Line 54: Line 64:
 <note important> <note important>
   * Anycast recursive DNS IPv4: **192.168.248.153**.   * Anycast recursive DNS IPv4: **192.168.248.153**.
-  * Anycast recursive DNS IPv6: **''fd00:6b64:f3b0:153::1''**.+  * Anycast recursive DNS IPv6: **''fd00:6b64:f3b0::153''**.
 </note> </note>