Android inTRAnet only - DNS suffix to 'com' with NO servers - General Questions and Answers

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.

Related

[help]making 99.7% androids secure..

Well i guess ppl are aware of google's blunder(blogs say so) ..apparently all authentication tokens are unencrypted ..
I want to setup a SSH tunnel ..and have a account on freeshell.org ..
Using SSH tunnel on froyo and giving the correct username and password..The application says "connected" but my browsing is dead and nothing works well apart from ping (UDP queries) ....
The netstat shows no active connection to the freeshell.org i looked up all possible address using whois queries andnone of the addresses corresponded to "freeshell.org"
How do i get a free VPN account ??? if it is even possible
HOW do i get a free ssh server for tunneling ???please list free servers
It there a SSH arm port ??? or m i stuck with ssh tunnel
OR
will TOR's android port ORBOT do the same and address the security issue ???

[Q] Putty on Windows RT and SSH port forwarding

I am wondering if the version of putty published by Netham45:
http://forum.xda-developers.com/showthread.php?t=2092348&highlight=putty
Has the port forwarding capability enabled
I tried doing the following:
Jailbreaked my tablet
Ran Putty
configured port forwarding: added port 3128 to forward to webproxy.myemployer.org (it's just an example), following the instructions here
Used putty confugured as indicated to connect to the remote server
Configured proxy options in Internet Explorer to localhost and port 3128
Followed the instructions here (do not use the square brackets in the key names, or the batch will fail) to create a batch file that copies the proxy settings from internet explorer and activates it system-wide
Ran the batch as admin
Verified through regedit that the settings have been copied and ProxyEnable was = 1
Tried to connect to my intranet using the desktop and metro versions of Internet Explorer 10
However, the connection was unsuccessful
I use ConnectBot in Android to do the port forwarding and it works without any issue
So, I was thinking that:
Maybe Putty RT was compiled without port forwarding support (which would make it almost useless given that the SSH in the store can do most of what Putty can)
I have made a mistake along the way
Since I am a new user I cannot ask in the Putty thread. Of course, this is not a general putty question. It is very specific to Windows RT and the only place to ask is at xda-developers.com
Thanks
someniceguy said:
I am wondering if the version of putty published by Netham45:
http://forum.xda-developers.com/showthread.php?t=2092348&highlight=putty
Has the port forwarding capability enabled
Click to expand...
Click to collapse
The port forwarding seems to work for me. I tested it by setting up a tunnel to another SSH server, and then opening another instance of PuTTY connecting to the first tunnel, which came out on the host I expected it to. I did explicitly configure it by IP address since I've never bothered testing whether the hostname for the endpoint of a local tunnel is resolved by the local system or the remote system (which might have different results based on the nameservers on either end).
Putty Tunneling Works, Windows Proxy settings don't
I tested that the tunneling is working :
First, I configured Putty with port forwarding as described above (port 3128)
Then I opened an SSH connection with Putty to the remote service
Configured the Desktop version of IE 10 to use as proxy localhost, and as port 3128
Accessed the Intranet with Desktop IE 10
The issue is really that I do not know how to force the Metro Apps to use the proxy. I tried following the suggestions
at the URL below, but it didn't work.
ht tp://fo rums.wpcentral.com/surface-windows-rt/203989-proxy-use-surface-rt.html
To test, open cmd.exe as Administrator, then type the following:
Code:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d "1" /f
Then
Code:
netsh winhttp import proxy source=ie
Then tried to access the Intranet with the Metro IE 10, but I could not.
I even tried configuring the proxy directly, without IE:
Code:
netsh winhttp set proxy localhost:3128
But it does not work either (not even for IE 10 Desktop, with proxy turned off in Internet Options)
I also followed Method 2 in the page below, and use as Domain Proxy: localhost:3128. Still cannot access the Intranet in IE10 (both Metro and Desktop)
ht tp://ww w.c-sharpcorner.com/UploadFile/7e39ca/how-to-configure-proxy-for-metro-apps-in-windows-8
Any clue on how to force Metro Apps to use putty as proxy?
It might be a problem with the Metro environment not allowing connections back to localhost for whatever reason... that's the only thing I can think of.
I just tried again, with putty configured to run a SOCKS proxy on localhost:1234.
Added the proxy to the IE settings
netsh winhttp...: got the message that a global SOCKS proxy had been configured:
Current WinHTTP proxy settings:
Proxy Server(s) : socks=localhost:1234
Bypass List : none
Loaded stuff in desktop IE10 - worked without issues.
Went to Metro - opened a few things. Mail didn't seem out of the ordinary, but then again, I don't get mail all that frequently. Weather looked about right. IE in Metro refused to open Google or Facebook.
Closed IE completely. Tried again: no dice. Neither site opened, even though I just had Google open in Desktop IE10.
HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyServer is DWORD:1, as set by the IE "Internet Settings" panel...
It looks like it's ignoring connections to the local PuTTY instance - setting the proxy settings, going to Metro IE, and reloading is getting me SYN_SENT as the state in "netstat /n"... looks like the Windows Firewall configuration.
Sounds like the next place to look is the Windows Firewall configuration, which on RT looks to only be available through WF.msc.
Chris
someniceguy said:
I tested that the tunneling is working :
First, I configured Putty with port forwarding as described above (port 3128)
Then I opened an SSH connection with Putty to the remote service
Configured the Desktop version of IE 10 to use as proxy localhost, and as port 3128
Accessed the Intranet with Desktop IE 10
The issue is really that I do not know how to force the Metro Apps to use the proxy. I tried following the suggestions
at the URL below, but it didn't work.
ht tp://fo rums.wpcentral.com/surface-windows-rt/203989-proxy-use-surface-rt.html
To test, open cmd.exe as Administrator, then type the following:
Code:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d "1" /f
Then
Code:
netsh winhttp import proxy source=ie
Then tried to access the Intranet with the Metro IE 10, but I could not.
I even tried configuring the proxy directly, without IE:
Code:
netsh winhttp set proxy localhost:3128
But it does not work either (not even for IE 10 Desktop, with proxy turned off in Internet Options)
I also followed Method 2 in the page below, and use as Domain Proxy: localhost:3128. Still cannot access the Intranet in IE10 (both Metro and Desktop)
ht tp://ww w.c-sharpcorner.com/UploadFile/7e39ca/how-to-configure-proxy-for-metro-apps-in-windows-8
Any clue on how to force Metro Apps to use putty as proxy?
Click to expand...
Click to collapse
I was able to make Metro Internet Explorer (IE) 10 to work as follows:
Jailbroke my tablet
Ran Putty
Configured port forwarding: added port 3128 to forward to webproxy.myemployer.org (it's just an example), following the instructions here
Used putty configured as indicated in the previous step to connect to the remote server
Configured proxy options in Desktop IE 10:
Address: localhost
Port: 3128
Checked "Use a proxy server for your LAN ..."
Added Metro IE10 an an app exempted of IP loopback restrictions and allowed access to loopback addresses (so that it can connect to localhost):
Code:
CheckNetIsolation.exe loopbackexempt -a -p=S-1-15-2-1430448594-2639229838-973813799-439329657-1197984847-4069167804-1277922394
Before exempting Metro IE 10, I also changed the Network Isolation options as follows:
Run “gpedit.msc”
Under Computer Configuration browse the Administrative Templates -> Network -> Network Isolation.
Enable the Proxy definitions are authoritative and Internet proxy servers for apps. I put as proxyort "localhost:3128" (without the quotes)
However, I doubt that made any difference. Unless IE10 Desktop is configured to use the proxy (putty in this case) and Metro IE10 is exempted from loopback restrictions, the latter will not connect to our intranet.

[APP] [4.1+] [FREE] DNSDig - explore any DNS server

Sysadmin tools don't have to be ugly any more.
> Query any DNS server
> Maintain your favorite DNS list easy
> Autocompete DNS query
DNSDig is a utility similar to UNIX dig or windows nslookup. You can query any DNS server from your server list to any DNS record. Choose DNS server from DNS server tab, enter host name or IP address and query server for records. Add servers you wish to list and DNSDig will save it across the sessions.
DNSDig saves last queries so you can use autocomplete feature while entering host name.
DNSDig also supports reverse DNS queries.
Installation link:
https://play.google.com/store/apps/details?id=com.a2raco.dnsdig
Screenshots:
Looks great! Personally I'm still learning but this looks like a well done app.

[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".

Mobile data change DNS permanently

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.

Categories

Resources