My application is using gorm to connect to the database FQDN. If I am making changes to DNS record for the FQDN , the application needs to be restarted to take the DNS change. I think it is making the DNS query only at the application start time but not afterward.
I would like to know how does golang manages the DNS changes. I looked at gorm issue <https://github.com/go-gorm/gorm/issues/5489> and found one comment stating that gorm does not manage DNS cache its usage system default. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/1be616a2-050f-41f2-83e3-81da87707ee4n%40googlegroups.com.