bind:enable_logging
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bind:enable_logging [2016/10/16 12:16] – created peter | bind:enable_logging [2019/11/26 21:06] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bind - Enable Logging ====== | ||
- | |||
- | ===== Turn on logging ===== | ||
- | |||
- | Type the following command as root to toggle query logging: | ||
- | |||
- | <code bash> | ||
- | rndc querylog | ||
- | </ | ||
- | |||
- | ===== View bind sever query log ===== | ||
- | |||
- | Once this is done, you can view all logged queries usimg / | ||
- | |||
- | <code bash> | ||
- | tail -f / | ||
- | </ | ||
- | |||
- | |||
- | ===== Turn off logging ===== | ||
- | |||
- | Type the following command as root to toggle query logging: | ||
- | |||
- | <code bash> | ||
- | rndc querylog | ||
- | </ | ||
- | |||
- | |||
- | |||
- | <file bash> | ||
- | </ | ||
bind/enable_logging.1476620209.txt.gz · Last modified: 2020/07/15 09:30 (external edit)