Change DNS Servers? - LineageOS Questions & Answers

What setting allows me to set what DNS IPs I wish to use? I've seen the options in older Android versions but cant seem to locate in Lineage.

z0m8i3 said:
What setting allows me to set what DNS IPs I wish to use? I've seen the options in older Android versions but cant seem to locate in Lineage.
Click to expand...
Click to collapse
Have you taken a look at the following thread?
https://forum.xda-developers.com/ge...ide-how-to-change-dns-android-device-t3273769
"Live Long and Prosper..."
~Ambassador S'chn T'gai Spock
Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise

Ibuprophen said:
Have you taken a look at the following thread?
https://forum.xda-developers.com/ge...ide-how-to-change-dns-android-device-t3273769
Click to expand...
Click to collapse
I have!
Is it really necessary to require mods/root access to change simple network configuration?
I forget what version of Android the device I seen it on, but this person had no root/advanced-user style apps installed and I was able to change the DNS information for them through their Wifi settings.

z0m8i3 said:
I have!
Is it really necessary to require mods/root access to change simple network configuration? I forget what version of Android the device I seen it on, but this person had no root/advanced-user style apps installed and I was able to change the DNS information for them through their Wifi settings.
Click to expand...
Click to collapse
@z0m8i3, After looking at the following thread, i believe that it may have what you're looking for.
[SOLVED] Net TCP tweaks bug, problems with data connection by Paget96
"Live Long and Prosper..."
~Ambassador S'chn T'gai Spock
Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise

Not quite, its not a bug but a feature I simply cannot find

z0m8i3 said:
Not quite, its not a bug but a feature I simply cannot find
Click to expand...
Click to collapse
All i can advise is for you to try and locate some type of Third Party App or, if there's one out there, an XPosed Module.
I, personally, don't know of any but, I'm sure there's something out there that can access what you need within your device.
I wish you the best of luck!
"Live Long and Prosper..."
~Ambassador S'chn T'gai Spock
Sent via Communicator [D2VZW] from the Bridge of the U.S.S. Enterprise

Has this option been taken out of Android/lineage? (In old versions of android) an app was not required to change DNS

z0m8i3 said:
Has this option been taken out of Android/lineage? (In old versions of android) an app was not required to change DNS
Click to expand...
Click to collapse
May I ask if you have found a solution? I'm stuck with the same problem

TerrorApple said:
May I ask if you have found a solution? I'm stuck with the same problem
Click to expand...
Click to collapse
Yes, I've been using DNS66, which allows me to specify my own DNS without tinkering with the system.
Bonus is this also has a hosts file capability, which removes ads from apps.
https://f-droid.org/en/packages/org.jak_linux.dns66/

Related

[Q] Anyone with a Galaxy Nexus could you answer a question or two for me about ICS.

Basically I need to know if the proxy settings in ICS support the use of "proxy scripts" or something of similar description.
I intend to get the Transformer Prime for use at university but really it's only useful to me if I can get the entire OS working online and not just the few apps that support proxy scripts (only found Opera to allow it so far) so I just want to know if that option is in the base OS this time around.
Thanks.
G8D said:
Basically I need to know if the proxy settings in ICS support the use of "proxy scripts" or something of similar description.
I intend to get the Transformer Prime for use at university but really it's only useful to me if I can get the entire OS working online and not just the few apps that support proxy scripts (only found Opera to allow it so far) so I just want to know if that option is in the base OS this time around.
Thanks.
Click to expand...
Click to collapse
There is something called 'Install web scripts' under Accessibility, but I am not sure what it does. It asks 'Do you want apps to install scripts from Google that make their web content more accessible?'.
But I don't know what it does or why it is there.
kristovaher said:
There is something called 'Install web scripts' under Accessibility, but I am not sure what it does. It asks 'Do you want apps to install scripts from Google that make their web content more accessible?'.
But I don't know what it does or why it is there.
Click to expand...
Click to collapse
Nah definitely won't be that. That's for people with sensual disabilities.
G8D said:
sensual disabilities
Click to expand...
Click to collapse
Hehe..................
Anyone able to help?
G8D said:
Anyone able to help?
Click to expand...
Click to collapse
Doesn't the config script mean it's an HTTP socket proxy? If so it can only work at the HTTP layer, which means you are pretty much limited to using browsers. An Android-wide setting would have to work at the TCP(UDP)/IP layer, which isn't concerned with this proxy.
Chirality said:
Doesn't the config script mean it's an HTTP socket proxy? If so it can only work at the HTTP layer, which means you are pretty much limited to using browsers. An Android-wide setting would have to work at the TCP(UDP)/IP layer, which isn't concerned with this proxy.
Click to expand...
Click to collapse
I've just tried something. I don't need the script.
I can deselect the script and just enter a "Proxy Server" (makes more sense if you were looking at LAN settings in Windows) which just appears to be an IP/port.

[REQUEST] HTTPS for xda-developers.com

Hi,
why does xdadevelopers not provide a TLS secured connection to the forums?
... ... ...
I enter login credentials and I will never enter them in a public network over an unsecure connection.
modpunk said:
I enter login credentials and I will never enter them in a public network over an unsecure connection.
Click to expand...
Click to collapse
You just did
You're right to be concerned, sites that have a login should use https really, but it costs more.
wbaw said:
You just did
You're right to be concerned, sites that have a login should use https really, but it costs more.
Click to expand...
Click to collapse
What does it cost more? SSL certificates aren't really expensive. I bought one to secure all my services running on my root server.
BTW just securing the login doesn't prevent from session hijacking which every script kiddy out there can do using firesheep. I would like to see full encryption, not only for the login.
http://techcrunch.com/2010/10/24/fi...u-hack-into-twitter-facebook-accounts-easily/
modpunk said:
BTW just securing the login doesn't prevent from session hijacking which every script kiddy out there can do using firesheep. I would like to see full encryption, not only for the login.
http://techcrunch.com/2010/10/24/fi...u-hack-into-twitter-facebook-accounts-easily/
Click to expand...
Click to collapse
And that's why we want to get SSL/TLS for every content on XDA. You can support us here: We want Https on XDA!
Please rate the thread and vote (click on "Newsworthy Thread?") so it gets more attention to the newswriters and maybe will be a news on the portal. Thanks!

VPN application for Galaxy S3

Hii Guys,,
am based in uae and the viper is blocked, am looking for a free vpn application that best suit the S3, any suggestion please? i need it badly.....
There is a VPN client built into the phone check if it works for you
Sent from my GT-I9300 using xda app-developers app
Yes, but adding a VPN client forces additional security even when the VPN is not activated. I hate to key in a passcode every time I want to wake up my phone.. is there a play store alternative?
vinumsv said:
There is a VPN client built into the phone check if it works for you
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
thanks for the reply, but i need the vpn setting, as the name, type and server address, from where i can get them?
BR,,
monestarazi said:
thanks for the reply, but i need the vpn setting, as the name, type and server address, from where i can get them?
BR,,
Click to expand...
Click to collapse
There are differencies between VPN app and VPN server.
What you're asking there is a VPN server, not a VPN app.
There are plenty of free VPN on the web, but they're, most of the tine, unsecured and bandwidth limited. Not a good idea in fact.
But, I don't have understand yet why would you want to use VPN. If a website is locked in your country, the most efficiency solution will be using a proxy. But if some udp/tcp are not available or restricted, there, the VPN could be usefull.
- VPN = creating a secure connexion between a point A and B using a dedicated udp/tcp port.
- Proxy = sending a tcp/udp request to a remote server, the server will do it for you and send the result back to you.
Please, be more accurate in what you're searching for
Hi,
I need something as the hot spotshield app, it can give u the privillage to use viper. I had before iphone, and it was working through it.
Regards..
Sent from my GT-I9300 using xda app-developers app
If u looking for paid then use purevpn or express vpn. I've used both and I'll recommend u go for purevpn its fast and they have an app as well.
Sent from my GT-I9300 using xda premium
Droidvpn is the best till now
100mb free per day
the only catch that u have 2 root ur phone
am using it in muscat oman
it works with me like a charm : )
excuse may english
Anyone having succes using OpenVPN from S3 to a Synology box?
If so... A tutorial would be nice..
Sent from my GT-I9300 using xda premium
monestarazi said:
Hi,
I need something as the hot spotshield app, it can give u the privillage to use viper. I had before iphone, and it was working through it.
Click to expand...
Click to collapse
*
HS shield is itself a VPN, add a VPN inside another is a bas idea, at least if I understand what you said.
The devs have made a android version (here) but only for 2.0+ and is not available for ICS.
A way do it without an app could be to retrieve VPN settings from inside HS shield if you're using it on your computer.
drkaosdk said:
Anyone having succes using OpenVPN from S3 to a Synology box?
Click to expand...
Click to collapse
Before trying to make OpenVPN work properly, do you have a fixed ip adress or a dynamic one ?
If you don't know, check your public adress before and after turning off/on your modem.
If you have a fixed one, just use your ip as VPN adress, set the port to 443 (for SSL encryption) and use the login you set in OpenVPN settings.
If you have a dynamic ip, you must use a dynamic DNS, such as DynDNS. This way you'll have an url adress (ex. hellow95.dyndns-server.com) that will always point to your ip.
There are many detailed tutorials on the web for this.
I'm a DynDNS client for about two years and I never been disapointed (I'm using it to link my dynamic ip that I can access my NAS everywhere), so you can go ahead without regrets.
Hellow95 said:
*
HS shield is itself a VPN, add a VPN inside another is a bas idea, at least if I understand what you said.
The devs have made a android version (here) but only for 2.0+ and is not available for ICS.
A way do it without an app could be to retrieve VPN settings from inside HS shield if you're using it on your computer.
Before trying to make OpenVPN work properly, do you have a fixed ip adress or a dynamic one ?
If you don't know, check your public adress before and after turning off/on your modem.
If you have a fixed one, just use your ip as VPN adress, set the port to 443 (for SSL encryption) and use the login you set in OpenVPN settings.
If you have a dynamic ip, you must use a dynamic DNS, such as DynDNS. This way you'll have an url adress (ex. hellow95.dyndns-server.com) that will always point to your ip.
There are many detailed tutorials on the web for this.
I'm a DynDNS client for about two years and I never been disapointed (I'm using it to link my dynamic ip that I can access my NAS everywhere), so you can go ahead without regrets.
Click to expand...
Click to collapse
Thanks mate.. Fixed ip
.. OpenVPN is a little different to setup than pptp vpn... Did you succeed with OpenVPN thru android to a Synology box? Tutorial for that? Maybe?
Sent from my GT-I9300 using xda premium
PPTP VPN is too unsecure by the way, try to stay away from this crap
Well, I've set mine a long time ago on my Debian (yes, I use a home-made NAS).
First, you have to install OpenVPN if you don't did yet.
If not ->
connect to your server via SSH and :
> ipkg update
> ipkg install openvpn
Click to expand...
Click to collapse
Then we create the init script vi /opt/etc/init.d/S20openvpn
#!/bin/sh
#
# Startup script for openvpn server
#
# Make sure IP forwarding is enabled
echo 1 > /proc/sys/net/ipv4/ip_forward
# Make device if not present (not devfs)
if ( [ ! -c /dev/net/tun ] ) then
# Make /dev/net directory if needed
if ( [ ! -d /dev/net ] ) then
mkdir -m 755 /dev/net
fi
mknod /dev/net/tun c 10 200
fi
# Make sure the tunnel driver is loaded
if ( !(lsmod | grep -q "^tun") ); then
insmod /lib/modules/tun.ko
fi
# If you want a standalone server (not xinetd), then comment out the return statement below
return 0
## This is for standalone servers only!!!!
# Kill old server if still there
if [ -n "`/opt/bin/pidof openvpn`" ]; then
/opt/bin/killall openvpn 2>/dev/null
fi
# Start the openvpn daemon - add as many daemons as you want
#/opt/sbin/openvpn --daemon --cd /opt/etc/openvpn --config openvpn.conf
/opt/sbin/openvpn --cd /opt/etc/openvpn --daemon --log-append /var/log/openvpn.log --config /opt/etc/openvpn/config/server.ovpn
# [EOF]
Click to expand...
Click to collapse
Now let's check if the module is loaded
> insmod /lib/modules/tun.ko
>dmesg | grep tun
Click to expand...
Click to collapse
By now OpenVPN should be good to go.
But before, we need to create en encryption key, you can follow the tuts here (it comes from Debian Wiki)
Then once your VPN server is set, just type the infos into Android and enjoy.
I use OpenVPN to manage throught SSH my NAS and access my Transmission server
P.S: the tuts is not from me, I pick it up from a french community nammed MyHost. But if you got some problems with it, don't hesitate to pm me.
Tutorial for OpenVPN using Galaxy Siii to a Synology Box...
Hellow95 said:
*
HS shield is itself a VPN, add a VPN inside another is a bas idea, at least if I understand what you said.
The devs have made a android version (here) but only for 2.0+ and is not available for ICS.
A way do it without an app could be to retrieve VPN settings from inside HS shield if you're using it on your computer.
Before trying to make OpenVPN work properly, do you have a fixed ip adress or a dynamic one ?
If you don't know, check your public adress before and after turning off/on your modem.
If you have a fixed one, just use your ip as VPN adress, set the port to 443 (for SSL encryption) and use the login you set in OpenVPN settings.
If you have a dynamic ip, you must use a dynamic DNS, such as DynDNS. This way you'll have an url adress (ex. hellow95.dyndns-server.com) that will always point to your ip.
There are many detailed tutorials on the web for this.
I'm a DynDNS client for about two years and I never been disapointed (I'm using it to link my dynamic ip that I can access my NAS everywhere), so you can go ahead without regrets.
Click to expand...
Click to collapse
Hi ..
Thanks for replying to this..
I have a fixed ip-adress ... I would really like if someone here can guide thru a setup/tutorial to get OpenVPN work using the OpenVPN software from : Arne Schwabe .. in android Market.. I have a Galaxy Siii and i want it to connect to the Synology Box with OpenVPN software enabled...
Anyone that can guide me thru that proces would be great.. ;-)
drkaosdk said:
Hi ..
Thanks for replying to this..
I have a fixed ip-adress ... I would really like if someone here can guide thru a setup/tutorial to get OpenVPN work using the OpenVPN software from : Arne Schwabe .. in android Market.. I have a Galaxy Siii and i want it to connect to the Synology Box with OpenVPN software enabled...
Anyone that can guide me thru that proces would be great.. ;-)
Click to expand...
Click to collapse
Got it working.. Pretty simple after all
Sent from my GT-I9300 using xda premium
hi,
Are you sure that Droidvpn ll work in Oman. Am also from Oman n would like to use viber all the time but its blocked!!. Ru sure boss ??
m4ever007 said:
Droidvpn is the best till now
100mb free per day
the only catch that u have 2 root ur phone
am using it in muscat oman
it works with me like a charm : )
excuse may english
Click to expand...
Click to collapse
What do u mean by rooting the device?
Sent from my GT-I9300 using xda app-developers app
Orbit is the best vpn hands down...it works great and is free!!!!!
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
mickey878 said:
Orbit is the best vpn hands down...it works great and is free!!!!!
Sent from my ASUS Transformer Pad TF300T using xda app-developers app
Click to expand...
Click to collapse
Is this a vpn client?
Sent from my GT-I9300 using Tapatalk 2
Vpnc widget is usually very good if you're rooted.
Sent from my GT-I9300 using Tapatalk 2
am 100% sure
am using it right now
its the best one for daily use
auto reconecet when network change is the best option u can find
its not a pptp vpn
its more and more than that
the only issue is that u have to root ur phone
thats v easy
just go orgnl dvlp thread and find CF root 6.4 and just follow the instruction
i hope this is wt u are looking for
by the way viber is not blocked in oman any more
its officale unblocked by nawras and omantell
have fun man
Sent from my GT-I9300 using xda app-developers app

