Thread Deleted Subscribe to Thread Email Thread

[Q][GT-I9500][DNS] Set DNS on Samsung Galaxy S4 GT-I9500

Prev Previous Post   Next Post Next
2nd April 2014, 09:04 AM |#1  
OP Junior Member
Flag Moscow
Thanks Meter: 3
15 posts
Join Date:Joined: Oct 2012

I have a problem on Android phone Samsung GT-I9500.
Samsumg GT-I9500 sends DNS requests to DNS server address obtained via DHCP. But it ignores setup changes in setprorp 1 and setprorp 2.

do it:
adb shell
# setprop net.dns1 <ip1>
# setprop net.dns2 <ip2>
How to change DNS server?
How to add DNS server?

shell@ja3g:/ # getprop |grep dns
getprop |grep dns
[dhcp.wlan0.dns1]: []
[dhcp.wlan0.dns2]: []
[dhcp.wlan0.dns3]: []
[dhcp.wlan0.dns4]: []
[net.change]: [net.dns1]
[]: []
[net.dns1]: []

shell@ja3g:/ # setprop net.dns1
setprop net.dns1

shell@ja3g:/ # setprop net.dns2
setprop net.dns2

shell@ja3g:/ # setprop dhcp.wlan0.dns1
setprop dhcp.wlan0.dns1

root@ja3g:/ # getprop |grep dns
getprop |grep dns
[dhcp.wlan0.dns1]: []
[dhcp.wlan0.dns2]: []
[dhcp.wlan0.dns3]: []
[dhcp.wlan0.dns4]: []
[net.change]: [net.dns2]
[]: []
[net.dns1]: []
[net.dns2]: []

shell@ja3g:/ # ping

shell@ja3g:/ # tcpdump -ns0 -i wlan0 'port 53'
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 65535 bytes
14:37:40.246226 IP > 52272+ A? (28)

Baseband version

Kernel version
se.infra@R0210-02 #1
Thu Nov 21 12:59:52 KST 2013

Build number

Last edited by KASRU; 2nd April 2014 at 11:55 AM. Reason: Info
Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes