Would it be possible to add domain name resolution to certain tools and services? like ping and OpenVPN Clients? Right now I need to specify an IP address, but it would be more dynamic if you just could specify a domain name like “vpn.yourdomain.net” and let your dns-servers resolve the IP address.
Same for netwatch for example… Many functions rely solely on IP addresses where you should be able to specify a domain name as well…
Can make things more managable/change proof.
Traceroute provides the option “use-dns” to be able to specify a domain name (and does reverse lookup as well in this case).
It’s not like anyone would force you to use it, you can stay safe with IP addresses as long as you want. But if anyone needs to connect to hostnames (VPN servers out of their control, NTP servers, …), they simply have to resolve the names somehow. And current script-based solution is like from stone age. And as much unsecure as direct support for hostnames would be, so adding it would have no disadvantages at all.