Mobile data change DNS permanently - General Questions and Answers

Hello!
I'm used my phone (rooted android 5.1) without google, and custom DNS servers: 1.0.0.1 or 1.1.1.1
Configured 2 file: build.prop and resolv.conf (attached photos)
The adblocker daily 1-2 times in GSM data mode (not wifi) logged 2 other DNS (8.8.8.8 or 121.121.121.121) query, not a setted 1.0.0.1 (attached photo).
I'm blocked this query (blacklisted the two ip) in adblocker, Viber, etc. go to offline. Not now!!! (Changed wifi to mobile data connection, working correctly, after 1-2 hour, all programs offline and adblocker log dislpayed foreign DNS query never ending.
2 problem:
1. Not available data connecton (not received messages, mails)
2. Drain the battery with high CPU usage to 1 sec more than 10x DNS query (and deny).
How to delete PERMANENTLY 8.8.8.8 and 121.121.121.121 DNS names and change "mobile data" DNS to my preferred?
Thanks!

I guess that you permanently can redirect all calls to Google's DNS resolvers to Cloudflare's public DNS resolvers by editing the hosts file what is located in Android's /system/etc folder
Code:
# Redirecting Google to Cloudflare
1.1.1.1 8.8.8.8
1.0.0.1 8.8.4.4
but I may err, as always ...

jwoegerbauer said:
I guess that you permanently can redirect all calls to Google's DNS resolvers to Cloudflare's public DNS resolvers by editing the hosts file what is located in Android's /system/etc folder
Code:
# Redirecting Google to Cloudflare
1.1.1.1 8.8.8.8
1.0.0.1 8.8.4.4
but I may err, as always ...
Click to expand...
Click to collapse
No! I'm tested in Windows and droid... and listen router log. Visiteded IP, not need DNS query, visit directly to the IP.
Droid DNS apk NOT query 8.8.8.8... VISIT directly.
Please write 142.250.74.206 to browser and view router DNS query. Google page loaded, DNS query not listed in router log.
Please write google.com to browser and view router... Query IP4, Query IP6 and sent to computer.
MÍ big problem, not name (google) visited, only IP.
The HOSTS file only NAME change to (local/fake) DNS. IP address not valid information, only names, alphanumeric.
See other HOSTS IP to IP explanation:
Superuser
Stackoverflow
Need search the resource 8.8.8.8 and 121.121.121.121 (xml, ini, etc.) to delete, rewrite, not redirect.

Related

How to change dns adress ?[Youtube]

Youtube is proscriptive in my country.when dns adress change get access youtube.But for example I go restaurant how to acess youtube with dns changing.
Any software for dns change or other thing.
What about not change DNS, but open via IP address, not via site name? Try open http://208.65.153.238
i had the same problem...
going to the website with the ip works but only for the mainpage, coz links of the page point to addresses with domain name
to change the dns u got to go to the network card and change there
but if its restricted connection im not sure ull be able to use another dns
but u can use a proxy instead

[Resolved] Android wifi proxy: Substitute for asproxy..

I know that asproxy works but it costs too much too for us who are more familiar with freeware..
I know a workaround for this...
Download trans proxy(xda exclusive) to set the proxy adddress and set DNS (market) to set the DNS server address..
Likewise you would find freewaare for almost anything on asproxy...
You can even use tasker (maarket) to automatically open transproxy whenever you use wifi because the same transproxy settings wouldn't work for GPRS...
DNS and transporxy
ganesh3s3 said:
Download trans proxy(xda exclusive) to set the proxy adddress and set DNS (market) to set the DNS server address..
Click to expand...
Click to collapse
May I ask a dump question: how can I make the DNS work? I understand all the traffic should go through the proxy so DNS is not needed. But the applications on the phone are not aware of the proxy. They will try to resolve the IP address before trying any connection to port 80 or 443, right? I have been struggling to make transproxy work for quite a while.
Just set the proxy address in transproxy and set the same proxy address as the dns server in set dns... Hope this works..
I tried but it didn't work. I think the DNS is not needed. But I cannot get the browser or other application to talk to the proxy without resolving the IP address.

Android inTRAnet only - DNS suffix to 'com' with NO servers

Hi all,
is there a place on our Android phones where I can set the DNS suffixes to change 'pc' and 'm' to 'pc.com' and 'm.com' for my inTRAnet only?
I've setup an inTRAnet at home using IIS 5.1 on Windows XP sp3.
I have NO server OSs available.
So NO DNS nor WINS server are avaialble.
All three of us at home have pcs. With a few more around the house.
I've setup each pc to use Simple DNS server to redirect 'pc.com' to my IIS 5.1 server. (via Preferred DNS server in Tcp/IP settings on each PC)
I also had to set the 'Append these DNS suffixes' in Advanced TCP/IP setting | DNS by adding 'com' on each PC to suffix
pc.com is where I have a web page for family notes, schedules, reminders, etc.
All three of us at home have Android phones.
I've setup each pc to use Simple DNS server to redirect 'm.com' to my IIS5.1 server. (again via Preferred DNS server in Tcp/IP settings on each PC)
My pcs take Advantage of the previously setup TCP/IP setting | DNS | 'com' to change 'm' to 'm.com.
m.com is where I have mobile formatted web pages for the same type of info.
I've set each mobile to use the Simple DNS Server using Wi-Fi Settings | advanced | DNS 1.
both pc.com and m.com work on all our mobiles.
is there a place on our Android phones where I can set the DNS suffixes to change 'pc' and 'm' to 'pc.com' and 'm.com' for my inTRAnet only?
Like I did on our PCs?
A hyperlink to a step-by-step process would be preferred as I have no experience in command level settings etc. on androids.
Or perhaps an Android app?
Thanks for your time reading this post.
And thanks in advance for any positive constructive and verbose assistance.
All my best,
Barry G. Sumpter
I'm not sure i understand your problem?
You could edit
"/system/etc/hosts"
to change what the addresses get resolved too.
Could set m and pc to be resolved to your servers intranet ip.
Thanks for the reply.
I've already changed the Hosts file on the android using the Android app:
Hosts Edit
But neither m nor pc are getting resolved to 192.168.1.6
Unless I'm not getting the entries correct:
Ip Address: 192.168.1.6
Host Entries: m
Ip Address: 192.168.1.6
Host Entries: pc
All android browser are just searching google for m or pc.
Any other suggestions from anyone?
Also, that list is absolutely huge!
about 10,000 entries. Exagerated.
I was trying to find my entries but gave up since there is no search on that app.

[Q] Change DNS

Is it possible to change DNS so i can watch Netflix on my Omnia 7?
google didn't give any good results.
Whaaaat? Does your DNS provider block access to netflix.com or something?
It's possible to set custom configuration for WiFi networks (press-and-hold on the network name) and either change the DNS, or route your data through a proxy that has a not-stupid DNS.
Alternatively, the phone has an equivalent to a HOSTS file in the registry, at HKLM\COMM\Tcpip\Hosts\. This could be used to manually map the Netflix domain name to their IP address. That would probably work even on cellular data.
I live in Europe so Netflix isn't available to us yet. I'm using unblock-us' dns to get access.
Um... DNS literally does nothing except map a domain name (like "netflix.com") to an IP address. I'm quite sure you can resolve the Netflix domain name overseas. What you need is a proxy server. Proxies let you connect through them to the rest of the Internet, and to everybody else it looks like you are located wherever the proxy is. That (or VPN, which the phone currently doesn't support), and not DNS, is how you get around the "geo-IP" geographical restrictions on a service.

[APP][ROOT]DNS Forwarder - Change DNS server on Kitkat

Hi all,
Just developed a simple tool to change DNS server for Kitkat, but it also works for other Android version (2.2+). Here is the details:
On Kitkat (Android 4.4), changing dns server settings is not allowed by system. DNS Forwarder can work as a workaround. It does not modify system setting, just bypasses local dns server settings by forwarding dns queries to other configured server.
It works on rooted phones running Android 2.2 and above.
How to use:
1) choose a DNS server from list including Google and OpenDNS DNS servers. Also you can set up customized dns server. By default Google dns server 8.8.8.8 is configured.
2) Check "Enable Forwarder" box
DNS forwarder will start a service to serve DNS queries (UDP). To stop it, just uncheck "Enable forwarder".

Categories

Resources