ispmanager 6: Functions

/
/
Adding domains to DNSBL from a file

Adding domains to DNSBL from a file

To add domains to DNSBL using a list from a file, use the script.

Download the script add_dnsbl.sh in any directory:

wget https:// -O add_dnsbl.sh

Make the file executable:

chmod +x add_dnsbl.sh

By default, the script takes domains from the dnsbl_list.txt file, which should be located in the same directory as the script: each individual domain should be written on a separate line.

To add domains from a specific text file, run the script with only the -f or --file option, for example:

./add_dnsbl.sh -f /home/user/dnsbl-domains.txt

To run the script in domain list check mode without adding, use the -c or --check option, for example:

./add_dnsbl.sh -c

Additional script options can be found by specifying the -h or --help option:

./add_dnsbl.sh -h