I'm trying to create a tunnel so that I could bypass my company proxy when connected to their WiFi .. I've managed to do that now the problem is the name resolution..
I know in Linux we have the /etc/resolv.conf to tell the system which DNS to use, I couldn't find the same file on our Atrix2. I've created one in /system/etc but I don't think the ROM is following that file ..
you can try proxydroid. It has DNS proxy option, which may works for you.
But if you just want to change DNS setting, you can manually configure static IP and DNS address in waln setting.
Sent from my MB865 using XDA
hmm .. I couldn't find how to configure IP and DNS manually on my WiFi setting ..
wods said:
But if you just want to change DNS setting, you can manually configure static IP and DNS address in waln setting.
Sent from my MB865 using XDA
Click to expand...
Click to collapse
ari197 said:
hmm .. I couldn't find how to configure IP and DNS manually on my WiFi setting ..
Click to expand...
Click to collapse
wireless - wireless settings - menu - advanced settings
hmm .. than it'll affect all wifi connection .. plus, I need to manually insert IP, Netmask and GWs .. all I want is to change the DNS ..
mtnlion said:
wireless - wireless settings - menu - advanced settings
Click to expand...
Click to collapse
You can try "DNS setting" app, it can input the dhcp IP address for you.
But I'm not sure if the name is right.
Sent from my MB865 using XDA
Thanks .. it works
I'm using "DNS Change" from the market ...
wods said:
You can try "DNS setting" app, it can input the dhcp IP address for you.
But I'm not sure if the name is right.
Sent from my MB865 using XDA
Click to expand...
Click to collapse
Related
I've just installed SSHDroid Pro on my phone and by SSH'ing into it I've come across some interesting DNS behaviour. I was having trouble visting one of my servers over my home WiFi with a hostname from DynDNS.org - the Nexus S can't find it and nslookup fails. But when I try it from a PC at home it's all fine.
# nslookup xxx.dyndns-remote.com
Server: 8.8.8.8
Address 1: 8.8.8.8
nslookup: can't resolve 'xxx.dyndns-remote.com'
How come my Nexus S is using these DNS settings? It should be getting its IP address from a DHCP server on my LAN, and the DNS settings handed out by DHCP certainly isn't Google's DNS. Is it hard coded into the Nexus S or something horrible like that?
philled said:
I've just installed SSHDroid Pro on my phone and by SSH'ing into it I've come across some interesting DNS behaviour. I was having trouble visting one of my servers over my home WiFi with a hostname from DynDNS.org - the Nexus S can't find it and nslookup fails. But when I try it from a PC at home it's all fine.
# nslookup xxx.dyndns-remote.com
Server: 8.8.8.8
Address 1: 8.8.8.8
nslookup: can't resolve 'xxx.dyndns-remote.com'
How come my Nexus S is using these DNS settings? It should be getting its IP address from a DHCP server on my LAN, and the DNS settings handed out by DHCP certainly isn't Google's DNS. Is it hard coded into the Nexus S or something horrible like that?
Click to expand...
Click to collapse
I think it may be one of the apps trying to get phone's IP for access.
Do you have your wifi set to never switch from wifi to mobile data while using wifi. If that isn't checked some phones switch back to mobile data.
Sent from my Nexus S 4G using XDA App
pierre1321 said:
Do you have your wifi set to never switch from wifi to mobile data while using wifi. If that isn't checked some phones switch back to mobile data.
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Where are those settings?
Sent from my Nexus S 4G using XDA App
obsanity said:
Where are those settings?
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Press menu while in wifi settings
Sent from my Nexus S 4G using Tapatalk
Yeah, just tap on sleep policy and select never.
dreamsforgotten said:
Press menu while in wifi settings
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App
pierre1321 said:
Do you have your wifi set to never switch from wifi to mobile data while using wifi. If that isn't checked some phones switch back to mobile
Click to expand...
Click to collapse
No, it's set to Never.
That's what i was asking you, not sure what else it could be.
philled said:
No, it's set to Never.
Click to expand...
Click to collapse
Sent from my Nexus S 4G using XDA App
I thought I had managed to resolve this but I haven't. If I connect to my WiFi and get a command line up in the Terminal app and run "nslookup machine.on.mylan" it shows me that it's using 8.8.8.8 as the DNS server. Surely it should be using the DNS server passed over in the DHCP settings when connected to the WiFi network? How do people connect their Android to machines on their private LAN if it can't use your own private DNS server?
I wanted my Sensation to connect to my wifi network with a static IP address instead of DHCP and did not find a setting for that. Is there a way to do this?
Thanks in advance
tk_xda said:
I wanted my Sensation to connect to my wifi network with a static IP address instead of DHCP and did not find a setting for that. Is there a way to do this?
Thanks in advance
Click to expand...
Click to collapse
Hmm, Interesting question. I don't know what ROM you're on, I had a quick look in mine (CM7) and couldn't see a setting. I did have a look on the market, searched for "static" and a couple of "static IP" suggestions popped up. You could try them.
of course you can. menu -> setting -> wireless & network -> wifi settings, then press menu, click "advanced", and checked the Use static IP.
wangyu1221 said:
of course you can. menu -> setting -> wireless & network -> wifi settings, then press menu, click "advanced", and checked the Use static IP.
Click to expand...
Click to collapse
LOL, forgotten about that. Doh.
Not used it in ages, last time was to confirm WIFI sleep policy on my Desire.
wangyu1221 said:
of course you can. menu -> setting -> wireless & network -> wifi settings, then press menu, click "advanced", and checked the Use static IP.
Click to expand...
Click to collapse
Thanks. That works for InsertCoin ROM.
Hello,
I'm using custom ROM (CanGalaxyS4 v3). When I connected my phone in my college then my ip is being 192.168.1.101
Unfortunately, this ip has banned in my college. If I want to use Wi-fi then I must have to change my ip.
is there any working way? I' tried couple of wifi change app but it;s not working.
Please help me guys. Thanks in advance.
HemZone said:
Hello,
I'm using custom ROM (CanGalaxyS4 v3). When I connected my phone in my college then my ip is being 192.168.1.101
Unfortunately, this ip has banned in my college. If I want to use Wi-fi then I must have to change my ip.
is there any working way? I' tried couple of wifi change app but it;s not working.
Please help me guys. Thanks in advance.
Click to expand...
Click to collapse
Just ask one of your friends weather their wifi is connecting or not. If yes. Just copy their IP address, that's what I do
Sent from my Micromax A110 using xda app-developers app
HemZone said:
Hello,
I'm using custom ROM (CanGalaxyS4 v3). When I connected my phone in my college then my ip is being 192.168.1.101
Unfortunately, this ip has banned in my college. If I want to use Wi-fi then I must have to change my ip.
is there any working way? I' tried couple of wifi change app but it;s not working.
Please help me guys. Thanks in advance.
Click to expand...
Click to collapse
Hi,
follow the below steps to change your wifi IP
go to wifi settings....
long press the college's network name to modify it
tick the option "show advanced options"
change "IP settings" from DHCP to static
then change your IP from the option "IP address"....try changing the last no. 101 to something else.....
save the settings....DONE !!!
ashishk87 said:
Hi,
follow the below steps to change your wifi IP
go to wifi settings....
long press the college's network name to modify it
tick the option "show advanced options"
change "IP settings" from DHCP to static
then change your IP from the option "IP address"....try changing the last no. 101 to something else.....
save the settings....DONE !!!
Click to expand...
Click to collapse
Thanks a lot :good:
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 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.