Skip to content

Commit

Permalink
Add more details to the BIND grammar module documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickchappell committed Jun 11, 2016
1 parent f1c7e44 commit 908ff28
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions sandbox/lua/modules/bind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ https://deepthought.isc.org/article/AA-00434/0/What-do-EDC-and-other-letters-I-s
http://jpmens.net/2011/02/22/bind-querylog-know-your-flags/
Sample BIND query log message, with the print-category, print-severity and print-time options
all set to 'yes' in the logging channel options in named.conf:
27-May-2015 21:06:49.246 queries: info: client 10.0.1.70#41242 (webserver.company.com): query: webserver.company.com IN A +E (10.0.1.71)
The things we want out of it are:
* The client IP
* The name that was queried
* The domain of the name that was queried
* The record type (A, MX, PTR, etc.)
* The address of the interface that BIND used for the reply
--]]

local l = require 'lpeg'
Expand Down

0 comments on commit 908ff28

Please sign in to comment.