How to update outgoing DNS settings DO K8S

I have a service A inside a Digital Ocean managed kubernetes cluster that makes HTTP requests to another service B (in the same cluster), using the publicly available hostname. Recently we changed the IP address of the load balancer standing in front of the cluster and updated our DNS settings in Cloudflare, but requests from the first service still go to the old IP address and fail. How can I refresh the DNS so it points to the right IP address? Reaching service B from my own computer is no problem. The IP address was changed 2 days ago.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer