Skip to main content

Unable to change powerdns configuration because cPanel is resetting my changes

Comments

11 comments

  • quietFinn
    in /etc/pdns/pdns.conf I see this: ################################# # include-dir Include *.conf files from this directory # # include-dir=
    does that help you out?
    0
  • rscalover
    in /etc/pdns/pdns.conf I see this: ################################# # include-dir Include *.conf files from this directory # # include-dir=
    does that help you out?

    No that causes errors powerdns fails to restart
    0
  • cPRex Jurassic Moderator
    Can you let me know specifically when you're seeing the configuration change? We have several other guides that recommend editing that file directly, such as this one:
    0
  • rscalover
    Can you let me know specifically when you're seeing the configuration change? We have several other guides that recommend editing that file directly, such as this one: How to generate daily PowerDNS statistics reports " trick77.com but the message body is empty .I would rather have those pretty graphs like this
    0
  • cPRex Jurassic Moderator
    Are you seeing that only certain options are working while others are not?
    0
  • rscalover
    Are you seeing that only certain options are working while others are not?

    Yes some options work and others don't
    0
  • cPRex Jurassic Moderator
    That's very odd - could you submit a ticket to our team so we can do some more testing with this on our end?
    0
  • rscalover
    That's very odd - could you submit a ticket to our team so we can do some more testing with this on our end?

    Yes i did 94373489
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with that ticket on my end now.
    0
  • cPRex Jurassic Moderator
    After some research, it looks like PowerDNS has removed both of the options you were trying to implement, api-logfile and api-readonly, in recent updates:
    0
  • rscalover
    Hello, Yeah it looks like that looking at this issue it makes me feel like going back to bind as the only thing i'll lose is the DNSSEC support but whole lot easier to get those statistics . edit You can change the code in the instructions at How to generate daily PowerDNS statistics reports " trick77.com to #!/bin/sh /usr/bin/curl -s --user powerdns:serverpasswordhere http://127.0.0.1:8081 | mail -s "$(echo "PowerDNS Daily Report\nMIME-Version: 1.0\nContent-Type: text/html")" root
    The serverpassword is in /etc/pdns/pdns.conf though in more recent version of powerdns it is hashed
    0

Please sign in to leave a comment.