-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Specifying Notify Source IP for PowerDNS in Kubernetes Cluster #148
Comments
Hi @SowAbdoul, for this to work, you also need to configure Also please note that powerdns really doesn't like NAT / LBs / Proxy, so you may have to jump through couple of hoops. |
Do you have any ideas that I cloud explore?
I also tried this
"
|
The LB's IP is not available in the pdns pod, so pdns won't be able to bind to it. For binding I would keep the address There will be different IPs for pdns and LB. And this is really the issue. Most configuration about who is the master, who can transfer zones and where can I answer are about IPs in the powerdns. To make master <-> slave communication easier I would suggest to setup mysql replication instead of pdns zone transfers. One mysql primary can have multiple replicas, when behind NAT / LB, it easier to setup. Content of the mysql db is the same for pdns masters and slaves. Then you only need to deal with LB and primary pdns. Maybe using the IP of LB in NS zone records can do it. If not, add also IP of pdns pod. |
Hi @pschiffe
I have a Kubernetes cluster running PowerDNS, using a LoadBalancer service to expose port 53, referred to as the primary, and I have 2 slaves on separate VMs.
Initially, when I create a zone on the primary:
To address this, I added the worker and control plane IP addresses to PDNS_allow_notify_from and PDNS_allow_axfr_ips:
Now, the error has changed:
I've tried the following commands:
My question is: How can I configure PowerDNS notifications to use the dedicated IP of the primary (the LoadBalancer service that exposes port 53)?
The text was updated successfully, but these errors were encountered: