ISC Bind: Difference between revisions
(Created page with "==Flush cache of a domain and all its subdomains== rndc flushtree name [view] Example: rndc flushtree website-to-flush.com internal ==Flush cache of a domain== rndc flushname name [view] Example: rndc flushname website-to-flush.com internal") |
No edit summary |
||
Line 1: | Line 1: | ||
==Flush cache of a domain and all its subdomains== | ==Config== | ||
===Check Config=== | |||
''No output is good output ;)'' | |||
named-checkconf /etc/named.conf | |||
==Cache== | |||
===Flush cache of a domain and all its subdomains=== | |||
rndc flushtree name [view] | rndc flushtree name [view] | ||
Example: | Example: | ||
rndc flushtree website-to-flush.com internal | rndc flushtree website-to-flush.com internal | ||
==Flush cache of a domain== | ===Flush cache of a domain=== | ||
rndc flushname name [view] | rndc flushname name [view] | ||
Example: | Example: | ||
rndc flushname website-to-flush.com internal | rndc flushname website-to-flush.com internal | ||
==Zones== | |||
===Reload All Zones From Config=== | |||
rndc reload | |||
===Reload A Specific Zone=== | |||
rndc reload [zonename] | |||
===Check A Zone's Status=== | |||
rndc zonestatus [zonename] | |||
===Remove A Zone From Service=== | |||
''(just unloads zone from memory; doesn't delete the zone from config)'' | |||
rndc delzone [zonename] | |||
===Add A Zone=== | |||
*(zone must have been loaded from config already)* | |||
rndc addzone [zonename] |
Revision as of 15:51, 21 January 2025
Config
Check Config
No output is good output ;)
named-checkconf /etc/named.conf
Cache
Flush cache of a domain and all its subdomains
rndc flushtree name [view]
Example:
rndc flushtree website-to-flush.com internal
Flush cache of a domain
rndc flushname name [view]
Example:
rndc flushname website-to-flush.com internal
Zones
Reload All Zones From Config
rndc reload
Reload A Specific Zone
rndc reload [zonename]
Check A Zone's Status
rndc zonestatus [zonename]
Remove A Zone From Service
(just unloads zone from memory; doesn't delete the zone from config)
rndc delzone [zonename]
Add A Zone
- (zone must have been loaded from config already)*
rndc addzone [zonename]