Please check out http://infs.sourceforge.net for a novel INternet
FileSystem (INFS) package which appears to be ideally suited to
cell phones and other small devices or appliances. By pushing the
DNS resolution to the kernel, INFS means to achieve the following:
- eliminates sockaddr_t handling in the user space, allowing
application code to become free of IPv4/IPv6 (or for that matter
raw Ethernet or ATM) dependencies;
so when the address changes out from under the app, or there are
multiple hosts bound to a single domain name, the app loses.
and the app is also forced to live with delays and lower reliability
of DNS whether or not it is appropriate for that app.
it seems useful for some apps, but it doesn't remove the need for
sockaddr support. why are you trying to wean apps off of using
IP space when for many purposes DNS is even worse? DNS is slower
and less reliable than IP, no more consistent than IP, and DNS names
are as overloaded as IP addresses.