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

    [Unbound DNS] Could I share the DNS service to Internet?

    Scheduled Pinned Locked Moved pfSense Packages
    6 Posts 3 Posters 2.4k 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.
    • Z
      zlyzwy
      last edited by

      Hi,
      I am using Pfsense 2.0 RC3 version with Unbound DNS installed. Thanks for your great work:)
      The Unbound is working very well for LAN but I would like to share it to Internet. So other people can use my WAN IP as DNS resolver..

      I tried the following settings but it seems doesn't work…

      Network interface:
      LAN&&WAN

      NAT:
      WAN TCP/UDP * * WAN address 53 (DNS) 192.168.1.1 53 (DNS) DNS Service

      Thanks for any reply in advance!

      Zlyzwy

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

        And what did you set for an access list?

        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
        • Z
          zlyzwy
          last edited by

          @johnpoz:

          And what did you set for an access list?

          ACL Table:

          LAN allow 192.168.1.0/24

          WAN allow 0.0.0.0/32

          Thanks:)

          1 Reply Last reply Reply Quote 0
          • W
            wagonza
            last edited by

            To allow access from the internet, create an ACL with 2 networks:

            0.0.0.0/1
            128.0.0.0/1

            Remember to allow DNS queries to your WAN port on your firewall if you have removed that fw rule you setup previously.

            Follow me on twitter http://twitter.com/wagonza
            http://www.thepackethub.co.za

            1 Reply Last reply Reply Quote 0
            • W
              wagonza
              last edited by

              I added /0 to the CIDR list - so you can specify 0.0.0.0/0 as a network. Just reinstall unbound.

              Follow me on twitter http://twitter.com/wagonza
              http://www.thepackethub.co.za

              1 Reply Last reply Reply Quote 0
              • Z
                zlyzwy
                last edited by

                @wagonza:

                To allow access from the internet, create an ACL with 2 networks:

                0.0.0.0/1
                128.0.0.0/1

                Remember to allow DNS queries to your WAN port on your firewall if you have removed that fw rule you setup previously.

                Thanks. it's now working:)

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