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

    Dns resolver

    Scheduled Pinned Locked Moved DHCP and DNS
    21 Posts 4 Posters 3.1k 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.
    • K
      kejianshi
      last edited by

      Looks like maybe DNS Forwarder is off, DNS Resolver is off, no DNS listed in system > general and getting no DNS from WAN DHCP.

      That would be my first guess.

      1 Reply Last reply Reply Quote 0
      • R
        robertog
        last edited by

        hello kejianshi
        thanks for your reply but I continue to have same problem…
        I did what you suggest and u can see in attachments.
        Do u have other suggestion?

        Thanks a lot
        roberto

        nslookup.jpg
        dns_resolver.jpg
        dns_forwarder.jpg
        general.jpg
        nslookup.jpg_thumb
        dns_resolver.jpg_thumb
        dns_forwarder.jpg_thumb
        general.jpg_thumb

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

          You see the one that says DNS forwarder?  Turn that off.  Click save.

          Yous see the one that says DNS resolver?  leave that ON.  Click save.

          You see where you listed 127.0.0.1 in system > general?  Remove 127.0.0.1  Click save.

          Reboot pfsense and all your computers.

          Let me know how that works for you.

          1 Reply Last reply Reply Quote 0
          • R
            robertog
            last edited by

            Hello kejianshi,
            sorry I did your suggestion but I have problem still..

            if u have other idea let me to know.

            thanks a lot!
            roberto

            table_arp.jpg
            table_arp.jpg_thumb

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

              The ARP table is kinda irrelevant when it comes to DNS… Kinda at a loss what's the screenshot supposed to illustrate. Does 192.168.0.4

              • get a static lease from pfSense, or dynamic one - and are those enabled to get registered in DNS?
              • if not, you have some host override in place?
              1 Reply Last reply Reply Quote 0
              • R
                robertog
                last edited by

                Yes,  just to show you this ip is working…do you have suggestion?

                thanks a lot
                roberto

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

                  Yes what??? Suggestions are above.

                  1 Reply Last reply Reply Quote 0
                  • P
                    phil.davis
                    last edited by

                    The switch at 192.168.0.4 has a fixed IP.
                    The other devices are known to pfSense DNS Resolver because they got their IP address with pfSense DHCP, or it is pfSense itself.

                    You need to add a host override entry for the switch - pfSense cannot guess the name of the switch.

                    As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                    If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                    1 Reply Last reply Reply Quote 0
                    • R
                      robertog
                      last edited by

                      hello phil.
                      I did but I have problem still…

                      My final setup is this in attachment.

                      thanks for other suggestion

                      roby

                      dns_forwarder.jpg
                      dns_resolver.jpg
                      host_overrides.jpg
                      general.jpg
                      dns_forwarder.jpg_thumb
                      dns_resolver.jpg_thumb
                      host_overrides.jpg_thumb
                      general.jpg_thumb

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

                        • Restart the resolver on pfS.
                        • Run ipconfig /flushdns on the Windows box.
                        1 Reply Last reply Reply Quote 0
                        • R
                          robertog
                          last edited by

                          Hello doctor,
                          I did but 192.168.0.4 doesn't work still

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

                            Well, then try from a different box or reboot Windows.

                            1 Reply Last reply Reply Quote 0
                            • R
                              robertog
                              last edited by

                              I did doctor and I continue to have same problem…
                              I don't want to bore you more so I use same without dns per switch.

                              thanks!!!!

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

                                Can you please post a pic what you have under Services: DHCP server

                                1 Reply Last reply Reply Quote 0
                                • R
                                  robertog
                                  last edited by

                                  sure

                                  dhcp_server.jpg
                                  dhcp_server.jpg_thumb

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

                                    For me, I have no host over rides in DNS Resolver. 
                                    I do have the two buttons checked for "DHCP Registration" and "Static DHCP"

                                    also…

                                    iIn DHCP server on lan tab I have a DNS range starting at 192.168.0.100 - 192.168.0.200  (using your subnet as example)

                                    Then all the host that are mine and I always have connected, at the bottom of this DNS Server page on LAN tab, I have their MAC, IP reservation and hostname listed there starting at .2 and going no higher than .99

                                    that leaves .100 - .200 available for DNS for visitors, for example.

                                    Then I have .201 - .245 free incase I want to make more static reservations.

                                    What kind of switch do you have?  is it allowing ICMP?  (ping)

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

                                      @robertog:

                                      so I use same without dns per switch.

                                      No idea what you mean…

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

                                        I also have a switch getting its IP from DHCP on pfsense  - Just gave it a static reservation at the bottom of my DHCP server LAN page that was below my normal DHCP leases.  (so .2-.99)

                                        You might try setting your switch up this way.  And sice its your switch thats the issue, still would like to know the model number and manufacturer.

                                        (FYI - In most situations, static IP configured at the machine is best.  Its just that I'm far away from that equipment so wanted to leave things getting DHCP as much as possible incase something ever breaks any idiot easily deal with it)

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          robertog
                                          last edited by

                                          Hello kejianshi doktor and phil

                                          I found the solution…. in attachments you can see my setup

                                          thanks for all!!!

                                          bye
                                          rob

                                          nslookup.jpg
                                          dhcp_server.jpg
                                          dns_resolver.jpg
                                          nslookup.jpg_thumb
                                          dhcp_server.jpg_thumb
                                          dns_resolver.jpg_thumb

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

                                            Looks better now…

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