Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Resolver stops working when trying to block ads

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 3 Posters 646 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      lonelydragon757
      last edited by

      I am attempting to block domain names of advertisers.  all of the yoyo list.

      I am trying to test it in the advanced section of unbound.  and once I add one of these sites and click apply settings
      the resolver is going red.  and won't start.  not sure where the log files are located.

      I am attempting to follow the instructions I have found.

      local-zone: "ads.com" redirect
      local-data: "ads.com A 127.0.0.1"

      or

      local-zone: "ads.com" redirect
      local-data: "ads.com A 127.0.0.1/1x1.gif"

      and I even added the
      Server:
      before my list too.  and never seems to function properly.

      any ideas.

      1 Reply Last reply Reply Quote 0
      • L Offline
        lonelydragon757
        last edited by

        Weird…  once I ask for assistance.  i messing with it again.. and verified.  and the darn thing seems to be working.

        not sure what the deal is. but nevermind (for now)

        1 Reply Last reply Reply Quote 0
        • D Offline
          doktornotor Banned
          last edited by

          You cannot redirect to URL… WTF is 1x1.gif  :o This is a DNS server, not a proxy.

          1 Reply Last reply Reply Quote 0
          • Q Offline
            q54e3w
            last edited by

            Look at pfblockerng, it handles all this for you with a few simple clicks

            Arghh, sorry.  this feature isn't in the mainline yet…..soon hopefully

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.