Differences

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

Link to this comparison view

Both sides previous revision Previous revision
doc:dns [2016/04/16 22:39]
Benjamin Collet
doc:dns [2020/01/13 14:32] (current)
Alexandre Girard [Description of service] Add Knot Resolver configuration
Line 48: Line 48:
 </​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 =====