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

    DNS Resolver

    Scheduled Pinned Locked Moved DHCP and DNS
    4 Posts 2 Posters 479 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.
    • antgallaA
      antgalla
      last edited by

      Hello, is it advisable that the Domain override function can use to blocked sites?

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @antgalla
        last edited by johnpoz

        @antgalla sure but not really optimal way to do it - because its going to cause queries to whatever you put in there as the override.. And it will just comeback fail..

        If you don't want say anything.blahblah.tld to resolve it would be better to either block that in pfblocker or just create a block like this.

        block.jpg

        This would return that record doesn't exist, ie NX

        You could also do a redirect that hands it a bad IP say 0.0.0.0 or 127.0.0.1 but no a domain override wouldn't be how I would do it.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.8, 24.11

        1 Reply Last reply Reply Quote 0
        • S SteveITS referenced this topic on
        • antgallaA
          antgalla
          last edited by

          Is this under DNSBL function or IP?

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator @antgalla
            last edited by johnpoz

            @antgalla I do believe pfblocker can be set to return NX, but you can also just do it in unbound under custom options like posted.

            I am not up to speed on all the features of pfblocker, I just use it for its fancy lists that I use in my own rules.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

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