Need help with configuring PowerDNS as secondary for zone when master server != notifying server #13460
-
PowerDNS Authoritative Server, v4.6.4 Running in primary+secondary mode.
UPDATED: Most of the zones on server are primary, but sometimes we need to add secondary zones from external DNS servers (which we don't control, because it's our customers) And now we got this case:
And now we trying to configure our PowerDNS server to work, and we are getting problem, when customer changing (add/edit/delete) records in his zone example.com, and sending NOTIFY about it to our servers. Scheme 1
Scheme 2 If we add only servers 1.1.1.1, 2.2.2.2 as Primaries for example.com, then:
Both schemes are partly working, but are there any method to get it working as expected -- allow getting NOTIFY for example.com not only from masters, but also from separate server? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Only thing I found regarding this matter - it's this issue (feature request) #8816 , and it's still 'open' :( |
Beta Was this translation helpful? Give feedback.
-
You can use the global setting Of course, #8816 would be much nicer. Another "hack" would be NAT. Maybe you could implement in iptables something like "if src=3.3.3.3 SRCNAT to 2.2.2.2". |
Beta Was this translation helpful? Give feedback.
-
@pieterlexis idea (from IRC channel) about setting "3.3.3.3" (NOTIFY server) as trusted-notification-proxy on our servers saved the day! And now "scheme 2" described in first post working fine.
Log output:
IRC chat part for historical purposes:
|
Beta Was this translation helpful? Give feedback.
@pieterlexis idea (from IRC channel) about setting "3.3.3.3" (NOTIFY server) as trusted-notification-proxy on our servers saved the day!
And now "scheme 2" described in first post working fine.
Log output: