DNS - Google Pixel 2 Questions & Answers

Any way without root to change the DNS for mobile data? And without a VPN?

km8j said:
Any way without root to change the DNS for mobile data? And without a VPN?
Click to expand...
Click to collapse
Well, not at the phone level. You could, however, do it upstream from your phone. For example, you could create an access point at your house that assigns your own DNS server. Once you have that, setup your own DNS server create a zone for the domains you want, and enter your own records. Configure DNS forwarding for anything you don't provide resolution for.

SweetSofie said:
Well, not at the phone level. You could, however, do it upstream from your phone. For example, you could create an access point at your house that assigns your own DNS server. Once you have that, setup your own DNS server create a zone for the domains you want, and enter your own records. Configure DNS forwarding for anything you don't provide resolution for.
Click to expand...
Click to collapse
Already have my DNS changed on my router for adguard. Was looking to do for mobile data as well.

km8j said:
Any way without root to change the DNS for mobile data? And without a VPN?
Click to expand...
Click to collapse
km8j said:
Already have my DNS changed on my router for adguard. Was looking to do for mobile data as well.
Click to expand...
Click to collapse
Yea, makes sense. Sorry, I don't know of any way to do it without root.

Related

[Q] Couldn't log into Panera Wi-Fi

Hi,
I was at Panera today and could see their Wi-fi, said "connected", but was grey, not blue in status.
Would try to find the Panera page accepting their terms, but stopped halfway loading.
It looked like the stats were DHCP and that's all I could tell.
any help?
Thanks
Adam said:
any help?
Click to expand...
Click to collapse
Yes...try the chocolate brownies...they are great.
seriously...no...I haven't had a chance to try Panera's but it does the same thing on my laptop sometimes...not sure if it's the TF...
Thanks!
Never had an issue with win XP Pro on my laptop....
Addictive place to hang out at
I have actually used my transformer at panera. Once you connect, you have to open up the browser and accepts their TOS. Then you are set!
Sent from my Droid using XDA App
And sorry, meant to add that you might need your browser set to a desktop string. To fully load their TOS
Sent from my Droid using XDA App
You can also try setting a static DNS (not any other part of the IP, let it DHCP that) of 8.8.8.8
Those are google's DNS servers and this often lets you skip the web browser login aspect of many free or even PAY wifi at hotels.
shawnbuell said:
And sorry, meant to add that you might need your browser set to a desktop string. To fully load their TOS
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Thanks Shawnbuell... Being a Noob, I am not sure what you mean. Little help?
shawnbuell said:
And sorry, meant to add that you might need your browser set to a desktop string. To fully load their TOS
Sent from my Droid using XDA App
Click to expand...
Click to collapse
Ahhhh... Whenever I typed about:debug into the browser nothing happened..
But, then I went to settings and found that more options were there.
It's now under advanced - set it for desktop rather than tablet so that the browser won't load the pages as mobile.
I'll try it later today!
crater said:
You can also try setting a static DNS (not any other part of the IP, let it DHCP that) of 8.8.8.8
Those are google's DNS servers and this often lets you skip the web browser login aspect of many free or even PAY wifi at hotels.
Click to expand...
Click to collapse
Thanks for the tip about 8.8.8.8. I never knew that.
SoCalTiger said:
Thanks for the tip about 8.8.8.8. I never knew that.
Click to expand...
Click to collapse
Yeah can you guys elaborate on this? I am not following this at all?!
Me too please!
interesting.
the 8.8.8.8 DNS setting made my Xperia X10 disgustingly fast from home....the only issue is that i had to assign a static IP to the phone itself...I just chose a random one that I knew was part of my home network...
do you think that will cause a problem later on?
npompei said:
Yeah can you guys elaborate on this? I am not following this at all?!
Click to expand...
Click to collapse
I tried to find some more info or settings on my TF and couldn't find how to do this. Any help?
Thanks!
for the future, when the wifi icon is grey instead of blue, your still connected, but you don't have direct access to google servers which means syncing is down.
This is normal with any internet that requires a log-in page.
For example at my school i have to log in through the browser like you do at panera, and gmail won't update because the google sync dosn't have direct access. You can do a manual check, but it won't do it on it's own.
just so you know.

[Q]ASUS MyDesktop Remote Software

Can this only be used in the local network and not over the internet? It keeps telling me that it cannot locate the device. In the description it says "finds all local devices."
You can certainly use it over the net.
You will need to have the splashtop app running on your machine and need to set up port forwarding on your home router. The application uses tcp ports 6783, 6784 and 6785.
acomiskey said:
You can certainly use it over the net.
You will need to have the splashtop app running on your machine and need to set up port forwarding on your home router. The application uses tcp ports 6783, 6784 and 6785.
Click to expand...
Click to collapse
Great! Thank you!
acomiskey said:
You can certainly use it over the net.
You will need to have the splashtop app running on your machine and need to set up port forwarding on your home router. The application uses tcp ports 6783, 6784 and 6785.
Click to expand...
Click to collapse
+1
You will also need your IP that your ISP assigns you. Hopefully it doesnt change regularly then you should be good to go.
A fix for that is to sign up w dyndys.org. then u can use hostname instead of ip.
Sent from my DROIDX using XDA App
Terrible idea to use it over the internet, just do a port scan for those ports and you can see anyone running this over the net. Then it's just a matter of exploiting the host or figuring out a weak password.
oopsallberrys said:
Terrible idea to use it over the internet, just do a port scan for those ports and you can see anyone running this over the net. Then it's just a matter of exploiting the host or figuring out a weak password.
Click to expand...
Click to collapse
How do all the other remote desktops work then?
I used to remote desktop into my PC all the time with a laptop.
Not trying to be a smart as*, I'm just asking.
newtybar said:
How do all the other remote desktops work then?
I used to remote desktop into my PC all the time with a laptop.
Not trying to be a smart as*, I'm just asking.
Click to expand...
Click to collapse
It would be better to set up a VPN back to your home network, then use the software to connect to your computer.
Go to logmein.com and check this site out. I've been using them for 3 years now
oopsallberrys said:
It would be better to set up a VPN back to your home network, then use the software to connect to your computer.
Click to expand...
Click to collapse
Thanks, I'll look into this.

[Q] How to find hostname?

