--- ./src/lib/ares_private.h.orig	2020-11-21 21:43:33.056110585 +0100
+++ ./src/lib/ares_private.h	2020-11-21 21:45:49.140561610 +0100
@@ -91,7 +91,7 @@
 #ifdef ETC_INET
 #define PATH_HOSTS              "/etc/inet/hosts"
 #else
-#define PATH_HOSTS              "/etc/hosts"
+#define PATH_HOSTS              "@TERMUX_PREFIX@/etc/hosts"
 #endif
 
 #endif