LAN PC cannot query DNS
-
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. -
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
-
@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?
-
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 ?
-
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