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

    Squid Proxy and DNS Resolutions Intermittent Failures

    Scheduled Pinned Locked Moved Cache/Proxy
    4 Posts 2 Posters 1.3k 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.
    • 1
      16BitWords
      last edited by

      I have recorded a video of this behavior.

      In general when I have Squid Proxy turned on I get lots of unloaded images and javascript/css on websites which I visit.

      I have tried various settings of cache sizes.
      I have tried various settings of using DNS Resolver, DNS Forwarder. Setting google's DNS over my ISPs.

      Shown in the video are my log, and the behavior. This may turn into a bug report if we can report it right.
      Youtube Video

      1 Reply Last reply Reply Quote 0
      • A
        aGeekhere
        last edited by

        do you get the same issue when using non transparent proxy?

        post some links to sites which are not loading correctly.

        Never Fear, A Geek is Here!

        1 Reply Last reply Reply Quote 0
        • 1
          16BitWords
          last edited by

          They can resolve, they just don't always every time.

          Its the intermittent behavior of random requests not resolving.

          It happens with authenticted proxy.
          It happens with transparent proxy.

          Posing a url which doesn't resolve would be posting the entire internet. Its not a specific link. Its that not every part of a web page loads. Then you quit the browser/restart workstation (clear cache), and different portions of it load. Say a site references itself. The cached DNS for the site will end up timing out for images on the page.

          Turning of squid fixes the timing out of content issue.

          Please watch the video if you need more explanation.

          1 Reply Last reply Reply Quote 0
          • 1
            16BitWords
            last edited by

            I've fixed it. The solution was to install abandon pfsense and install ubuntu server 16.04 with the squid3 package. Then configure squid3.conf with some simple values.

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