Requesting synchronous AXFR #14622
Replies: 4 comments 3 replies
-
Background: Customer like the possibilty to test if AXFR works (i.e. if their primaries and firewalls are correctly configured). And I am considering if this can be possible with PDNS or we have to build some tool next to PDNS for testing AXFR. |
Beta Was this translation helpful? Give feedback.
-
(think out loud) Would it be possible to make an API Endpoint that just calls CommunicatorClass::suck and reports back if the AXFR succeeded or not. (Ideally with a "test" parameter which performs the AXFR but does not store it in the DB) |
Beta Was this translation helpful? Give feedback.
-
I think there are multiple things that could be done:
|
Beta Was this translation helpful? Give feedback.
-
Do you mean that using pdns_util the pdns_server would not get blocked as the pdns_util process would do the AXFR and not pdns_server? Will it use the same codebase? So, if AXFR in pdns_util works/fails it will behave identical in pdns_server? |
Beta Was this translation helpful? Give feedback.
-
I know "pdns_util retrieve", that queues a zone transfer from the configured primaries. But the client does not know if the queued zone transfer will succeed.
Is there some feature/workaround/hack in PDNS to requests a zone transfer "now" and the request blocks until there is a result (success or failed)? Ideally using a specified primary IP address ...
Beta Was this translation helpful? Give feedback.
All reactions