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

    DNS 8000+ms, troubleshooting help

    Scheduled Pinned Locked Moved General pfSense Questions
    75 Posts 4 Posters 9.7k 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
      srytryagn @johnpoz
      last edited by srytryagn

      @johnpoz Default setup just added some DNS alternatives as you can see in above images.

      johnpozJ 1 Reply Last reply Reply Quote 0
      • S
        srytryagn @stephenw10
        last edited by

        @stephenw10 Shown in previous post.
        Gateway monitor ? lmk what you wand to see so I may post it.

        1 Reply Last reply Reply Quote 0
        • S
          s_serra @srytryagn
          last edited by

          @srytryagn

          It appears that the applications are putting the network underload. Try doing a packet capture on the lan interface to see what is happening on the network.

          S 1 Reply Last reply Reply Quote 1
          • S
            srytryagn @s_serra
            last edited by

            @s_serra CPU 3% mem 1-3%, bandwidth is wayyy below my 1Gb/s capability.
            What specifically shall I check ?

            S 1 Reply Last reply Reply Quote 0
            • S
              s_serra @srytryagn
              last edited by

              @srytryagn A loop may be occurring.

              S 1 Reply Last reply Reply Quote 1
              • S
                srytryagn @s_serra
                last edited by srytryagn

                @s_serra You may be right about that and that (a Loop) would make sense. I have run a packet capture on the lan running the apps. I dont know how to diagnose the loop nor how to troubleshoot it or where to begin. Would you please kindly point me in the right direction.

                S 1 Reply Last reply Reply Quote 0
                • S
                  srytryagn
                  last edited by srytryagn

                  Simple network topology FYI.

                  Topology.png

                  1 Reply Last reply Reply Quote 0
                  • S
                    s_serra @srytryagn
                    last edited by

                    @srytryagn

                    It depends on what the application is doing with the network. Can you tell me what type of application it is and what this application needs from the network? You can set the IP address in each application's packet capture to see what happens in each one.

                    S 1 Reply Last reply Reply Quote 1
                    • S
                      srytryagn @s_serra
                      last edited by srytryagn

                      @s_serra It is a blockchain application so RPC connection, in particular a node (p2p traffic hence the port forward) and a farmer which stores data to a local drive and must prove to the network that it is stored on the drive.

                      It requires 30333, 30433, 30533 TCP+UDP to be forwarded to the box.

                      The Node app and Farmer app speak each other on same machine on loopback.

                      I ran a 1000 data point packet capture on that machine running the apps, but have no clue how to diagnose a loop from what is infront of me.

                      Could you explain how & what you mean by set IP address in each applications packet capture, doing packcapture in pfsense only allows a machine IP not a specific application ?

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        s_serra @srytryagn
                        last edited by

                        @srytryagn

                        Since both applications are running on the same machine, I assume they have the same local IP address running on different ports. Put the local IP address of the machine where the applications are in the packet capture to see what is happening. Do ports 30333, 30433, 30533 need to be exposed to the Internet?

                        S 1 Reply Last reply Reply Quote 1
                        • S
                          srytryagn @s_serra
                          last edited by srytryagn

                          @s_serra I did exactly that, ran packet capture of machine IP address where the apps are running.

                          Yes 30333, 30433, and 30533 are exposed to the internet, in pure nat point to app machine, with requisite outbound rules applied on wan/NAT.

                          S johnpozJ 2 Replies Last reply Reply Quote 0
                          • S
                            s_serra @srytryagn
                            last edited by

                            @srytryagn

                            Check if the applications receive the response from the other peer through packet capture. Have you analyzed the network traffic (Status -> Traffic Graph) on the wan interface and then on the lan?

                            9c61c2fa-9e1a-4bdb-b9e9-a26ab0b3ada4-image.png

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              srytryagn @s_serra
                              last edited by srytryagn

                              @s_serra

                              1. Traffic graph yes, hardly any bandwidth used peak 25Mb/s and can see peers.
                              2. Packet capture just shows a bunch of:
                                | TIME | IP:PORT | > | IP:PORT |

                              From the above two diagnostics you asked me to look at I do not understand how to interpret if there is a loop or what the cause of my issue is.

                              Would you please let me know how to proceed, what to analyze/repair ?

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                s_serra @srytryagn
                                last edited by

                                @srytryagn

                                Through | TEAM | IP:PORT | > | IP:PORT |
                                you can analyze whether packets are leaving and the response to that packet is being received from abroad.

                                Check the ping response time on the wan gateway.

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

                                  @srytryagn said in DNS 8000+ms, troubleshooting help:

                                  in pure nat point to app machine

                                  what do you mean pure nat? You mean they are using nat reflection to talk to each other?

                                  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

                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    srytryagn @johnpoz
                                    last edited by

                                    @johnpoz NAT port forward has option for nat reflection set to pure nat.

                                    nat reflection { pure nat, disable, default, pure nat + proxy}

                                    johnpozJ 1 Reply Last reply Reply Quote 0
                                    • S
                                      srytryagn @s_serra
                                      last edited by

                                      @s_serra The report shows Time, IP:Port, arrow, and IP:Port, there is no information about when packets are being received from abroad.

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        s_serra @srytryagn
                                        last edited by

                                        @srytryagn

                                        This depends on how the application will work over the network. For example an ICMP packet (a ping) a common use is to send a request and receive a response. Now you have to analyze whether your blockchain is supposed to be receiving data from abroad or not.

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          srytryagn @s_serra
                                          last edited by

                                          @s_serra I appreciate your trying to help me but I absolutely do not understand.

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

                                            @srytryagn said in DNS 8000+ms, troubleshooting help:

                                            option for nat reflection set to pure nat.

                                            But are you actually using nat reflection.. There is zero point to setting up nat reflection unless your actually using it.. Do these devices talk to each other, via your public IP and have to be reflected back in.. If they send a lot of traffic that is going to be horrible setup.

                                            Your latency while using the apps points to some sort of network issue, buffer bloat sort of thing.. In your drawing you show another network.. When you turn on your devices or miners or whatever they are - does a machine on network 2 have issues with ping times to say 8.8.8.8.. or just from these devices on network 1 per your drawing.

                                            BTW - I take it you mean switch not hub.. Hubs haven't even really been a thing in what 20 some years..

                                            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

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