Re:Using SSH_config Match to connect to a host using multipl...
by TechBro8615 on Wednesday August 17, 2022 @10:01AM
(#32496516)
What if the client cached the DNS lookup from when it connected on a previous interface?
Re:Using SSH_config Match to connect to a host using multipl...
by HvTfMhdTZ8Lths6 on Wednesday August 17, 2022 @07:05PM
(#32502946)
I don't think it's reasonable for clients to cache responses across disconnect/reconnect, especially when the network has observably changed (new default gateway, for example), and even more so when the resolver has changed.
Based on my own personal experience I'd also say that no (modern) clients do so although that could be wrong.
Edit: autocorrect