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

    DNSSEC on pfSense

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    178 Posts 18 Posters 73.0k 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.
    • S
      sullrich
      last edited by

      @jlepthien:

      No. If you enable DNSSEC one should disable this I read…

      In that case I think it's one or another.  Not really sure to be honest with you.  Try enabling the option and test it using the test dnssec page and let us know if it works.

      On the other side of the coin, I am not sure if OpenDNS supports DNSSEC?  I thought they adopted DNSCurve.

      1 Reply Last reply Reply Quote 0
      • J
        jlepthien
        last edited by

        Even with the option enabled, I still can access all forbidden websites. Also the DNSSEC test gives me Borat so that is working as well…

        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

        1 Reply Last reply Reply Quote 0
        • D
          danswartz
          last edited by

          Unbound up and running here.  When I get a chance, I'm going to set up a secondary on another server and have that pull from the pfsense…

          1 Reply Last reply Reply Quote 0
          • D
            danswartz
            last edited by

            @sullrich:

            Yes, this would work fine if you define the servers under services -> dns forwarder.

            Hi, Scott.  I am now trying to figure out how to do the zone transfer juju.  I am a little confused, since I found an info page about Unbound that states specifically that it does NOT support zone transfers.  I have seen this elsewhere too…  Can someone shed light on this?

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

              @jlepthien:

              Even with the option enabled, I still can access all forbidden websites. Also the DNSSEC test gives me Borat so that is working as well…

              Go to the Unbound Status page and check the forwards option. It should display the current OpenDNS servers that you are using. From the cmd line you simply issue unbound-control forward - which will display the same info.

              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

                @danswartz:

                Hi, Scott.  I am now trying to figure out how to do the zone transfer juju.  I am a little confused, since I found an info page about Unbound that states specifically that it does NOT support zone transfers.  I have seen this elsewhere too…  Can someone shed light on this?

                Correct -  it is essentially a caching name server. There are ways to get it to return certain records for zones but it is not a BIND,DJBDNS,NSD or any of the others. Are you looking for an alternative to the DNS Package?

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

                1 Reply Last reply Reply Quote 0
                • J
                  jlepthien
                  last edited by

                  @wagonza:

                  Go to the Unbound Status page and check the forwards option. It should display the current OpenDNS servers that you are using. From the cmd line you simply issue unbound-control forward - which will display the same info.

                  With both ways I see nothing. On console output it says off (using root hints).
                  I also tried mounting rw before but that doesn't change anything.

                  | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                  1 Reply Last reply Reply Quote 0
                  • D
                    danswartz
                    last edited by

                    I would like an authoritative primary server which can do the 'accept registrations for dhcp clients' juju and serve up zone updates to a secondary elsewhere on my LAN.

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

                      @jlepthien:

                      With both ways I see nothing. On console output it says off (using root hints).
                      I also tried mounting rw before but that doesn't change anything.

                      Hmm try this from the cmd line unbound-control forward 208.67.222.222 208.67.220.220

                      Let me know what that returns. unbound-control forward should then list these 2 IP addresses as forwarders as your access control should work.

                      If that all works then I think I know what the problem is.

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

                      1 Reply Last reply Reply Quote 0
                      • J
                        jlepthien
                        last edited by

                        @wagonza:

                        Hmm try this from the cmd line unbound-control forward 208.67.222.222 208.67.220.220

                        Let me know what that returns. unbound-control forward should then list these 2 IP addresses as forwarders as your access control should work.

                        If that all works then I think I know what the problem is.

                        Hey m8. That works! So is it just the GUI that has got problems? Will this stay after a reboot? Or do I need to edit the unbound.conf by hand? But now I DNSSEC does not seem to be working. The http://test.dnssec-or-not.org/ url does not even open…

                        Also http://www.dnssec-tools.org/testzone/ does not open? Does it open for you?

                        | apple fanboy | music lover | network and security specialist | in love with cisco systems |

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

                          @jlepthien:

                          Hey m8. That works! So is it just the GUI that has got problems? Will this stay after a reboot? Or do I need to edit the unbound.conf by hand?

                          Nah it wont stick after a reboot. Basically the GUI just executes what you typed by hand. There is no config option to specify them.
                          Ok i pushed a fix - give it a go and let me know how it goes.

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

                          1 Reply Last reply Reply Quote 0
                          • J
                            jlepthien
                            last edited by

                            @sullrich:

                            In that case I think it's one or another.   Not really sure to be honest with you.   Try enabling the option and test it using the test dnssec page and let us know if it works.

                            On the other side of the coin, I am not sure if OpenDNS supports DNSSEC?  I thought they adopted DNSCurve.

                            As I've written now, it doesn't work. Well and you are right, OpenDNS adopted DNSCurve….

                            @wagonza:

                            Nah it wont stick after a reboot. Basically the GUI just executes what you typed by hand. There is no config option to specify them.
                            Ok i pushed a fix - give it a go and let me know how it goes.

                            Will do when the update shows up…

                            | apple fanboy | music lover | network and security specialist | in love with cisco systems |

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

                              @jlepthien:

                              @sullrich:

                              In that case I think it's one or another.   Not really sure to be honest with you.   Try enabling the option and test it using the test dnssec page and let us know if it works.

                              On the other side of the coin, I am not sure if OpenDNS supports DNSSEC?  I thought they adopted DNSCurve.

                              As I've written now, it doesn't work. Well and you are right, OpenDNS adopted DNSCurve….

                              Which I am sure they will regret one day…

                              @jlepthien:

                              Will do when the update shows up…

                              I upped the version number and hopefully also fixed the file system errors.

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

                              1 Reply Last reply Reply Quote 0
                              • D
                                danswartz
                                last edited by

                                I think my solution is to install and configure tiny-dns, as it looks like it will do everything I want.  Sorry for hijacking this thread - I will drop out now :)

                                EDIT: I think I'm just out of luck.  Found a thread from last year where some other soul was trying to get zone transfers to work with tinydns and the last post indicated failure.  Sigh…

                                1 Reply Last reply Reply Quote 0
                                • D
                                  danswartz
                                  last edited by

                                  What I am doing for now: adding 2-3 entries in /etc/hosts on a couple of the servers that need to be able to talk to other servers, even if pfsense is offline.  I do want to try replacing dnsmasq with unbound and see how it works…

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

                                    @danswartz:

                                    EDIT: I think I'm just out of luck.  Found a thread from last year where some other soul was trying to get zone transfers to work with tinydns and the last post indicated failure.  Sigh…

                                    Give me a few weeks, I have a need to implement NSD(http://www.nlnetlabs.nl/projects/nsd/) instead of using TinyDNS. This should hopefully help you.

                                    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

                                      @jlepthien:

                                      Hey m8. That works! So is it just the GUI that has got problems? Will this stay after a reboot? Or do I need to edit the unbound.conf by hand? But now I DNSSEC does not seem to be working. The http://test.dnssec-or-not.org/ url does not even open…

                                      Also http://www.dnssec-tools.org/testzone/ does not open? Does it open for you?

                                      Yeah I believe Unbound can't validate the answers from OpenDNS because they don't support DNSSec, hence why you get an invalid reply.

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

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        danswartz
                                        last edited by

                                        Thanks for the hard work.  I will stay tuned :)

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          jlepthien
                                          last edited by

                                          @wagonza:

                                          I upped the version number and hopefully also fixed the file system errors.

                                          Does not work here. When enabling the forward mode the servers do not get written and unbound-config forward still says 'off'. Since OpenDNS is not supporting DNSSEC anyway I might as well stick to dnsmasq or disable DNSSEC…

                                          | apple fanboy | music lover | network and security specialist | in love with cisco systems |

                                          1 Reply Last reply Reply Quote 0
                                          • _
                                            _igor_
                                            last edited by

                                            I think you know it, but here for future? reference…

                                            http://www.ripe.net/ripe/meetings/ripe-47/presentations/ripe47-dn-dnssec-nsd.pdf
                                            Sounds interesting...

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