Oh.. right.
So we need another configuration for each and every application for something almost always system wide and can change dynamically (like wifi reconnecting) ?
Re:OpenBSD System-Call Pinning
by tsimionescu on Saturday February 03, 2024 @02:52AM
(#39238342)
Why should every application be aware of whether it is running on a v4 or v6 network? If the application merely wants to connect to an external service, that is firmly in the OS's job to decide.
As a user, if ipv6 is flaky today, I want one central place to configure for ipv4 only, I don't want to go and change every application'settings only to revert that tomorrow.
Should it be your DNS resolver library that takes stock of your OS environment and only make calls for A records and not AAAA records when it "detects" some configuration?
Shouldn't your application itself have an environment variable or command line option that allows you to specify that your dials should only be done using tcp4? Wouldn't this be immensely useful to have outside of "auto detection" in some library somewhere?