This utility developed from methods described by @ozsouth and @Trapster in this post:
viewtopic.php?t=13082
A DNS server plays a critical role in connecting your computer to websites. It changes a URL name you type or select in your browser, i.e., amazon.com, into an IP address the internet understands.
For most users the DNS servers are assigned by the local router (automatic DHCP function). However, changing DNS servers may improve connect speed or security. In Puppy there are several ways to change servers including:
-logging into your router's interface and entering there, then all DHCP clients will use the new DNS
-assign the computer a static IP address and specify the DNS servers there (Network Wizard)
-manually create a /etc/resolv.conf.head file and specify the DNS servers there
Dns-changer.sh uses the third method and provides a GUI to make it quicker and easier
Dns-changer requires YAD which is included in most Pups or can be installed from the repositories on older versions.
UPDATE 241124
DNS-changer2a.pet is a minor revision of DNS-changer2. It does not add any functions, but the code is cleaner and it no longer calls the external script dns-restart2.sh. This makes the dns-changer2.sh main script more "portable" since it is stand alone.
See this post for download:
viewtopic.php?p=136442#p136442
UPDATE 241122
DNS-changer2.pet is a revision of dns-changer.sh that improves the following:
-adds a Menu>Network>DNS Changer item
-displays current DNS servers list
-works with SNS or Connman connection managers
-locks the DNS choices (resolv.conf) so the system cannnot randomly change them
NOTE: locking is only being honored by Conman connection manager, so if your connection is dropped and restarted (overwrites your choices) you can do a "Reset Previous"
Be sure to read this post: viewtopic.php?p=136277#p136277
Note: if you are using dns-restart.sh in /root/Startup, it should be removed.
Has only been tested on Puppys.
""""""""""""""""""""""""""""""""""""""""""
Below only applies to original dns-changer
Download dns-changer.sh.gz, remove the .gz (rename)
-right click in Rox
-Permissions
-set as: a+x (Make executable/searchable)
-Yes
then click in Rox.
NOTE: After using dns-changer, you can check what server is being used at https://dnsleaktest.com/ , click "Standard test".
wizard