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 [2013/04/23 08:06] 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>
  
-  If you have a large network, you might want to run a local and private slave DNS server for these zones to increase performances.+<note tip>**Unbound configuration example (forwarder)** 
 +<code> 
 +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
  
-<note tip>**BIND9 configuration example (slave)** +    domain-insecure:    "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa." 
-<code> +(...
-zone "168.192.in-addr.arpa" { + 
-  type slave; +stub-zone
-  masters { 192.168.248.53fd00:6b64:f3b0:53::1; }; +  name:         168.192.in-addr.arpa. 
-  file "/etc/bind/zones/db.192.168"; +  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
  
-zone "0.b.3.f.4.6.b.6.0.0.d.f.ip6.arpa" { 
-  type slave; 
-  masters { 192.168.248.53; fd00:6b64:f3b0:53::1; }; 
-  file "/etc/bind/zones/db.fd00:6b64:f3b0"; 
-}; 
 </code></note> </code></note>
  
-  [[doc:dns:core|Running a ‘core’ GLaNET domain name-server]]+<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 52: 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>
- 
-  * [[doc:dns:core|Running a ‘core’ GLaNET recursive domain name-server]].