Ad

hobbs
asked Feb 12 2018
Answer
In default there is no log is generated for powerdns, we need to configure log for it if we need it. So open your powerdns configuration file
vim /etc/pdns/pdns.conf
Add the below value to enable logging facility
logging-facility=0
Now restart your service
service pdns restart
Now you can get the log for powerdns in your /var/log/messages file use the below command to grep it out all pdns log
cat /var/log/messages | grep pdns

parthiban
asked Feb 12 2018
edited Oct 05 2018
ih thank you i did all eith your instruction and every thing is good ))

Trifon
asked Mar 05 2023
edited Nov 07 2023
Where to find log file for powerdns
Hi, i have just migrated to PowerDNS, and i am running some testing on it before i move it into my production. I just wanna know where can i find the log file for powerdns? there is no such file, is there anything i need to configure for my powerdns log?