News for hackers. Stuff that matters.
Re:Using SSH_config Match to connect to a host using multipl... by nwatson on Wednesday August 17, 2022 @09:34AM (#32496149)
Could also set up DNS server to return different IP addresses for same hostnames depending on the which interface the DNS client is connecting from. There'd only be one hostname per server, two (or more) IP addresses each mapped to originating network.

Edit: autocorrect

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.