You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this would be considered a bug or feature request. Currently when creating a new forwarding zone on Recursor using the API, setting notify_allowed has no effect. It looks to be hard-coded in the webserver. Also, the current setting is not shown when viewing zones using the API.
Usecase
I would like to create forwarding zones using the API, and have notify_allowed set to true to allow clearing the zone cache by sending a NOTIFY. I realize the cache can be cleared using the cache manipulation API endpoint, but I would prefer to make it automatically clear when the Authoritative server it is forwarding to receives a NOTIFY. So the Authoritative server (set up as Secondary) receives a NOTIFY and does an AXFR, and also using forward-notify setting it forwards the NOTIFY to the Recursor telling it to clear cache for that zone.
Short description
I'm not sure if this would be considered a bug or feature request. Currently when creating a new forwarding zone on Recursor using the API, setting
notify_allowed
has no effect. It looks to be hard-coded in the webserver. Also, the current setting is not shown when viewing zones using the API.Usecase
I would like to create forwarding zones using the API, and have
notify_allowed
set to true to allow clearing the zone cache by sending a NOTIFY. I realize the cache can be cleared using the cache manipulation API endpoint, but I would prefer to make it automatically clear when the Authoritative server it is forwarding to receives a NOTIFY. So the Authoritative server (set up as Secondary) receives a NOTIFY and does an AXFR, and also usingforward-notify
setting it forwards the NOTIFY to the Recursor telling it to clear cache for that zone.Code Reference
pdns/pdns/recursordist/ws-recursor.cc
Lines 278 to 288 in 5e38664
Please let me know if there is a reason this should not be an option. Thanks!
The text was updated successfully, but these errors were encountered: