I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
starmena said:
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Click to expand...
Click to collapse
Ok so DHCP is assigning your network config, but you want to use different DNS servers than the DHCP allocated ones?
starmena said:
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Click to expand...
Click to collapse
On my HTC Hero running an Android 2.1 ROM, unless "Static IP" is selected, I dont even get the option to change the DNS servers (option is greyed-out).
One way to manually change DNS is via shell if you have root access on your phone using ADB shell (or ssh, telnet etc if your ROM supports them), see this thread [Q] Help! Changing DNS settings .
Any network config tools on the app store?
-jc
starmena said:
I've posted this over at the Rhodium Thread located here:
http://forum.xda-developers.com/showthread.php?t=731292
but haven't gotten a single response yet. Since this is a concern for more than one device I feel like I should post it here. Mods feel free to move this to the correct location if need be.
===================
So it seems to me that this is a problem on ALL Android devices that I have tested with. Here's the situation
I have a router in my house in which I have DHCP turned off so my device will grab an IP (Not Static) and DNS from the ISP. I need to find a way to be able to just change the DNS Settings to 208.67.222.222 and 208.67.220.220 on android without having to manually put in an IP since the IP will automatically get changed every few day's.
Android doesn't seem to let me do that. Does anyone know how? Going into the Advance Menu in the Wifi settings and changing the dns does not actually change anything... I noticed this on the following android devices as well: Moto Cliq, MyTouch 3g, old Kaiser running android on NAND, and my Rhodium Devices running android.
Any reason as to why Android isn't updating my DNS Settings? Any help would be appreciated.
Click to expand...
Click to collapse
I'm confused by your question. If you have DHCP turned off your device's are not going to grab an IP address from your router. Why don't you turn on DHCP and let your router assign IP addresses. As doing so your devices will also use the DNS setting from the router which will be your ISP's DNS ip address. Unless you change your DNS settings in your router to one of the many public DNS servers available. My recommendation is turn DHCP to "ON" on your router. Maybe start your DHCP IP assignment at 192.168.1.100 and go up to 150. That way you can use the range from .2 to .99 for static IP's. This is how I configured my router but I'm also using DD-WRT firmware on my router which highly customizes the router. Alternately you can change your routers DNS ip setting to Open DNS server so there would be no need for you to change it on the phone if you are using WIFI. Just let your router do all that work for you. Hope this helps. Viva Santiago Rep Dom y NYC.
Related
What the hell? Never even heard of opendns...wtf is it?
How do I fix it?
KidJethro said:
What the hell? Never even heard of opendns...wtf is it?
How do I fix it?
Click to expand...
Click to collapse
Are you using Wifi or 3G/Edge? Looks like the problem is with the admin that setup your Wifi.
Well sounds like you are using their DNS servers and someone blocked gmail.
go to opendns.com while tethering to change your settings if you can. You should see a "dashboard" link at the top right of the page.
OpenDNS is an alternative DNS service (normally DNS is provided by the ISP). Wifi-Tether-For-Root by default has OpenDNS hardcoded in as the default DNS (instead of T-Mo's DNS servers). Since all traffic on T-Mo 3G is routed through their central server, regardless of where you are physically, your ip on the internet will appear as coming from a T-Mo data center in Missouri or Kansas or something. Perhaps someone has maliciously set up an OpenDNS account with this ip and locked out gmail.
Edit: I am having no problems getting to gmail using WT4R. My tmo ip was different from the usual though. Perhaps they are load-balancing their US network. Last time I checked, my tmo ip came out in Kansas. This time however, it came out of Rhode Island. Strange, considering I am physically in California.
Could you lookup your internet-side ip address while tethering and see which tmo datacenter you appear to be coming from when your gmail access is restricted?
This is the first time I've ever used wifi tether. Was kinda wierd to see gmail was blocked. Working on setting up an opendns acct now.
Ok....I'm totally lost now. I've got an opendns acct setup. I'm lookin at the dashboard thing, and have no idea what to change to fix this issue?
You are going to want to go here https://www.opendns.com/dashboard/settings/
It should show your current IP in the drop down.
Turn off the filtering and make sure nothing down below is added.
jashsu said:
OpenDNS is an alternative DNS service (normally DNS is provided by the ISP). Wifi-Tether-For-Root by default has OpenDNS hardcoded in as the default DNS (instead of T-Mo's DNS servers). Since all traffic on T-Mo 3G is routed through their central server, regardless of where you are physically, your ip on the internet will appear as coming from a T-Mo data center in Missouri or Kansas or something. Perhaps someone has maliciously set up an OpenDNS account with this ip and locked out gmail.
Edit: I am having no problems getting to gmail using WT4R. My tmo ip was different from the usual though. Perhaps they are load-balancing their US network. Last time I checked, my tmo ip came out in Kansas. This time however, it came out of Rhode Island. Strange, considering I am physically in California.
Could you lookup your internet-side ip address while tethering and see which tmo datacenter you appear to be coming from when your gmail access is restricted?
Click to expand...
Click to collapse
Easy enough to figure out my ip addy....but no idea how to do the rest.
Weird thing though...I signed up fro an opendns acct, browsed around a bit in the dashboard and now gmail works? ~edit~ nvermind, spoke too soon...gmail is blocked again.
For some reason I have a problem wrapping my brain around this kinda stuff.
your ip could have changed
neoobs said:
You are going to want to go here https://www.opendns.com/dashboard/settings/
It should show your current IP in the drop down.
Turn off the filtering and make sure nothing down below is added.
Click to expand...
Click to collapse
I see my IP under the network tab. Under the settings tab it says "to control your settings, you need to add a network to your account." If I click "add a network" it takes me back to the network tab where my ip is displayed. If I click add network, it says network already exists?
Bleh....
Like i said, T-Mo is likely load balancing across their many gateways. My guess is whoever locked gmail out only did it to one of the gateways. Your best bet is to change the DNS servers away from opendns.
KidJethro said:
I see my IP under the network tab. Under the settings tab it says "to control your settings, you need to add a network to your account." If I click "add a network" it takes me back to the network tab where my ip is displayed. If I click add network, it says network already exists?
Bleh....
Click to expand...
Click to collapse
The reason is because only one openvpn account can control a network. Whoever has messed up that tmo gateway has full control of it until that person or openvpn changes the situation.
jashsu said:
Like i said, T-Mo is likely load balancing across their many gateways. My guess is whoever locked gmail out only did it to one of the gateways. Your best bet is to change the DNS servers away from opendns.
Click to expand...
Click to collapse
Ok, need this in baby talk, barney style. I have no idea how to change dns servers?
KidJethro said:
Easy enough to figure out my ip addy....but no idea how to do the rest.
Click to expand...
Click to collapse
http://www.ip2location.com/
jashsu said:
http://www.ip2location.com/
Click to expand...
Click to collapse
IP Address : 208.54.94.59 Location :
UNITED STATES, WEST VIRGINIA, CHARLESTON Latitude / Longitude : 38.3515 LATITUDE, -81.632 LONGITUDE Connecting through : T-MOBILE USA Time Zone : UTC -05:00
IDD Code : 1 Area Code : 304 Weather Station : USWV0138 - CHARLESTON
KidJethro said:
Ok, need this in baby talk, barney style. I have no idea how to change dns servers?
Click to expand...
Click to collapse
It might be enough to edit /data/data/android.tether/conf/dnsmasq.conf with a text editor and substitute out the DNS values in there with your own DNS. I'll try it out later.
jashsu said:
It might be enough to edit /data/data/android.tether/conf/dnsmasq.conf with a text editor and substitute out the DNS values in there with your own DNS. I'll try it out later.
Click to expand...
Click to collapse
"wifi tether" should update the dnsmasq.conf-file automatically (will take the dns from your 2G/3G-connection) - this was introduced in version 0.95.
Type ... "getprop net.dns1" into terminal ... that should exactly be the nameserver in dnsmasq.conf (after you have started tethering).
Bleh....I need a break from phone tweaking for a bit. Buuurn ouuuut
Works for me
I just got home, tethered just to see if it would affect me too. Not problems at all.
harry_m said:
"wifi tether" should update the dnsmasq.conf-file automatically (will take the dns from your 2G/3G-connection) - this was introduced in version 0.95.
Type ... "getprop net.dns1" into terminal ... that should exactly be the nameserver in dnsmasq.conf (after you have started tethering).
Click to expand...
Click to collapse
harry_m is right. When I tethered to my G1 via WT4R (ver 0.9.6) and visited opendns.com, it showed the "Start using OpenDNS" button, indicating my currently used DNS was not OpenDNS. I verified that WT4R had fetched the G1's internal DNS setting by checking the dnsmasq.conf:
Code:
$ su
# cat /data/data/android.tether/conf/dnsmasq.conf
no-resolv
no-poll
server=10.177.0.34
server=10.176.80.242
I suggest you reinstall WT4R and choose no when it gives you the option to import old settings. This way, it will build your configuration files from scratch (and not use OpenDNS).
Hi there,
I'm currently searching for a registry entry or hosts file on WP7. I know there are some registry keys for DNS on Windows Mobile 6.5, due to its support for multiple network devices (see http://msdn.microsoft.com/en-us/library/aa916390.aspx). But if I'm looking at my HD7 with Advancedexplorer, I couldn't find any of these keys.
Only interesting infos where in HKEY_LOCAL_MACHINE\Ident, but I'm aiming for the keys or file where WP7 will keep its setting it gets from DHCP while it is connected via WLAN.
AFAIK there is no possible way to manually edit the network settings, so I'll always have to use DHCP. Do someone of you know the location of this information?
Oh, I see my post was moved to Q&A? Thought it would be more a hacking/development problem to find the right file/registry key? Is it possible to move the post back to its original area?
Ok, after digging, I found finally the location for the Wifi Interface settings:
HKEY_LOCAL_MACHINE\Comm\BCMSDDHD1\Parms\Tcpip
I'm currently not connected to a Wlan, but will recheck at home if there is a value for DNS or device IP
Little Update: if the phone is connected to Wlan, you will get more options beginnen with DHCP I think. So its no problem to change the DNS, but it will only last until the phone reconnects. The values will be overwritten. If you enter a wrong non working DNS, the phone will resort to your providers DNS.
Hi,
exist some HOMEBREW app which can let me change the IP address ?
Somebody told me that it exist.
Thanks.
Well, you can easily specify your own IP address for WiFi networks. That's built into the phone.
For the cellular network... I'm not aware of a way, though it probably does exist. I'm not sure anybody has coded it as a WP7 app, though.
Why do you need to do this? Your IP address quite probably changes every time you reboot your phone; why do you need it to be a constant value?
GoodDayToDie said:
Well, you can easily specify your own IP address for WiFi networks. That's built into the phone.
For the cellular network... I'm not aware of a way, though it probably does exist. I'm not sure anybody has coded it as a WP7 app, though.
Why do you need to do this? Your IP address quite probably changes every time you reboot your phone; why do you need it to be a constant value?
Click to expand...
Click to collapse
For me this threat is also interested. And why would be practice to be able to put static IP address is simple, what to do when you want to connect in WIFI environment where is no DHCP.
Or let say ISP, give you STB with WLAN on which is not enabled DHCP.
Cheers.
As I said, specifying your own IP address is easy on WiFi (specifically for networks without DHCP). Open the WiFi settings page, press-and-hold on a network, and select Edit. If you connect to a network that doesn't have DHCP, it should prompt you for the settings when you first connect.
GoodDayToDie said:
As I said, specifying your own IP address is easy on WiFi (specifically for networks without DHCP). Open the WiFi settings page, press-and-hold on a network, and select Edit. If you connect to a network that doesn't have DHCP, it should prompt you for the settings when you first connect.
Click to expand...
Click to collapse
My friend, this what you are wrote is written in user manual which I am get with my optimus 7. There is also written that is procedure for connecting on hidden network is press-and-hold on any wlan net and change the name according with hidden net and I could not reach hidden net until I am receive latest fw(few days ago) and I have optimus 7 almost nine month.
In any case, what you are wrote not applies for optimus 7, maybe for some other phone apply, but not for optimus 7, at least with OPN Firmware.
Cheers.
Ah... I don't have an LG phone, so if there's some weird quirk to their WiFi drivers, I can't help you with that. Sorry. :-(
JosipoGo, have you connected your phone to Zune and done updates that way? Go to Settings=> about phone and tell us what version of OS you have.
I am thinking you may be running NoDo on your phone, as anything with Mango or above should have the ability to change IP address. Yes, your shipping firmware (if it is NoDo version) may not have this feature, and it wouldn't be on your phones manual if that is the case.
If you have never done system updates, you should be able to add this feature by preforming the Zune update (if an update is available for your phone).
Hello did somebody can help me with setting up the dns of my TP-Link TL-WR740N i mange to make the dns to be to following in FunkyHuawei instruction but my eRecovery cant get the pacage and i get very upset about giving mt 18$ away without anything , if someone know the fix i will be very thankful
hey there, maybe you can refer to the instruction here: http://setuprouter.com/router/tp-link/tl-wr740n/dns.htm
the dns of funkyhuawei as of now should be:
Primary DNS: 213.202.238.238
Secondary DNS: 1.2.3.4
After you have set up, go to https://dnsleaktest.com to see if the dns setting is effective.
owichiu said:
hey there, maybe you can refer to the instruction here: http://setuprouter.com/router/tp-link/tl-wr740n/dns.htm
the dns of funkyhuawei as of now should be:
Primary DNS: 213.202.238.238
Secondary DNS: 1.2.3.4
After you have set up, go to https://dnsleaktest.com to see if the dns setting is effective.
Click to expand...
Click to collapse
I did all the steps and nothing but i want to ask something else, DId i need to have my internet proveder by Dynamic IP adress or dosen matter cuz im on PPPoE Russia with username and pass. and my pc get the DNS but my phone wont?
cropp7 said:
I did all the steps and nothing but i want to ask something else, DId i need to have my internet proveder by Dynamic IP adress or dosen matter cuz im on PPPoE Russia with username and pass. and my pc get the DNS but my phone wont?
Click to expand...
Click to collapse
i assume your PPoE connection goes through the router, and that you have set the DNS correctly on the router. they DNS setting in the router should override the DNS setting provided via PPPoE. it doesnt matter if you have fixed or dynamic ip address. if your pc and phone uses that same router then they should use the same DNS.
owichiu said:
i assume your PPoE connection goes through the router, and that you have set the DNS correctly on the router. they DNS setting in the router should override the DNS setting provided via PPPoE. it doesnt matter if you have fixed or dynamic ip address. if your pc and phone uses that same router then they should use the same DNS.
Click to expand...
Click to collapse
So here is some pics
cropp7 said:
So here is some pics
Click to expand...
Click to collapse
somehow i cant see the first image (the router config). pls repost. on the second image, are the network settings auto or manually inputted?
owichiu said:
somehow i cant see the first image (the router config). pls repost. on the second image, are the network settings auto or manually inputted?
Click to expand...
Click to collapse
Nvm i contaced Funky Huawei and they provided me with another methoud that fix my phone.
I think they changed their DNS tho..
$ nslookup www.zoom.com 213.202.238.238
;; connection timed out; no servers could be reached
I just upgraded from an S9+ to the S22 Ultra, and I'm having some DNS problems. I run my own local DNS, and my DHCP server hands out that address as DNS 1 and OpenDNS as DNS 2. I've checked the settings on my phone, and it is getting those addresses in that order from DHCP. But whenever my phone goes to resolve an address it uses OpenDNS, not my primary server and I have no idea why.
I know there was a recent issue with Android no longer resolving ".local" domains, but I don't think that relates to this issue since I'm using ".workgroup".
I have no idea how to start troubleshooting this and I'm hoping someone can point me in the right direction. Thanks!
Maybe this from
Local DNS resolution suddenly stopped working... - Google Pixel Community
Ran into the same problem however I have resolved the issue temporarily by using IP address of server instead of base url i-e https://example.dev.local to the IP address such as 10.10.10.152
raul6 said:
Maybe this from
Local DNS resolution suddenly stopped working... - Google Pixel Community
Ran into the same problem however I have resolved the issue temporarily by using IP address of server instead of base url i-e https://example.dev.local to the IP address such as 10.10.10.152
Click to expand...
Click to collapse
That does seem like a similar issue, with no apparent resolution unfortunately. I should be able to access local resources via IP, but then that kind of ruins the purpose of using DNS. Thanks for the reply anyway.
davel23 said:
I just upgraded from an S9+ to the S22 Ultra, and I'm having some DNS problems. I run my own local DNS, and my DHCP server hands out that address as DNS 1 and OpenDNS as DNS 2. I've checked the settings on my phone, and it is getting those addresses in that order from DHCP. But whenever my phone goes to resolve an address it uses OpenDNS, not my primary server and I have no idea why.
I know there was a recent issue with Android no longer resolving ".local" domains, but I don't think that relates to this issue since I'm using ".workgroup".
I have no idea how to start troubleshooting this and I'm hoping someone can point me in the right direction. Thanks!
Click to expand...
Click to collapse
DNS 1 and 2 aren't necessarily used in any order, it's random which one the phone accesses each time. It's not reliable to use 2 DNS servers and assume it's always going to use the first one.
Have you tried to only hand out the local DNS and nothing for DNS 2 to see if it works properly? Then you can narrow down if it is in fact an issue with DNS resolution or the phone using the wrong DNS server that you gave it.
peacey8 said:
DNS 1 and 2 aren't necessarily used in any order, it's random which one the phone accesses each time. It's not reliable to use 2 DNS servers and assume it's always going to use the first one.
Have you tried to only hand out the local DNS and nothing for DNS 2 to see if it works properly? Then you can narrow down if it is in fact an issue with DNS resolution or the phone using the wrong DNS server that you gave it.
Click to expand...
Click to collapse
Yeah, I just removed OpenDNS from my DHCP config and it works fine. I suppose I don't need OpenDNS in there, I just had it as a fallback.