Unbound config resets after reboot



  • I do some ad server blocking with manual entries in the unbound config domain overrides section. But each time my router reboots those manual entries all get wiped out. I have to go back and put them back in. Is there a way to prevent the config from being overwritten like this? I am using pfsense 2.0 RC1 and unbound is version 1.4.8_131

    
    # Domain overrides
    local-zone: "doubleclick.net." redirect
    local-data: "doubleclick.net. A 127.0.0.1"
    local-zone: "autoforums.com." transparent
    local-data: "as1.autoforums.com in A 127.0.0.1"
    local-data: "as2.autoforums.com in A 127.0.0.1"
    local-zone: "exelator.com." redirect
    local-data: "exelator.com. A 127.0.0.1"
    local-zone: "yieldmanager.com." redirect
    local-data: "yieldmanager.com. A 127.0.0.1"
    local-zone: "googleadservices.com." redirect
    local-data: "googleadservices.com. A 127.0.0.1"
    local-zone: "intellitxt.com." redirect
    local-data: "intellitxt.com. A 127.0.0.1"
    local-zone: "gumgum.com." redirect
    local-data: "gumgum.com. A 127.0.0.1"
    local-zone: "viglink.com." redirect
    local-data: "viglink.com. A 127.0.0.1"
    local-zone: "outboundlink.me." redirect
    local-data: "outboundlink.me. A 127.0.0.1"
    local-zone: "outboundlink.net." redirect
    local-data: "outboundlink.net. A 127.0.0.1"
    local-zone: "outboundlink.us." redirect
    local-data: "outboundlink.us. A 127.0.0.1"
    local-zone: "googlesyndication.com." redirect
    local-data: "googlesyndication.com. A 127.0.0.1"
    local-zone: "postrelease.com." redirect
    local-data: "postrelease.com. A 127.0.0.1"
    local-zone: "scorecardresearch.com." redirect
    local-data: "scorecardresearch.com. A 127.0.0.1"
    local-zone: "adtech.de." redirect
    local-data: "adtech.de. A 127.0.0.1"
    local-zone: "google-anayltics.com." redirect
    local-data: "google-analytics.com. A 127.0.0.1"
    local-zone: "mediaplex.com." redirect
    local-data: "mediaplex.com. A 127.0.0.1"
    local-zone: "globalmailer.com." redirect
    local-data: "globalmailer.com. A 127.0.0.1"
    local-zone: "quantserve.com." redirect
    local-data: "quantserve.com. A 127.0.0.1"
    local-zone: "sexier.com." redirect
    local-data: "sexier.com. A 127.0.0.1"
    local-zone: "pussycash.com." redirect
    local-data: "pussycash.com. A 127.0.0.1"
    local-zone: "adultfriendfinder.com." redirect
    local-data: "adultfriendfinder.com. A 127.0.0.1"
    local-zone: "adxpansion.com." redirect
    local-data: "adxpansion.com. A 127.0.0.1"
    local-zone: "pop6.com." redirect
    local-data: "pop6.com. A 127.0.0.1"
    
    


  • Configure your domain overrides through the webGUI. Go to Services->DNS Forwarder. Unbound makes use of the same host entries and domain overrides as dnsmasq.


Locked