This script will check if external IP is changed or not and will update the external IP of A or AAAA record in Cloudflare DNS using API token/ global API key method.
This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.
- Put the
cfupdater
file to/usr/local/bin
chmod +x /usr/local/bin/cfupdater
- Create a systemd service unit at
/etc/systemd/system/
, thecfupdate.service
is shown as an example. - Create a systemd timer unit at the same location of the service unit, the
cfupdate.timer
is shown as an example.
NB: I am not using this setup anymore, and will not update the config and code if it breaks. I recommend Pi-hole instead, which gives many features such as web UI, statistics, DNS-over-HTTPS, and definitely better written code ;)
This will show you how to use your EdgeRouter as a local DNS server and blocking DNS queries to domains that hosts ads and malware.
The blocklist used is:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @name Adblock for Discord | |
* @author TheSunCat and contributors | |
* @version 1.0.0 | |
* @description We have moved to Codeberg! Follow the link below: | |
* @source https://codeberg.org/AllPurposeMat/Disblock-Origin | |
*/ | |
#app-mount::before { | |
content: "The Disblock Origin theme has moved to Codeberg! Please check https://codeberg.org/AllPurposeMat/Disblock-Origin"; |