User Tools

Site Tools


bind:enable_logging

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bind:enable_logging [2016/10/16 12:22] peterbind: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.  If rndc is invoked with no command line options or arguments, it prints a short summary of the supported commands and the available options and their arguments. 
- 
-rndc communicates with the name server over a TCP connection, sending commands authenticated with digital signatures. In the current versions of rndc and bind the only supported authentication algorithm is HMAC-MD5, which uses a shared secret on each end of the connection. This provides TSIG-style authentication for the command request and the name server's response.  All commands sent over the channel must be signed by a key_id known to the server. 
- 
- 
-===== Turn on logging ===== 
- 
-Type the following command as root to toggle query logging: 
- 
-<code bash> 
-rndc querylog 
-</code> 
- 
-===== View bind sever query log ===== 
- 
-Once this is done, you can view all logged queries usimg /var/log/messages file. To view those queries, type: 
- 
-<code bash> 
-tail -f /var/log/messages 
-</code> 
- 
-You might need to tail /var/log/syslog instead of /var/log/messages. 
- 
-===== Turn off logging ===== 
- 
-Type the following command as root to toggle query logging: 
- 
-<code bash> 
-rndc querylog 
-</code> 
- 
- 
- 
-<file bash> 
-</file> 
  
bind/enable_logging.1476620550.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki