FilterKaapi / erlang4android

Automatically exported from code.google.com/p/erlang4android
0 stars 1 forks source link

Failing name resolution (getting nxdomain) #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to get anything by httpc:request (will fail)
2. Try to resolve some host with  inet:gethostbyname/1 ()

What is the expected output? What do you see instead?
Expecring it to work =)

What version of the product are you using? On what operating system?
Android 4.1, your latest Erlang distribution (R16B).

Please provide any additional information below.
I am suspicious that Erlang uses system /etc/resolv.conf file, containing 
8.8.8.8 and 8.8.4.4.

But after calling del_ns/1 for them and then ins_alt_ns/1 with my operator's 
DNS nothing changes.

Thank you!

Original issue reported on code.google.com by dlu...@gmail.com on 17 Jun 2013 at 7:38

GoogleCodeExporter commented 9 years ago
Can you also provide a workaround for current distribution if possible?
Thank you again!

Original comment by dlu...@gmail.com on 17 Jun 2013 at 9:29