Title says it all.
I need to find the hostname of my device. Any info will be appreciated.
Should be under development in settings.
Sent from yours truly..
ΧΔΑ Fraternity's Rush Chairman
Development device id?
Sent from my MB865 using xda app-developers app
Android does not use hostnames, everything uses localhost.
If you have a real requirement for a hostname you can use an alias in the /system/etc/hosts file after the localhost entry. Though most if not all android app are made to work with localhost.
If you are say running an ssh server you would just need your IP address to get to it externally. This will work with any service including something like air droid.
jimbridgman said:
Android does not use hostnames, everything uses localhost.
If you have a real requirement for a hostname you can use an alias in the /system/etc/hosts file after the localhost entry. Though most if not all android app are made to work with localhost.
If you are say running an ssh server you would just need your IP address to get to it externally. This will work with any service including something like air droid.
Click to expand...
Click to collapse
one quick question, if i delete the hots file, would it be bad for my phone, any risk of getting any kind of brick? , i need to disable that file because it's blocking ad.fly pages on my browser, and preventing me to reach download pages i use from time to time
Sent from the gray stuff inside my skull
jimbridgman said:
Android does not use hostnames, everything uses localhost.
If you have a real requirement for a hostname you can use an alias in the /system/etc/hosts file after the localhost entry. Though most if not all android app are made to work with localhost.
If you are say running an ssh server you would just need your IP address to get to it externally. This will work with any service including something like air droid.
Click to expand...
Click to collapse
Guess I could've put a little more detail in the OP.
I'm having issues connecting to a forum I use quite often, but only through my phone. The admin asked for the hostname of my device. Which brought me here.
Something about conflicting host names and another banned user.
demonoid phenomenom said:
one quick question, if i delete the hots file, would it be bad for my phone, any risk of getting any kind of brick? , i need to disable that file because it's blocking ad.fly pages on my browser, and preventing me to reach download pages i use from time to time
Sent from the gray stuff inside my skull
Click to expand...
Click to collapse
You can't delete that file. The next time you boot, you may end up in a bootloop. If you are having issues then you probably used some sort of ad block software, they usually have a way to put your hosts file back to stock in the app you used. I use ad away and it edits the hosts file to block ads, but I can put it back to stock from there as well.
---------- Post added at 09:29 PM ---------- Previous post was at 09:24 PM ----------
dk-v1 said:
Guess I could've put a little more detail in the OP.
I'm having issues connecting to a forum I use quite often, but only through my phone. The admin asked for the hostname of my device. Which brought me here.
Something about conflicting host names and another banned user.
Click to expand...
Click to collapse
Well, then you are getting assigned an external hostname from your cell provider, they do that. I have the same issue with IRC when using my phones. IRC has a way for mobile users to connect over sts though. I would explain, to that site admin, that you connect from a mobile phone and that your hostname is being sent from your mobile provider. And that you can't control that. I can't tell you how to find the hostname they assign, easily, other than asking your cell provider, I had to get mine from ATT, and it was a pia since it is a dhcp hostname and changes with your cellular IP.
jimbridgman said:
Well, then you are getting assigned an external hostname from your cell provider, they do that. I have the same issue with IRC when using my phones. IRC has a way for mobile users to connect over sts though. I would explain, to that site admin, that you connect from a mobile phone and that your hostname is being sent from your mobile provider. And that you can't control that. I can't tell you how to find the hostname they assign, easily, other than asking your cell provider, I had to get mine from ATT, and it was a pia since it is a dhcp hostname and changes with your cellular IP.
Click to expand...
Click to collapse
Hmmm...ok, good food for thought.
dk-v1 said:
Hmmm...ok, good food for thought.
Click to expand...
Click to collapse
Can't they just use your mac address? It's not going to change (unless you spoof it), and it's an easy way to identify hosts.
jimbridgman said:
You can't delete that file. The next time you boot, you may end up in a bootloop. If you are having issues then you probably used some sort of ad block software, they usually have a way to put your hosts file back to stock in the app you used. I use ad away and it edits the hosts file to block ads, but I can put it back to stock from there as well.
actually it came along with scv7 rom never used an ad block apk, would it be fine to manually remove/edit the ad.fly line from inside the file?
Sent from the gray stuff inside my skull
Click to expand...
Click to collapse
demonoid phenomenom said:
actually it came along with scv7 rom never used an ad block apk, would it be fine to manually remove/edit the ad.fly line from inside the file?
Sent from the gray stuff inside my skull
Click to expand...
Click to collapse
Yes, you can.. but you probably wanna do it on your computer - root explorer will truncate it and cut off a lot..
Or you can clean it out entirely, and then use an ad blocking app to enable/disable. See here: http://forum.xda-developers.com/showpost.php?p=34498720&postcount=253
Sent from my paranoid phone's mind
demonoid phenomenom said:
jimbridgman said:
You can't delete that file. The next time you boot, you may end up in a bootloop. If you are having issues then you probably used some sort of ad block software, they usually have a way to put your hosts file back to stock in the app you used. I use ad away and it edits the hosts file to block ads, but I can put it back to stock from there as well.
actually it came along with scv7 rom never used an ad block apk, would it be fine to manually remove/edit the ad.fly line from inside the file?
Sent from the gray stuff inside my skull
Click to expand...
Click to collapse
You can edit the host file as you see fit, but blatantly removing it obviously can cause problems because it's a go to file for DNS lookups, and DNS is integral to network operation . If you want to block a site you set the url to point to the local host or more specifically your loopback interface 127.0.0.1
You can remove ad.fly if you want because if the address isn't defined in the host file, your browser, app, whatever is doing the lookup will try your connection's DNS server next. If you wanted to prank someone, you could for example set google.com to redirect to anything you wanted by adding the entry in the host file.
Click to expand...
Click to collapse
41rw4lk said:
You can edit the host file as you see fit, but blatantly removing it obviously can cause problems because it's a go to file for DNS lookups, and DNS is integral to network operation . If you want to block a site you set the url to point to the local host or more specifically your loopback interface 127.0.0.1
You can remove ad.fly if you want because if the address isn't defined in the host file, your browser, app, whatever is doing the lookup will try your connection's DNS server next. If you wanted to prank someone, you could for example set google.com to redirect to anything you wanted by adding the entry in the host file.
Click to expand...
Click to collapse
Be careful what you tell people, please, do a little research before answering someones question, if you don't really know for sure.
The hosts file has NOTHING to do with DNS lookups, it is a local hostname file, and is used instead of and before (if setup that way) DNS is used. DNS is handled by the resolv.conf file and tells the os who your DNS server is, there is also another file that tells the os the order in which you perform EVERY lookup (usually that is the nsswitch.conf file).
Here is a wikipedia description of what a hosts file actually does, it is a pretty accurate description:
http://en.wikipedia.org/wiki/Hosts_(file)
As for the ad blocks, they are using full DNS names to resolve hosts back to the local loopback address which is the black hole of networking in an os (that is because it will send any request back to itself and put it in a null space, since there is no web-server running on the phone or localhost). The DNS search order on an android phone is hosts file, then DNS, that is why the ad block works as it does.
The ad blocking used in scv7 is from a plugin in the ROM kitchen, that does the same thing that ad away does. You can remove the line, but you would be best to remove all but the localhost line at the top. As alteredlikeness mentioned it is best to edit it through adb. Completely removing the file is a bad idea though.
Dns requests will look for remote hosts ip's from host/s file (1st phase). If remote distenation (normal case) is not in hosts file,then the DNS client (in this mobile) will try to resolve it via the distensions lookup table file (2nd phase)
So, by default, the internal loopback 127.0.0.1 is in hosts file,if you added xxx.xxx.xxx.xxx as *.yahoo.com in hosts, the client will connect to xxx.xxx.xxx.xxx directly if you requested www.yahoo.com (without trying to look to distensions or to ask DNS servers)
You can trace ad blocking app action (replacing the hosts file with addresses of ads servers and redirect them to 127.0.0.1
Sent from my ME865 using xda app-developers app
---------- Post added at 10:30 PM ---------- Previous post was at 10:08 PM ----------
OP,
For your problem,try to use Google DNS servers 8.8.8.8 and 8.8.4.4
Sent from my ME865 using xda app-developers app
sad_but_cool1 said:
Dns requests will look for remote hosts ip's from host/s file (1st phase). If remote distenation (normal case) is not in hosts file,then the DNS client (in this mobile) will try to resolve it via the distensions lookup table file (2nd phase)
So, by default, the internal loopback 127.0.0.1 is in hosts file,if you added xxx.xxx.xxx.xxx as *.yahoo.com in hosts, the client will connect to xxx.xxx.xxx.xxx directly if you requested www.yahoo.com (without trying to look to distensions or to ask DNS servers)
You can trace ad blocking app action (replacing the hosts file with addresses of ads servers and redirect them to 127.0.0.1
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
Humm, I think I already said this in my last reply and even included a wiki link to explain this to those that may not understand this so well.
---------- Post added at 03:34 PM ---------- Previous post was at 03:31 PM ----------
sad_but_cool1 said:
OP,
For your problem,try to use Google DNS servers 8.8.8.8 and 8.8.4.4
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
What good is that going to do using google dns servers? He is getting a hostname from his cell provider that is conflicting with one that a site that he frequents, has blocked. changing his DNS servers will do nothing to help that. And to the person who asked about the whole deleting the hosts file, this also does no good. Technically this would be a great solution for someone having issues resolving things, but no one in this thread is.
jimbridgman said:
Humm, I think I already said this in my last reply and even included a wiki link to explain this to those that may not understand this so well.
Click to expand...
Click to collapse
You didn't said that, seems you do not understand the case well,the hosts file is the first step in DNS resolving chain,and you said that nothing to do with it.
Sent from my ME865 using xda app-developers app
sad_but_cool1 said:
You didn't said that, seems you do not understand the case well,the hosts file is the first step in DNS resolving chain,and you said that nothing to do with it.
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
Again you are the one who does not understand. the hosts file has NOTHING to do with DNS!!!!
A hosts file is a local resolution and happens BEFORE dns is ever called. I do this for a living!!!
take a look at the wiki I posted, and I quote from my above statement:
jimbridgman said:
it is a local hostname file, and is used instead of and before (if setup that way) DNS is used. DNS is handled by the resolv.conf file and tells the os who your DNS server is, there is also another file that tells the os the order in which you perform EVERY lookup (usually that is the nsswitch.conf file).
Click to expand...
Click to collapse
Might pay to actually read posts completely before posting information, especially when they are not 100% correct!
As you like WIKIman!!
Sent from my ME865 using xda app-developers app
sad_but_cool1 said:
As you like WIKIman!!
Sent from my ME865 using xda app-developers app
Click to expand...
Click to collapse
It just helps to explain information in simple most of the time correct terms to people, that may not fully understand. It listed it out, very closely to how I explained it. I have been in the UNIX/Linux computer world for 20 years. I have been doing networking and designing systems for a very long time.
UNIX and linux servers and hosts files existed before DNS existed, so DNS is a whole separate thing from the hosts file resolution.
If you do not like wiki, then here is another link that explains it as I have also said it:
http://www.bleepingcomputer.com/tutorials/hosts-files-explained/
If that was meant as a slap, I just have to laugh! But again, I see it too many times that people think they know, but they are only 80% correct most of the time, if you do not know and can not show your work, don't post it. Sounds like you have something to prove here, so go ahead and school me!
Well this thread got a little lively...
I'll ask about the MAC address. Otherwise, I'll just deal with it when I'm on the go. At least for now...the "ban" is lifted on the 14th, so we'll see what happens then.

Configure default DNS, possible ??

Hi,
Would appreciate your help >
I've got a GT-P6211, so the Plus model without 3G.
Is it possible to configure a fixed DNS (for instance Google Public DNS), so that when using public Wifi Hotspots this DNS is the default nameserver when surfing the Internet, instead of the DNS offered by the Hotspot ??
BTW, I found this app in Google Play called 'Set DNS': any experience with this ??
THANKS,
V.
Vronsky said:
Hi,
Would appreciate your help >
I've got a GT-P6211, so the Plus model without 3G.
Is it possible to configure a fixed DNS (for instance Google Public DNS), so that when using public Wifi Hotspots this DNS is the default nameserver when surfing the Internet, instead of the DNS offered by the Hotspot ??
BTW, I found this app in Google Play called 'Set DNS': any experience with this ??
THANKS,
V.
Click to expand...
Click to collapse
Just some suggestions...
In Settings> Wi-Fi
After you are connected to an access point, long press the name of the access point and select Modify network config. Check Show advanced options and you can switch IP Settings from DHCP to Static. There you can set DNS.
You could also try adding the following to the bottom of your build.prop
net.dns1=8.8.8.8
net.dns2=8.8.4.4
Excuse my ignorance, but what is/where can I find build.prop
Unit isn't rooted, hardly possible either I believe.
THANKS,
V.
k_t_b said:
Just some suggestions...
In Settings> Wi-Fi
After you are connected to an access point, long press the name of the access point and select Modify network config. Check Show advanced options and you can switch IP Settings from DHCP to Static. There you can set DNS.
You could also try adding the following to the bottom of your build.prop
net.dns1=8.8.8.8
net.dns2=8.8.4.4
Click to expand...
Click to collapse
Vronsky said:
Excuse my ignorance, but what is/where can I find build.prop
Unit isn't rooted, hardly possible either I believe.
THANKS,
V.
Click to expand...
Click to collapse
Well, you need to have root access. I don't understand why that wouldn't be possible.
The build.prop file is located at /system/build.prop and you will not be able to edit files in /system without root access.
Vronsky said:
Hi,
Would appreciate your help >
I've got a GT-P6211, so the Plus model without 3G.
Is it possible to configure a fixed DNS (for instance Google Public DNS), so that when using public Wifi Hotspots this DNS is the default nameserver when surfing the Internet, instead of the DNS offered by the Hotspot ??
BTW, I found this app in Google Play called 'Set DNS': any experience with this ??
THANKS,
V.
Click to expand...
Click to collapse
Not if the wireless AP you are trying to use has anyone knowledgeable about setting it up. Its firewall should prevent you from bypassing the DNS and only allow you to use the DNS it is setup for. Why would you want to do this? I can only imagine ....
DigitalMD said:
Not if the wireless AP you are trying to use has anyone knowledgeable about setting it up. Its firewall should prevent you from bypassing the DNS and only allow you to use the DNS it is setup for. Why would you want to do this? I can only imagine ....
Click to expand...
Click to collapse
... ever seen the search history of a 14-year old teenager ??
Many thanks.
Even if I knew how to root the device, I understand rooting involves serious risks, hope to find some solution without this.
Best Regards,
V.
k_t_b said:
Well, you need to have root access. I don't understand why that wouldn't be possible.
The build.prop file is located at /system/build.prop and you will not be able to edit files in /system without root access.
Click to expand...
Click to collapse

Easy to Use Proxy App?

Hey yall.... I have been doing some chromecasting with the CM10.2 hotspot. I heard Sprint will shut you down if they see you doing unauthorized hotspotting and they way the tell is via IP addresses of the devices. Does anyone recommend a good proxy server program to hide the other IP addresses? TIA
matt2k12 said:
Hey yall.... I have been doing some chromecasting with the CM10.2 hotspot. I heard Sprint will shut you down if they see you doing unauthorized hotspotting and they way the tell is via IP addresses of the devices. Does anyone recommend a good proxy server program to hide the other IP addresses? TIA
Click to expand...
Click to collapse
unfortunately,we even can't see facebook.Not even sprint....
chinanb said:
unfortunately,we even can't see facebook.Not even sprint....
Click to expand...
Click to collapse
What do you mean?
matt2k12 said:
What do you mean?
Click to expand...
Click to collapse
sorry,my english is not good,i mean most chinese doesn't know sprint,so we won't need this``````

Categories

Resources