When using a locally cached last known IP we can get in a situation where a DNS entry is updated outside of our script.
This will lead godns to think the entry is still OK, while in reality the public internet is seeing a different address.
I proposed to use an external resolver to check the current publicly known address.
Only implemented on the Google handler for now. If you like the idea I can send a follow-up PR for the other ones.
When using a locally cached last known IP we can get in a situation where a DNS entry is updated outside of our script. This will lead godns to think the entry is still OK, while in reality the public internet is seeing a different address.
I proposed to use an external resolver to check the current publicly known address.
Only implemented on the Google handler for now. If you like the idea I can send a follow-up PR for the other ones.