Closed
Description
- Program: dnsdist
- Issue type: Bug report
Short description
When running dnsdist (1.3.3-1) with --check-config a specific config error is not caught
Environment
- Operating system: Ubuntu
- Software version: Xenial (16.04)
- Software source: PowerDNS repository
Steps to reproduce
- Install dnsdist 1.3.3-1
- Add this line to a config file:
webserver("127.0.0.6}:1234", "api_password", "api_key")
- Run dnsdist with --check-config against the config file and note that it does not report an error (the
}
between the IP address and the:
is invalid, and is reported correctly when starting dnsdist)
Expected behaviour
An error in the configuration to be reported
Actual behaviour
No error is reported
root@ubuntu1604:~# /usr/bin/dnsdist --check-config -C /tmp/tmpdd.conf
Configuration '/tmp/tmpdd.conf' OK!