Question S22 Ultra using wrong DNS server? - Samsung Galaxy S22 Ultra

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.

Related

New ROMs and OpenDNS...

To speed up browsing I use the free DNS servers provided by OpenDNS. They are 208.67.222.222 and 208.67.220.220. See www.opendns.com for details.
Anyways, when I enter specific DNS servers for my ISP's connection, I cannot connect. I'm wondering if my ISP has changed their policy to prevent access to external DNS servers, or if there is something wrong with the way the new ROMs operate. Previously, I had been able to use these DNS servers with no problem.
So, everyone still uses their ISP's DNS servers?
floepie said:
So, everyone still uses their ISP's DNS servers?
Click to expand...
Click to collapse
I've noticed that on my current wm6 rom it doesn't matter if I specify the opendns servers in the gprs connection settings..it's still using the isp's...you can test this by going to http://www.opendns.com/welcome
If you get the oops page..you are not using the opendns servers and I'm not sure if it's a wm6 issue or a tmobile issue.

OpenDNS blocking gmail while using wifi tether for root users?

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).

wifi - switching different ip

hi, is there any app which is able to switch different ip address and DNS for different wifi AP? I have fixed IP at home and then when i try to connect to any other, i have to delete fixed IP settings and when back home write it back.
tried google but no luck
thanks
so as i see, there is propably no app
I tried this too, and found the exact same problem. I know of no way to save different "profiles" for wifi settings.
The solution I found is to have IP address reservation enabled on my router, and to use the MAC address of my phone so that it is always assigned the same IP address.
Same result - just a different way of doing it. It does, however, mean I can have wifi settings for multiple places now.
have you guys tried wifiprofiles?
http://forum.xda-developers.com/showthread.php?t=355936
its a bit old, but will get the job done!

WiFi DNS Does not Update

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.

DNS settings for FunkyHuawei

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

Categories

Resources