bind:enable_logging
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
bind:enable_logging [2016/10/16 12:18] – peter | bind:enable_logging [2019/11/26 21:06] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Bind - Enable Logging ====== | ||
- | |||
- | The **rndc** command controls the operation of a name server. | ||
- | |||
- | |||
- | ===== 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.1476620284.txt.gz · Last modified: 2020/07/15 09:30 (external edit)