Advanced Configuration Using LuaΒΆ
PowerDNS Recursor supports additional configuration options that can be loaded through recursor.lua_config_file.
- Managing DNSSEC Trust Anchors in the Lua Configuration
- Logging DNS messages with Protocol Buffers
- Response Policy Zones (RPZ)
- Evaluation order
- Configuring RPZ
- RPZ Configuration Functions
- RPZ settings
- Extra settings for rpzPrimary
- Policy Actions
- Using Sortlist
- Zone to Cache
- Adding Additional Records to Results
- Table Based Proxy Mapping
In addition, pdnslog() together with pdns.loglevels is also supported in the Lua configuration file.
Note
Starting with version 5.1.0, the settings originally specified in a Lua config file can also be put in YAML form.
The conversion printed by rec_control show-yaml will print these settings if a Lua config file is specified in the config file being converted.
You have to choose however: either set Lua settings the old way in the Lua config file, or convert all to YAML.
If you are using YAML settings of items originally specified in the Lua config file, do not set recursor.lua_config_file anymore. The Recursor will check that you do not mix both configuration methods.