Ability to change DHCP server setting for hotspot on LineageOS?

On the default Android OS, the hotspot feature uses hard-coded dhcp settings. The gateway is always set to 192.168.43.1 and IPs are given out in 192.168.43.255
Does LineageOS have options to modify hotspot dhcp settings?
davejames500 said:
On the default Android OS, the hotspot feature uses hard-coded dhcp settings....
Click to expand...
Click to collapse
I personally don't believe that this is a Firmware specific topic but, seems more likely to be a device specific item.
I think that you should be able to obtain some member guidance within one of the following threads that's specific to this topic.
https://forum.xda-developers.com/showthread.php?t=3023534
https://forum.xda-developers.com/showthread.php?t=2981805
https://forum.xda-developers.com/showthread.php?t=2230848
https://forum.xda-developers.com/showthread.php?t=2289752
I hope that these are helpful and, at least, it would give you a good start... :thumbup:
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Question How to block Ads in OnePlus without root!?

Suggestions other than using blockada app.
adguard, adaway VPN mode or private DNS
I am using next DNS service. It is customizable, so you can turn on or off lists, add things to white list etc.
l_mike said:
I am using next DNS service. It is customizable, so you can turn on or off lists, add things to white list etc.
Click to expand...
Click to collapse
And how to use/enroll that?
Register on nextdns.io, than you can set up which lists you want to enable. In your profile you also get address to use in private DNS option on your phone.
If you use that option all your traffic goes through nextdns, so it blocks out ads and robots on websites, but also on installed apps.
There is one disadvantage - it is free only for limited number of queries - more than enough for me, but some really heavy users may not find it enough. Nevertheless it is so worth to try if it works for you. Even so I have my devices rooted I don't yous Adblock etc, preferring nextdns.
If I helped you, you can use my referral link do register: https://nextdns.io/?from=ydnp2mzn . It doesn't cost you anything
Oh wow, thanks! Will check it out
Why do all forget the most important thing about DNS/VPN? Privacy!
All your traffic is routed over a unknown server. You have no control over your data! If you want use such a service, use your own. If you have a good router at home, you should be able to run a VPN server on it. In combination with Pi Hole, you have your own private and ad free VPN.
Mobile -> VPN -> Home -> PiHole -> Net
l_mike said:
If I helped you, you can use my referral link do register: xxx . It doesn't cost you anything
Click to expand...
Click to collapse
You pay with your privacy/data. NOTHING is "free"
PKkeys said:
Suggestions other than using blockada app.
Click to expand...
Click to collapse
You can use Adaway in VPN mode.
If you're willing to learn, have a look at setting up pihole and pivpn. I route all traffic through my setup.
PKkeys said:
Suggestions other than using blockada app.
Click to expand...
Click to collapse
when did oneplus get ads, you mean google's personalised ads. You can disable that
RheinPirat said:
You pay with your privacy/data. NOTHING is "free"
Click to expand...
Click to collapse
Actually nextdns collects nothing important I should be conserned off.
AndyC76 said:
If you're willing to learn, have a look at setting up pihole and pivpn. I route all traffic through my setup.
Click to expand...
Click to collapse
I second this. I use my pi as a plex server and pihole dns server. I LOVE it. Never found myself freaking the **** out about dns requests until I started looking at traffic statistics
Adaway rooted works a treat...
Set Private DNS to dns.adguard.com

Categories

Resources