Comments (3)
For your first question: When I globally include a host/domain or add a new source, is it supposed to appear in the /config/user-data/blacklist.cfg file?
No, this file can be created by yourself to manually configure blacklist and use the -f switch.
i.e.
/config/scripts/update-dnsmasq -v -f /config/user-data/blacklist.cfg
As long as this file is kept in /config/user-data, then it will persist across router upgrades.
If you're using the manual configuration, then you can also set up a cron job to run it:
sudo -i
crontab -e
1 0 * * * /config/scripts/update-dnsmasq -v -f /config/user-data/blacklist.cfg >/dev/null 2>&1
from blacklist.
For you second question: Also, at what point does the blacklist.cfg file get backed up? Is it only when the package is removed?
Does the install backup my blacklist configuration before deleting it?
During package installation or removal, the Edgerouter's blacklist configuration is deleted. A backup is automatically made, see the documentation here
Also, at what point does the blacklist.cfg file get backed up? Is it only when the package is removed? I ask since the instructions mention deleting the file, and I couldn't tell if it was because the blacklisting was disabled or the entire package deleted, or if it backed it up at some other time.
No files are deleted in /config or its subdirectories, except /config/script/ which contains the update-dnsmasq binary file.
After I've added a new host/domain or a new source, the blacklist.cfg file hasn't been backed up.
All committed and saved changes are stored in the Edgerouter's configuration file /config/config.boot.
blacklist.cfg is a file (name is arbitrary) you create yourself. The date stamped *.cfg files in /config/user-data/ are backups made during package installation or removal.
from blacklist.
Thank you!
from blacklist.
Related Issues (20)
- can´t commit HOT 1
- Problem with booting without present internet connection HOT 5
- Debian repo is inaccessible HOT 2
- Cannot allocate memory when using a large number of hosts HOT 2
- `/etc/init.d/dnsmasq restart` failed when trying to whitelist HOT 1
- Blocks Slack attachments HOT 1
- bug + github page mismatch ? HOT 1
- Commit local blacklist file without Internet access? HOT 1
- Remove ads from youtube app on TV HOT 1
- Add support for ERPro-8 / ER-8 HOT 2
- Installation error HOT 2
- troubleshooting HOT 1
- 'The specified configuration node is not valid' when setting global domain HOT 1
- dlb.oisd.nl certificate issue HOT 1
- No config files in /etc/dnsmasq.d after apt install HOT 2
- FAQ Cleanup suggestion HOT 1
- Time for an update build? HOT 3
- Re-order/number release list HOT 1
- Compatibility Typo HOT 1
- githubSteveBlack host file instructions, double quote error on ER4 v2.0.9-hotfix.6. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blacklist.