| ▲ | UltraSane 5 hours ago | ||||||||||||||||||||||
The socket interface using IP addresses instead of DNS names is widely considered to be a major mistake. | |||||||||||||||||||||||
| ▲ | asveikau 4 hours ago | parent | next [-] | ||||||||||||||||||||||
I disagree with this. Separating lookup from connect(2) or sendmsg(2) is cleaner. If an application doesn't care about the difference, most people are using higher level APIs built on top anyway, and most of those will provide a quick way to hide DNS details from you. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | drdexebtjl 3 hours ago | parent | prev | next [-] | ||||||||||||||||||||||
Absolutely not. You can have sockets without DNS. You can pick whatever strategy you want when there are multiple A records. You can use SRV records instead. And most importantly imo, it mirrors the listening API. | |||||||||||||||||||||||
| ▲ | lelanthran 4 hours ago | parent | prev [-] | ||||||||||||||||||||||
By who? I haven't seen this argument before. | |||||||||||||||||||||||
| |||||||||||||||||||||||