Can't change DNS servers in wi-fi settings - General Questions and Answers

Hello, I got trouble on many different ROMs (Corvus, Cherish, Havoc etc). When I open my wi-fi settings and set IP settings on Static IP, the button "Save" disappears and I can't change DNS.
How to solve it? Redmi note 8 pro.

I think you can't change the DNS because there is an overriding setting in effect called "Private DNS". If you have a DNS set up in Private DNS then you will not be able to change the DNS setting individually. I'm using Pixel 12 so it may be a bit different then I describe here, but you want to find the "Private DNS" setting in Android. To change the DNS that I use for WiFi, I,
1. Went into Settings and picked "Network & Internet"
2. Scrolled down to "Private DNS" and selected it
3. Selected "Private DNS provider hostname" and I filled it out. It must be a DNS name, it cannot be an IP address like 8.8.8.8. So, instead, if you wanted to use 8.8.8.8, you would enter "dns.google". To use Cloudflare 1.1.1.1, you'd enter, "1dot1dot1dot1.cloudflare-dns.com".
I hope this helps.

Actually:
NXbogusdomain = dodgy dns
I have in the past set my own ip to the dns I intend to use too...

Jerry1113 said:
I think you can't change the DNS because there is an overriding setting in effect called "Private DNS".
Click to expand...
Click to collapse
No, my wi-fi settings don't depend on personal DNS. I turned it off and nothing has changed. Still the button Save is inactive as soon as I turn on Static IP.

Related

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.

[Q] IP Settings - Static for Networks - Solved

