Data location: Custom Domain Whitelist



  • On the main DNSBL tab where is the data location for the "Custom Domain Whitelist"?  I thought it would be in a file in /var/db/pfblockerng but I can't seem to find it.

    Folders and files there are:
    ET
    GeoIP_Locale
    deny
    dnsbl
    dnsbl_info
    dnsblalias
    dnsblorig
    mastercat
    masterfile
    match
    native
    original
    permit

    …and a bunch of files in each folder respectively.  I see a bunch that I put in for example in the dnsbl tab:

    /var/db/pfblockerng/dnsbl: ls
    dnsbl_cameleon.txt      dnsbl_mvphosts.txt      ez_woe.txt
    dnsbl_dshieldhigh.txt  ez_privacy.ip          mal.txt
    dnsbl_dshieldmedium.txt ez_privacy.txt
    dnsbl_hostfilenet.txt  ez_woe.ip

    ...but for some reason I can't seem to find the "Custom Domain Whitelist" on the main DNSBL tab.

    I wanted to copy it to a few other machines.  Even when I look at a backup in the xml file...it's just a long string of jiberish where I think that data would be :)

    Thoughts?  Where is this data stored?

    Thanks!



  • It is stored and encoded in Base64 https://www.base64decode.org/ in the config file



  • Thanks!

    I realized that too after mucking around and READING lol.  Thanks for the link…I'll figure out how to decode it with a script too if I need it.  It's a minor issue.