Open awworrell opened 3 years ago
This could be due to your default resolver is using a configuration different than your dns
variable is using. By default, Resolv.getaddress
will use the hosts file, and then the information in /etc/resolv.conf
(or whatever the operating system resolver configuration file is).
If you think this is still a problem with resolv, please provide a self contained reproducible example, such as a minimal DNS server configuration and Ruby program that reproduces the issue.
I was hoping someone could help explain an issue that I'm experiencing. I have multiple servers that seem to be caching an ip address that no longer exists. Here is the irb below
The addresses ending in 117 no longer exist and any others are fine. It's important to note that i've changed all ip addresses, nameservers, and other information to ensure it's not visible where this is from.
could someone help explain how resolv caches and how is that cleared? This is running ruby 2.6.3