Thought I would shift this out of the Prime thread, as it seems to be a bit more of a android "ball and chain" thing.. not as easy to fix if you don't know how..
On Stock 3.2 - Roach's PRIME! v1.7 OC Kernel based on Netarchy's..
Not sure if others have come across this or not..
Done a search in the thread but nothing is coming up on it..
Problem: Can't change i.p settings when add a new wireless connection point..
I go in to "Static"
Curser is blinking at the front of them..but they are grayed out..
At the moment it reads..
i.p 192.168.1.128
gateway : 192.168.1.1
network prefix: 24
DNS 1: 8.8.8.8
DNS 2: 4.4.4.4
The other change I would like to do is play around with the DNS settings..
As I am one of the unfortunate expats working behind the great wall blocking machine.. more info on this.. http://wiki.witopia.net/wiki/DNS_Options
do I have to edit in terminal?
another way to edit?
options?
Thanks in advance..
Click to expand...
Click to collapse
With a reply from CaSNA
What happens AFTER you have finished adding the connection?
Does it let you edit the settings then?
Click to expand...
Click to collapse
Mine reply...
No..
at the moment I can only use "DHCP" settings
When I go in to "Static"
and punch in the WEP password, even the connect button is grayed out..
When I use "DHCP" and try to connect.. I get "obtaining IP address..
and the only options are " forget" or "cancel"
and I know it wont get an auto IP address as as we have set the wireless router up to "AP" mode on the work lan..
If you have any idea's, maybe hit me with a PM so I don't clutter the thread with my banter..
I can then condense the fix down in to one post for others to use once I get a fix that is.. ;-)
Click to expand...
Click to collapse
Then a little discussion on why I have 8.8.8.8 & 4.4.4.4 as DNS.. where others have 8.8.4.4
Anyway.. found a bit of a work around in these two programs..
Wifi static and Zakus wifi profiles..
I got Wifi Static to work on my EVO with hook in and web access but couldn't get it to work with the Transformer..
Used these settings on the Evo..
Gateway : 192.168.0.1
Netmask: 255.255.255.0
Dns: 1: 8.8.8.8
DNS 2: 8.8.4.4
Tried them on the Pad but it wouldnt hook in.. i.e it was still trying to get an IP like in a DHCP type setting..
This is the mini router I am playing with.. the WL330gE http://www.asus.com/Networks/Wireless_Routers/WL330gE/
Found this.. "[Q] How to set Static IP?"
http://forum.xda-developers.com/showthread.php?t=1062792&highlight=static+ip
Gives me a bit more of an understanding.. there must be a way in to the back end of the wireless settings on the pad..
Any more help leads would be good.. thanks..
I will condense my findings into this thread as I am sure there are going to be others with a similar problem..
Solved by re:flashing a new Kernel..
Really unsure what your question is, figure you want to set a static IP on the tablet and change you DNS settings ?
Setting a static IP is done by Pressing Settings > Wireless and Networks > Wi-Fi settings > pressing and holding down the name of your connected network under the lower half of the screen titled "Wi-Fi Networks"
Then click Modify Network
Then press where it says DHCP, and change it to static
It will ask you for the IP etc which should already be entered, you do not need to type in the Encryption key again, as it remembers it from the DHCP settings
Your DNS servers 8888 and 4444 / 8844 are googles DNS servers
You can change that to 208.67.222.222 and 208.67.220.220 for OpenDNS servers.
You can still set a Static IP on your home network, but remember that when you get to work, you will need to find out the IP of the gateway and change your IP ranges accordingly
For example, home router IP is 192.168.1.1 - you can set the tablet to 192.168.1.2 and gateway to 192.168.1.1 <<< The router connected to the net is the gateway
When you get to work, for example the router IP is 192.168.100.50 - You will need to change your static IP to be in the same range, such as 192.168.100.51 and the gateway to the work router which is 192.168.100.50
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
magicdave26 said:
Really unsure what your question is, figure you want to set a static IP on the tablet and change you DNS settings ?
Setting a static IP is done by Pressing Settings > Wireless and Networks > Wi-Fi settings > pressing and holding down the name of your connected network under the lower half of the screen titled "Wi-Fi Networks"
Then click Modify Network
Then press where it says DHCP, and change it to static
It will ask you for the IP etc which should already be entered, you do not need to type in the Encryption key again, as it remembers it from the DHCP settings
Your DNS servers 8888 and 4444 / 8844 are googles DNS servers
You can change that to 208.67.222.222 and 208.67.220.220 for OpenDNS servers.
You can still set a Static IP on your home network, but remember that when you get to work, you will need to find out the IP of the gateway and change your IP ranges accordingly
For example, home router IP is 192.168.1.1 - you can set the tablet to 192.168.1.2 and gateway to 192.168.1.1 <<< The router connected to the net is the gateway
When you get to work, for example the router IP is 192.168.100.50 - You will need to change your static IP to be in the same range, such as 192.168.100.51 and the gateway to the work router which is 192.168.100.50
Click to expand...
Click to collapse
Dude, posted by the OP:
Problem: Can't change i.p settings when add a new wireless connection point..
I go in to "Static"
Curser is blinking at the front of them..but they are grayed out..
He knows all of that, but it will not let him change the settings. Also, 4.4.4.4 is an incorrect address. It does not work.
OP: Hope somebody can help you. If I were you, I'd do a "factory reset". There are ways to manually set IPs through terminal, but what you need is a properly working Settings menu. It sounds like you're using a stock FW blob with CWM and the prime kernel? I would flash Prime 1.7 or 1.8.1, then clear the data for the wireless settings, then clear the data partition completely if nothing else worked. Do a Titanium Backup before clearing, and do not restore Wireless Access Points when restoring.
at the moment I can only use "DHCP" settings
When I go in to "Static"
and punch in the WEP password, even the connect button is grayed out..
Click to expand...
Click to collapse
I think you have the process backwards.
Connect first with DHCP connection.
Go into router, and reserve whatever address is connected for the tf101.
Then go and switch to static. You can then change the dns settings, but you should not have to change any password, etc, as they are already there, and you are already connected.
When you get to work, for example the router IP is 192.168.100.50 - You will need to change your static IP to be in the same range, such as 192.168.100.51 and the gateway to the work router which is 192.168.100.
Click to expand...
Click to collapse
You can also just leave the work connection on dhcp. The transformer allows you to have some static ip, and some dhcp, and it remembers them all.
@magicdave26
Thanks for having a look at it.. and will look in to the Opendns servers once I settle the editing problem down.. as msticninja points out the main problem here is, ..as per your picture of the wireless settings menu...
Mine is grayed out and don't have access to change these settings..
I have tried both "Wifi Static" and "Zakus Wifi profiles" from Market..
things to point here..
1: tested both on my EVO running Myn’s Warm TwoPointTwo - RLS 5 and both allowed me to access the settings and let me hook in to use the internet..
So this proves that they work..and that the router is set right
but.. on the transformer testing no joy..
I used one at a time to make sure no conflict (froze each in TB)..
So this tells me that I have some sort of "write block" to these settings..
I agree with you on ...
a:
do a "factory reset".
Click to expand...
Click to collapse
and
b:
There are ways to manually set IPs through terminal,
Click to expand...
Click to collapse
and totally agree
but what you need is a properly working Settings menu
Click to expand...
Click to collapse
@AustinMartin
I played within the setup of the Router this morning and tried to set it with an IP.. but no joy..
Once again it is getting back to "I cant change any settings in Static" due to no access..
Will play with the factory reset and also hopefully the upgrade from Prime 1.7 to the new Prime 1.8.1 in the next few days will make this problem disappear..
But... any "Terminal" guru's out there..
Want to throw me a command sheet so I get get my hands dirty in there?
'This works fine on Prime 1.7. Why don't you take a screenshot after you "modify network" and we can look to see if anything looks wrong.
also, what router are you using. It sounds like something is going wrong there. You just need to reserve a dhcp for the device, not change any ip settings.
This is the mini router I am playing with.. the WL330gE http://www.asus.com/Networks/Wireless_Routers/WL330gE/
'This works fine on Prime 1.7. Why don't you take a screenshot after you "modify network" and we can look to see if anything looks wrong.
Click to expand...
Click to collapse
yes on prime 1.7 flashed Via Nvflash with OC Kernel based on Netarchy's overclock parameters flashed via CWM..
plus power button mods flashed via CWM
So.. la.. somewhere along the line I got this funky thing going with not being able to edit the static sittings..
can enter password
can enter proxy settings
can enter ip settings (option Static or DHCP)
the other 4 are grayed out..
Plus the connect button is grayed out ...
Beats me.. as like I said.. the EVO can hook in with static settings changed..
the laptop can..
Looks like a Re flash of Rom or the deep dark trek in to Terminal..
I'm using the prime 1.7 rom, and the netformer overclocking kernel. Try that combination.
Also, in the version I'm using, when "dhcp" is selected, the dns settings etc, don't show up at all. When I select "static" mode, the other ones show up.
K.. will download now and give it a whirl..
Post back later with tests..
lucky its a slack day at work for me..
Reading your info carefully, you might be doing the wrong thing. Are you "adding" a network, or "modifying"?
Just to be clear, you need to "add" your network in dhcp mode.
Then in settings->Wireless & Networks->wi-fi networks
find the network name(ssid), and press and hold the network name. You will then have the option to "forget network" or "modify network"
Thanks for the suggestions..
Connected!!!!
Flashed netformer overclocking kernel and now can edit the settings..
got it hooked up and running fine..
Also.. hate to say it.. but on my tranny.. the Netformer Kernel seems a like more zippy..
I will set it to 1600 for the week and see how it goes..
never a dull moment when you have so many options available.. lucky us..
and once again thanks to the developers...
My transformer on 3.2 appears to be incapable of saving static IP information while trying to connect. Bizarrely, it has to be connected to a different access point before it'll allow me to properly edit the static IP settings, after which it'll allow me to connect without a problem. If I try to edit it while it's connecting, and then reconnect, it'll forget my settings and go back to obtaining an IP. I think this is a TF bug because I've never had it happen on any of the other Android units we're bringing into the company network.
None of the old Wifi manager apps work on TF, which is annoying because I had location profiles set up that I could easily add. I haven't figured out how to export and import location profiles directly from Android yet, nor how to quick-switch from the internal to the external network (we run two overlapping wifi networks).

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

