Coder Social home page Coder Social logo

Comments (3)

britannic avatar britannic commented on May 20, 2024

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

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.

britannic avatar britannic commented on May 20, 2024

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.

mygeek911 avatar mygeek911 commented on May 20, 2024

Thank you!

from blacklist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.