An error that seems to be without reason #13712
Unanswered
Mohammad-Taleghani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I installed powerdns on centos 8
Then I installed the geoip backend
Once I did the pdns.conf and named.conf settings
I tried to start powerdns, but it gave the following error
Error parsing bind configuration: Error in bind configuration '/etc/pdns/named.conf' on line 2: syntax error
The content of the named.conf file is as follows:
options {
directory "/etc/pdns/zones/";
};
zone "example.com" {
type master;
file "example.com.zone";
};
and the contents of the pdns.conf file as follows :
cache-ttl=0
consistent-backends=yes
daemon=no
guardian=no
edns-subnet-processing=yes
enable-lua-records=yes
geoip-database-files=/etc/pdns/GeoLite2-City.mmdb
launch=bind, geoip
bind-config=/etc/pdns/named.conf
query-cache-ttl=0
query-logging=yes
setgid=pdns
setuid=pdns
There seems to be no problem in these two files
Only when this error is not received, named.conf is completely empty
If the content inside is 1 line, then line 2 will get an error
Beta Was this translation helpful? Give feedback.
All reactions