-
|
In the serve-zone.rs example, there is a notify_zone_changed() function that receives a NOTIFY from another authoritative server when changes are made to the zone. The demo code uses a trivial example to show when to accept or refuse the NOTIFY and respond but in a more useful case, you might want to do a database operation or send an IXFR / AXFR query to see what has changed. In this case, it would be more helpful if notify_zone_changed() was asynchronous but if I try to make it so, I run into problems with async traits and boxing. Any suggestions on how to do more in this routine or maybe I'm looking at it wrong and there is no need? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Just looked at the nameshed prototype server code and this answers all of my questions. |
Beta Was this translation helpful? Give feedback.
Just looked at the nameshed prototype server code and this answers all of my questions.