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

    Respond to DNS Broadcast request

    DHCP and DNS
    5
    8
    2.9k
    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.
    • Z
      zMaliz
      last edited by

      Hi

      Should pfsense respond to a local DNS broadcast request ?
      I've done a packet capture and I can see the request hit the pfSense box, but I don't see any reply:

      This is whats recieved :

      Frame 412: 72 bytes on wire (576 bits), 72 bytes captured (576 bits)
      Ethernet II, Src: Fozeon_00:23:04 (00:12:23:00:23:04), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
      Internet Protocol Version 4, Src: 192.168.1.10, Dst: 255.255.255.255
      User Datagram Protocol, Src Port: 32816, Dst Port: 53
      Domain Name System (query)
          Transaction ID: 0x0001
          Flags: 0x0100 Standard query
          Questions: 1
          Answer RRs: 0
          Authority RRs: 0
          Additional RRs: 0
          Queries
              splicepbx.uk: type MX, class IN
                  Name: domain.com
                  [Name Length: 12]
                  [Label Count: 2]
                  Type: MX (Mail eXchange) (15)
                  Class: IN (0x0001)
      
      

      The box is running DNS Resolver and not DNS Forwarder.

      The portal front page shows:

      DNS server(s)
      127.0.0.1
      ISP ADDRESS1
      ISP ADDRESS2
      8.8.8.8
      8.8.4.4

      How do I get the pfsense DNS to respond to local DNS broadcasts ?

      Thanks

      1 Reply Last reply Reply Quote 0
      • K
        kpa
        last edited by

        There is no such thing as DNS broadcast, DNS resolution is purely UDP (in some rare cases TCP) unicast. No idea what the quoted traffic is but it's definitely not standard DNS. The only proper broadcast/multicast DNS in existence is the mDNS system that uses UDP port 5353.

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

          That device – not pfSense -- most likely has a broken network configuration. Wrong subnet mask, missing gateway, etc.

          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!

          1 Reply Last reply Reply Quote 0
          • Z
            zMaliz
            last edited by

            Thanks for the replies.

            The information I've been given is :
            'broadcast a DNS request for a mail server (MX) for the domain'

            I assume we would expect this to be a standard MX Lookup ?

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              No, standard MX lookup is not a broadcast.

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

                A query for MX is not a broadcast - its a query for the MX record to your dns.. Just like any other query for any other record type, be it A, TXT, SRV, SOA, AAAA, etc. etc.

                The box is running DNS Resolver and not DNS Forwarder.

                The portal front page shows:

                DNS server(s) 
                127.0.0.1
                ISP ADDRESS1
                ISP ADDRESS2
                8.8.8.8
                8.8.4.4

                If your pfsense is running resolver than everything on that list other than 127.0.0.1 is pointless!!

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • Z
                  zMaliz
                  last edited by

                  Thanks. I've removed the other IP Address from DNS.

                  Now it's only listing :
                  DNS server(s) 127.0.0.1

                  Is there anyway to see what addresses it is resolving ? a list of domains to IP that have been resolved ?

                  Thanks

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

                    you can up the logging of unbound if you wish.

                    Its not very friendly way to see what domains are being queried - you could also look into its cache if you wanted.  You could run something like dnstop on your network if your interested what domains are being asked for and or the amount of them.

                    Or something like pihole gives a easy to read and understand listing of your top dns requesters from your client base and what domains are being asked for and just simple to look at the query log, etc.

                    What exactly are you looking for in the record of dns queries - total number of them, what domains?  What the clients are asking for, etc.?

                    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.7.2, 24.11

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