diff --git a/Documentation b/Documentation index cae6e67e05..8a30728ae9 160000 --- a/Documentation +++ b/Documentation @@ -1 +1 @@ -Subproject commit cae6e67e0534485cd42119346a2e0121d6652965 +Subproject commit 8a30728ae9a64496f0c9a0ff5dd62bd3b022c145 diff --git a/libc/netdb/lib_gethostbyaddrr.c b/libc/netdb/lib_gethostbyaddrr.c index defc4d2162..06f5833cf4 100644 --- a/libc/netdb/lib_gethostbyaddrr.c +++ b/libc/netdb/lib_gethostbyaddrr.c @@ -406,6 +406,15 @@ int gethostbyaddr_r(FAR const void *addr, socklen_t len, int type, } #endif + /* TODO: + * + * 1. Look in the DNS cache to see if we have the address mapping already + * in place. If not, + * 2. Perform a reverse DNS lookup. And if that fails as well, then + * finally + * 3. Search the hosts file for a match. + */ + /* Search the hosts file for a match */ return lib_hostfile_lookup(addr, len, type, host, but, buflen, h_errnop);