0

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?

hobbs
asked Feb 12, 2018
2 Answer
1

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
View More
parthiban
answered Feb 12, 2018
0

ih thank you i did all eith your instruction and every thing is good ))

View More
Trifon
answered Mar 5, 2023
Your Answer
||||
x
 
100:0