User Tools

Site Tools


software:bind

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
software:bind [2018/09/02 05:21]
Michele Porelli [Specify some overrides]
software:bind [2018/09/02 05:22] (current)
Michele Porelli [Specify some overrides]
Line 36: Line 36:
  
 ==== Specify some overrides ==== ==== Specify some overrides ====
-edit /etc/bind/named.conf.options and append in option section:<code>response-policy { zone "custom-overrides"; };</code> +  - edit /etc/bind/named.conf.options and append in option section:<code>response-policy { zone "custom-overrides"; };</code> 
-edit /etc/bind/named.conf.local and append the zone:<code>zone "custom-overrides" {type master; file "/etc/bind/custom-overrides"; allow-query {none;}; };</code> +  edit /etc/bind/named.conf.local and append the zone:<code>zone "custom-overrides" {type master; file "/etc/bind/custom-overrides"; allow-query {none;}; };</code> 
-edit /etc/bind/custom-overrides and append the zone:<code>$TTL 1H+  edit /etc/bind/custom-overrides and append the zone:<code>$TTL 1H
 @                       SOA LOCALHOST. myhost.example.com (1 1h 15m 30d 2h) @                       SOA LOCALHOST. myhost.example.com (1 1h 15m 30d 2h)
                         NS  LOCALHOST.                         NS  LOCALHOST.
software/bind.txt · Last modified: 2018/09/02 05:22 by Michele Porelli