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

    Out of the box install, DNS broken (DNSSEC?)

    Scheduled Pinned Locked Moved DHCP and DNS
    16 Posts 5 Posters 781 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.
    • M
      madcatinc @jimp
      last edited by

      @jimp

      Looks like you are on to something!

      chrome_VgzZcd3MKd.png

      I changed the time servers to 0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org and 3.pool.ntp.org (and rebooted just for good measure) but it still seems to be having problems resolving the hostnames. Is this a chicken and egg situation? Is it trying to use the pfsense resolver to resolve the ntp hostnames, but can't because of the wrong time?

      chrome_9UydGQmDo9.png

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

        Your time is WAY off - says its March 4th ??

        Put in an IP or 3 vs trying to resolve.. Or turn off dnssec until your time is correct

        time-a-g.nist.gov 	129.6.15.28 	NIST, Gaithersburg, Maryland 	All services available
        time-b-g.nist.gov 	129.6.15.29 	NIST, Gaithersburg, Maryland 	All services available
        time-c-g.nist.gov 	129.6.15.30 	NIST, Gaithersburg, Maryland 	All services available
        time-d-g.nist.gov 	129.6.15.27 	NIST, Gaithersburg, Maryland 	All services available
        time-d-g.nist.gov 	2610:20:6f15:15::27 	NIST, Gaithersburg, Maryland 	All services via IPV6
        time-e-g.nist.gov 	129.6.15.26 	NIST, Gaithersburg, Maryland 	All services available
        time-e-g.nist.gov 	2610:20:6f15:15::26 	NIST, Gaithersburg, Maryland 	All services via IPv6
        time-a-wwv.nist.gov 	132.163.97.1 	WWV, Fort Collins, Colorado 	All services available
        time-b-wwv.nist.gov 	132.163.97.2 	WWV, Fort Collins, Colorado 	All services available
        time-c-wwv.nist.gov 	132.163.97.3 	WWV, Fort Collins, Colorado 	All services available
        time-d-wwv.nist.gov 	132.163.97.4 	WWV, Fort Collins, Colorado 	All services available
        time-d-wwv.nist.gov 	2610:20:6f97:97::4 	WWV, Fort Collins, Colorado 	All services via IPv6
        time-e-wwv.nist.gov 	132.163.97.6 	WWV, Fort Collins, Colorado 	All services available
        time-e-wwv.nist.gov 	2610:20:6f97:97::6 	WWV, Fort Collins, Colorado 	new server, services via IPV6
        time-a-b.nist.gov 	132.163.96.1 	NIST, Boulder, Colorado 	All services available
        time-b-b.nist.gov 	132.163.96.2 	NIST, Boulder, Colorado 	All services available
        time-c-b.nist.gov 	132.163.96.3 	NIST, Boulder, Colorado 	All services available
        time-d-b.nist.gov 	132.163.96.4 	NIST, Boulder, Colorado 	All services available
        time-d-b.nist.gov 	2610:20:6f96:96::4 	NIST, Boulder, Colorado 	All services available
        time-e-b.nist.gov 	132.163.96.6 	NIST, Boulder Colorado 	All services available
        time-e-b.nist.gov 	2610:20:6f96:96::6 	NIST, Boulder, Colorado 	All services available
        time.nist.gov 	global address for all servers 	Multiple locations 	All services available
        utcnist.colorado.edu 	128.138.140.44 	University of Colorado, Boulder 	All services available
        utcnist2.colorado.edu 	128.138.141.172 	University of Colorado, Boulder 	All services available 
        

        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

        GertjanG 1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Yep, that would do it.

          Disable DNSSEC, restart NTP, wait a bit and see if the clock is correct, then enable DNSSEC again.

          You could also kill ntpd and run something like ntpdate x.x.x.x where x.x.x.x is the IP address of a known good NTP server. Once it skews the clock back to current you can restart unbound and ntpd.

          Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          M 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @johnpoz
            last edited by Gertjan

            Is is not a time issue, but you proving that resolving (on pfSense !) doesn't work :

            4d37cd88-52a7-4a60-9624-a055ad79b70b-image.png

            So 'NTP' can't do it's work, which is ........ set the clock straight.

            Apply the golden rule : when you install a system - what ever the system is : check the clock.
            Never take the state of the on battery for granted ; Batteries dies. They are designed to do so.

            This :

            626231a9-e48b-491f-8ef8-7bf2c23f7c62-image.png

            is your"'case closed" ;)
            ( except if the screen shot was taken on March, 4 .... )

            In the BIOS, set the clock, and do a clean reboot. Go back in the BIOS right away, and check the clock. Change batteries if needed.
            As soon as the (initial - hardware) time is ok, pfSense => Resolver => DNSSEC will behave correctly.
            And NTP can do it's job.

            edit : jimp nailed it.

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            jimpJ DaddyGoD 2 Replies Last reply Reply Quote 1
            • jimpJ
              jimp Rebel Alliance Developer Netgate @Gertjan
              last edited by

              @gertjan said in Out of the box install, DNS broken (DNSSEC?):

              Is is not a time issue, but you proving that resolving (on pfSense !) doesn't work.

              It is a time issue. DNSSEC fails because it can't validate DNSSEC due to the time being so far off.

              In the BIOS, set the clock, and do a clean reboot. Go back in the BIOS right away, and check the clock. Change batteries if needed.
              As soon as the (initial - hardware) time is ok, pfSense => Resolver => DNSSEC will behave correctly.
              And NTP can do it's job.

              You could also set the clock to a close value by hand from a command prompt on the firewall:

              date [[[[[cc]yy]mm]dd]HH]MM[.ss]] so for 2020, Dec 15th at 09:38 and 30 seconds:
              date 202012150938.30

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              GertjanG 1 Reply Last reply Reply Quote 0
              • DaddyGoD
                DaddyGo @Gertjan
                last edited by DaddyGo

                @gertjan said in Out of the box install, DNS broken (DNSSEC?):

                DNSSEC will behave correctly. (sorry :-))

                this is the solution...

                hhmm considering these:
                https://dnssec.vs.uni-due.de/

                I don't even understand what their problem is to others with the clock... easy...
                so in this world everything is determined by this, just think of (stock market, banks, IT)

                Cats bury it so they can't see it!
                (You know what I mean if you have a cat)

                1 Reply Last reply Reply Quote 0
                • GertjanG
                  Gertjan @jimp
                  last edited by

                  @jimp said in Out of the box install, DNS broken (DNSSEC?):

                  Is is not a time issue,

                  Conflict between my fingers and the head.
                  I guess I wanted to start my phrase with "If it is not the time ....." and got de synced while capturing.
                  Wanted to show with the first image - the NTP server (pool) host name not resolving, and the second image, the date/hour completely wrong, that something is wrong.

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  DaddyGoD 1 Reply Last reply Reply Quote 0
                  • DaddyGoD
                    DaddyGo @Gertjan
                    last edited by DaddyGo

                    @gertjan said in Out of the box install, DNS broken (DNSSEC?):

                    Conflict between my fingers and the head.

                    I don't deny it's right ๐Ÿ˜€

                    +++edit:
                    let me tell you what is the difference, but decide above what will be below ๐Ÿ˜‰

                    Cats bury it so they can't see it!
                    (You know what I mean if you have a cat)

                    1 Reply Last reply Reply Quote 0
                    • M
                      madcatinc @jimp
                      last edited by

                      @jimp @johnpoz

                      Fixed! After all that it was simply the system time that was out (really out). I stopped the NTP service, disabled DNSSEC, updated the time with the command line "ntpdate <random server>", restarted the NTP service, turned back on DNSSEC and everything is working as it should. So happy!

                      SzROcKXWc5.png

                      I'm glad I stuck with it, and thank you so much for the help. I learned a lot about DNS along the way, and some new commands to make sure it is all working correctly. Thanks for the help, much appreciated.

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

                        @madcatinc Glad you got it sorted. That was as great catch by @jimp on the time being an issue with dnssec..

                        I normally just assume that time would be correct ;) I mean who doesn't make sure their time is correct? ;)

                        Would of prob taken quite a bit longer to find your issue if jim hadn't chimed in..

                        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.