any idea how i can have conditional hostname/domain resolution?
my computers are all in a wireguard network but most of the time the shortest path to take is not through the wg. 2 of the computers also have a peer to peer link to each other but can also reach each other over a switch.
rn i have all the ip addresses as hostnames configured so i need to use whichever hostname is reachable the fastest at the moment. but that doesn't work when i need to put a hostname in a config file…

🏴☠️