Navigation

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

    [SOLVED-DNS] No longer able to update a VM with 2.4.0 beta

    2.4 Development Snapshots
    2
    7
    630
    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.
    • F
      Finger79 last edited by

      Enter an option: 13

      Updating repositories metadata…
      Updating pfSense-core repository catalogue...
      pkg: Repository pfSense-core load error: access repo file(/var/db/pkg/repo-pfSen
      se-core.sqlite) failed: No such file or directory
      pkg: hxxps://beta.pfsense.org/packages/pfSense_master_amd64-pfSense_devel/meta.t
      xz: No address record
      repository pfSense has no meta file, using default settings
      pkg: hxxps://beta.pfsense.org/packages/pfSense_master-amd64-pfSense_devel/packag
      esite.txz: No address record
      Unable to update repository pfSense
      Error updating repositories!

      I had been updating every couple weeks just fine.

      1 Reply Last reply Reply Quote 0
      • F
        Finger79 last edited by

        Weird.  I had had an Allow rule in my baremetal production pfSense 2.3.4 box to allow 53/udp DNS queries from the 2.4.0 beta VM to the outside world, and it worked fine for weeks, but I noticed 53/tcp DNS traffic coming from the VM.

        After modifying the rule to allow tcp/udp DNS traffic from the VM, everything is back to normal.  I wasn't expecting tcp DNS traffic all of a sudden.  Why the change?

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

          DNS is always UDP and TCP. Never only UDP. It's been that way for decades but still the "UDP Only" myth persists. Large queries/responses get sent over TCP instead of UDP. In the past that was over 512B queries but IIRC now it's 4096.

          DNSSEC is one common way that you'll end up with larger queries and responses, but it's not exclusively DNSSEC using it. Even queries for sites like Google that contain many address records will go over the limit.

          1 Reply Last reply Reply Quote 0
          • F
            Finger79 last edited by

            I'm well aware that DNS is both udp and tcp 53.  That wasn't what I was asking.  I've never heard of this "udp only" myth, honestly.  It's always used both protocols.  Usually tcp zone transfers and larger queries/responses.

            I was asking why I had had no problems updating 2.4.0 beta using just the 53/udp allow rule and suddenly it started using 53/tcp.  I'm asking specifically what would change – comparing apples to apples -- that it would suddenly use tcp.

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

              The fact that you thought a 53/udp rule would ever have worked to pass DNS successfully shows that you didn't know well enough that TCP was always required.

              1 Reply Last reply Reply Quote 0
              • F
                Finger79 last edited by

                @jimp:

                The fact that you thought a 53/udp rule would ever have worked to pass DNS successfully shows that you didn't know well enough that TCP was always required.

                You're still not answering my question, and I'd genuinely appreciate an answer.  I'd updated the VM a dozen times just fine in the past.  What specifically would cause it to change to suddenly be using tcp when in the past it used udp?

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

                  It doesn't matter, it is not a valid question. "Why did my rule that wasn't valid stop working?". It worked before by pure chance, now it doesn't, also by pure chance. DNS is TCP/UDP, period.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Products

                  • Platform Overview
                  • TNSR
                  • pfSense Plus
                  • Appliances

                  Services

                  • Training
                  • Professional Services

                  Support

                  • Subscription Plans
                  • Contact Support
                  • Product Lifecycle
                  • Documentation

                  News

                  • Media Coverage
                  • Press
                  • Events

                  Resources

                  • Blog
                  • FAQ
                  • Find a Partner
                  • Resource Library
                  • Security Information

                  Company

                  • About Us
                  • Careers
                  • Partners
                  • Contact Us
                  • Legal
                  Our Mission

                  We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                  Subscribe to our Newsletter

                  Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                  © 2021 Rubicon Communications, LLC | Privacy Policy