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

    Resolved:DNS server not work

    Scheduled Pinned Locked Moved DHCP and DNS
    6 Posts 3 Posters 2.5k 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.
    • E Offline
      ee
      last edited by

      Hello,
      I Installed now the pfsense in my vmware infrastructure. I have one router from provider that nat all communication to ip of wan interface pfsense 192.168.1.2.
      I added another interface network to my vm pfsense in lan and enable the dhcp service. This service work well, i check it added one windows vm and the dhcp server of pfsense assign the right ip address attach file 1.
      When i would like to connect to google.it in my vm i can't. I think there are some problem with my DNS configuration. The configuration of my DNS is attach file 2.
      Can you help me to resolve my problem please?
      Thanks.

      1.PNG
      1.PNG_thumb
      2.PNG
      2.PNG_thumb

      1 Reply Last reply Reply Quote 0
      • W Offline
        wila
        last edited by

        Hi,

        Set the DNS server to a server that has DNS entries, like google: 8.8.8.8
        Instead of 127.0.0.1

        Of course you can also use the DNS server from your provider.
        –
        Wil

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

          Out of the box pfsense would point to itself and use the resolver for dns.  Your dhcp clients from pfsense would point to pfsense for their dns, which would resolve what your looking for.

          Your clients are set to ask googledns - so is that not working?  Are you blocking outbound 53 udp/tcp?

          Your going to have to give us a bit more to go on..  Out of the box pfsense should just work for dns - if not your isp is blocking 53, or hijacking or you got something infront of pfsense blocking dns.  Or you dicked it up on your own..

          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 25.07.1 | Lab VMs 2.8.1, 25.07.1

          1 Reply Last reply Reply Quote 0
          • E Offline
            ee
            last edited by

            I haven't rule in pfsense firewall, you can see my wan list of rules. I must add one new rules in pfsense for open the port of DNS server.
            In my router from my provider i use the nat option and i have open all ports on the ip wan of pfsense.
            Can you tell me please all step that i must to do for configure the dns server.
            Thanks.

            Capture.PNG_thumb
            Capture.PNG

            1 Reply Last reply Reply Quote 0
            • E Offline
              ee
              last edited by

              Resolved the problem.
              Thanks. i Open the port 53 on the Vodafone Station router.
              Now works.

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

                Why would you think you need to open ports on wan??

                So you have a router/firewall in front of pfsense?  What is the point of pfsense then??

                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 25.07.1 | Lab VMs 2.8.1, 25.07.1

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