Can someone explain the Private DNS settings

There are three settings, Off, Automatic, and Private DNS provider hostname
I assume Off means the ISP DNS will be used? But exactly are the other settings. Do they use DoT? And what server is automatic. I have searched, but all I find is it is a setting that should be used, but no explanation of each setting. Thanks.

Question WiFi custom DNS settings

Can anyone change the DNS of the WiFi on android 12 (31.0810.1226.91)?
I use static IP to change the DNS of a particular WiFi.
However, it keeps append the google DNS (8.8.8.8) no matter what i do.
FYI, i am using pihole, so it just keeps bypassing my pihole and direct all traffics to 8.8.8.8.
Is this a bug or just i missed some settings?
I have tried the following:
1. factory reset
2. reset wifi, mobile data settings
3. turn off private DNS settings.
and none of the above mentioned works...
Any help is appreciated. Thanks!
Hello, I was able to change the DNS without problem. Open Settings, networks and internet, and then Private DNS, select the "Private DNS Provider Hostname"
gecov said:
Hello, I was able to change the DNS without problem. Open Settings, networks and internet, and then Private DNS, select the "Private DNS Provider Hostname"
Click to expand...
Click to collapse
But I am using pihole which is just an IP address and no hostname. So I can't use that setting
Put ip adres as hostname in correct format
Gojira-r32 said:
Put ip adres as hostname in correct format
Click to expand...
Click to collapse
I tried that and it doesnt allow me to save the settings...
If you have rooted, add a custom hosts entry with a name that points to your pihole router and then try. Can do that with AdAway.

Categories

Resources