diff --git a/docs/configuration.md b/docs/configuration.md index 72a969fdf..6114a08b1 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -648,24 +648,25 @@ in Excel or OpenOffice Calc) or MySQL/MariaDB database. You can select one of following query log types: -- `mysql` - log each query in the external MySQL/MariaDB database -- `postgresql` - log each query in the external PostgreSQL database -- `timescale` - log each query in the external Timescale database -- `csv` - log into CSV file (one per day) -- `csv-client` - log into CSV file (one per day and per client) -- `console` - log into console output -- `none` - do not log any queries +- `mysql`: log each query in the external MySQL/MariaDB database + `target` format docs: [Data Source Name](https://github.com/go-sql-driver/mysql?tab=readme-ov-file#dsn-data-source-name). +- `postgresql`: log each query in the external PostgreSQL database +- `timescale`: log each query in the external Timescale database +- `csv`: log into CSV file (one per day) +- `csv-client`: log into CSV file (one per day and per client) +- `console`: log into console output +- `none`: do not log any queries ### Query log fields You can choose which information from processed DNS request and response should be logged in the target system. You can define one or more of following fields: -- `clientIP` - origin IP address from the request -- `clientName` - resolved client name(s) from the origins request -- `responseReason` - reason for the response (e.g. from which upstream resolver), response type and code -- `responseAnswer` - returned DNS answer -- `question` - DNS question from the request -- `duration` - request processing time in milliseconds +- `clientIP`: origin IP address from the request +- `clientName`: resolved client name(s) from the origins request +- `responseReason`: reason for the response (e.g. from which upstream resolver), response type and code +- `responseAnswer`: returned DNS answer +- `question`: DNS question from the request +- `duration`: request processing time in milliseconds !!! hint If not defined, blocky will log all available information