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

    LAN PC cannot query DNS

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 3 Posters 728 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.
    • P
      Peter_APIIT
      last edited by

      Dear All,
      I setup a fresh pfsense box but the LAN PC cannot query DNS but the pfsense box can query DNS.
      What wrong with that? How to troubleshoot? Please give some hints. Thanks.

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Is the LAN host using pfSense for DNS? Is it using DHCP?

        Is pfSense configured to use Unbound (the default)? Is that service running?

        Steve

        P 1 Reply Last reply Reply Quote 0
        • P
          Peter_APIIT @stephenw10
          last edited by

          @stephenw10 The unbound is running otherwise pfsense box cannot query DNS right. My LAN host cannot get IP address. May be is dhcp server down? How to check/enable dhcp server on command line?

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @Peter_APIIT
            last edited by

            @peter_apiit

            On a fresh, default pfSense, unbound has been set up to listen on the LAN interface.
            Also, the DHCP server is active on the LAN interface, ready to hand out leases for any device on LA that asks one.

            @peter_apiit said in LAN PC cannot query DNS:

            How to check/enable dhcp server on command line?

            Why the command line ?
            Visit Status> Services or look at the Status > System Logs > DHCP page.

            Ask the admin how he set up the DHCP server on the LAN interface.

            LAN PC cannot query DNS

            A very known mistake is : the PC/device has a static DNS set-up, instead of relying on DHCP.

            @peter_apiit said in LAN PC cannot query DNS:

            My LAN host cannot get IP address.

            If it's a Windows device :

            ipconfig /all
            

            Do all the network addresses have the expected values ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              pfSense itself can use any configured DNS server including anything that might be passed to it via DHCP. So it may be able to resolve when clients cannot when Unbound is not running.

              However you should forget about DNS if LAN side clients cannot even get an IP address.

              Do you have a subnet conflict between WAN and LAN?

              Steve

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