security

Puppy Linux: change DNS

This simply is a my personal memorandum because when I needed to change the DNS on Puppy Linux I always waste some time for remembering how to do also if this is a really simple procedure. To change the DNS on any Puppy Linux distro we have simply to create the file /etc/resolv.conf.head as following: # Cloudflare DNS servers nameserver 1.1.1.1 nameserver 1.0.0.1

Android: change DNS for data and WiFi

If we want change the DNS on our smartphone Android we can use a simple script as the following: #!/system/bin/sh # # Script to change DNS on Android # by Mentor - www.internauta37.altervista.org # [email protected] # nameserver_1='1.1.1.1' nameserver_2='1.0.0.1' iptables -t nat -I OUTPUT -p tcp --dport 53 -j DNAT --to-destination $nameserver_1:53 iptables -t nat -I OUTPUT -p udp --...

Pages

Subscribe to RSS - security