Take the 2-minute tour ×

I would like to add Namecoin support to my Android phone (galaxy s) like this: http://dot-bit.org/How_To_Install_Dns_Suffix

I managed to mount the system as read-write and add a resolv.conf to my etc folder like this:

search namecoin-suffix

Now it works fine with nslookup but not with ping or any other program. Is there anything else I have to do?

edit 2012-03-11:

looks like Android does not use resolv.conf at all.


net.dns.search -> space separated domain search suffixes (used e.g. by VPN)


share|improve this question
add comment

1 Answer

I haven't tried this, but a quick look at Android's bionic libc sources seems to indicate that Android might use /etc/ppp/resolv.conf:

(from http://code.metager.de/source/xref/android/4.1.1/bionic/libc/private/resolv_private.h#113)

 92 /*
 93  * Resolver configuration file.
 94  * Normally not present, but may contain the address of the
 95  * initial name server(s) to query and the domain search list.
 96  */
 98 #ifndef _PATH_RESCONF
100 #define _PATH_RESCONF        "/etc/ppp/resolv.conf"
101 #else
102 #define _PATH_RESCONF        "/etc/resolv.conf"
103 #endif
104 #endif
share|improve this answer
Good call but still does not work with /etc/ppp/resolv.conf –  phelix May 27 '13 at 15:18
add comment

Your Answer


