Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Automatically reset DNS-configured connections on DNS change. Part of #2043 #2056

Draft
wants to merge 1 commit into
base: gh-2043-configure-with-dns
Choose a base branch
from

Conversation

hessjcg
Copy link
Collaborator

@hessjcg hessjcg commented Aug 15, 2024

Poll for changes to the DNS entry every 30 seconds and update the connector to connect to the new
instance when the value of the DNS TXT record changes. Close all existing sockets connected to the old
instance.

See also: GoogleCloudPlatform/cloud-sql-go-connector#844

Fixes #2043

@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch 2 times, most recently from cf7698a to 7475041 Compare August 16, 2024 15:26
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from cf1d9c6 to 5513e3a Compare August 16, 2024 15:26
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from 7475041 to 8ceb527 Compare August 30, 2024 17:54
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from 5513e3a to 190bf6c Compare August 30, 2024 17:54
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from 190bf6c to 1597e44 Compare September 27, 2024 21:22
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from 8ceb527 to cf79bec Compare September 27, 2024 21:22
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from 1597e44 to eabb057 Compare October 1, 2024 16:07
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from 170f88f to 4ad47df Compare January 10, 2025 18:20
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from eabb057 to 7b335a0 Compare January 10, 2025 18:20
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from 4ad47df to e885216 Compare January 13, 2025 18:47
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch 2 times, most recently from fd4e87a to f509ea1 Compare January 13, 2025 18:51
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from e885216 to 93145cf Compare January 13, 2025 18:51
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from f509ea1 to a6d1e48 Compare January 14, 2025 19:30
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch 2 times, most recently from 782f666 to 89c1f22 Compare January 14, 2025 22:16
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from a6d1e48 to f38d678 Compare January 14, 2025 22:26
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch 2 times, most recently from a10e852 to 9b2fe06 Compare January 14, 2025 22:49
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from f38d678 to 13bc70f Compare January 14, 2025 22:49
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch 2 times, most recently from 1930978 to de8f2dd Compare January 16, 2025 21:18
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch 2 times, most recently from da9f3ba to ad4b8e3 Compare January 17, 2025 18:44
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from de8f2dd to 2b909fd Compare January 17, 2025 18:44
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from ad4b8e3 to f9b1477 Compare January 17, 2025 18:59
@hessjcg hessjcg force-pushed the gh-2043-configure-with-dns branch from 475ac57 to ca711d8 Compare January 17, 2025 19:41
@hessjcg hessjcg force-pushed the gh-2043-update-on-dns-change branch from f9b1477 to e3885bc Compare January 17, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant