Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • BIND BIND
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 524
    • Issues 524
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 105
    • Merge requests 105
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ISC Open Source Projects
  • BINDBIND
  • Issues
  • #623

Closed
Open
Created Oct 24, 2018 by Ghost User@ghost

RPZ logging to include QCLASS and QTYPE

Description

RPZ logging does not log QCLASS or QTYPE, whereas query logging does. This information is very useful for analysis of rpz behaviour.

Request

The additional fields qclass and qtype at the end of the log file - e.g. instead of

24-Oct-2018 17:54:52.032 rpz: info: client @0x7f990085b070 213.248.248.83#38933 (www.example.net): rpz QNAME Local-Data rewrite www.example.net via www.example.net.rpz101.example.com

24-Oct-2018 18:02:56.143 rpz: info: client @0x7f310884c1b0 213.248.248.83#52403 (www.example.net): rpz QNAME Local-Data rewrite www.example.net via www.example.net.rpz101.example.com IN A

I have attached a potential patch idea - but it doesn't handle IP range entries.

Links / references

Edited Oct 25, 2018 by Ghost User
Assignee
Assign to
Time tracking