Client devices get their address from pfSense. They must be handed the domain controllers as DNS servers, not the firewall.
Devices on a VLAN get an address and the right DNS servers automatically.
A device handed the firewall as its DNS server cannot find the domain or sign in.
Turn on DHCP for the VLAN and set the domain controllers as its DNS servers.
Every name, address and value in this guide is an example. Replace them with your own.
| Field | Set it to |
|---|---|
| Enable | Ticked |
| Address pool range | 10.0.50.100 to 10.0.50.200 |
| DNS servers | 10.0.20.10 and 10.0.20.11 |
| Gateway | 10.0.50.1 |
| Domain name | ad.contoso.com |
| Domain search list | ad.contoso.com |
A domain-joined PC that uses the firewall for DNS cannot find the domain. Joining and signing in both fail.
Servers and domain controllers keep static addresses, so they need no DHCP scope.
Check the DHCP backend
Choose Kea DHCP. If you switch from ISC to Kea, the address pools do not copy across. Type each range in again, or clients stop getting addresses.
Lease times
| Field | Set it to | Why |
|---|---|---|
| Default lease time | 7200 seconds (2 hours) | Suits laptops that come and go |
| Maximum lease time | 86400 seconds (1 day) | Stops a device holding an address for weeks |
Plan the addresses
| Range | Use |
|---|---|
.1 to .99 | The gateway and anything with a fixed address |
.100 to .200 | The DHCP pool |
.201 to .254 | Spare |
Check it works
ipconfig /release ipconfig /renew ipconfig /all # address in the pool, DNS 10.0.20.10 and 10.0.20.11
The PC should be listed with its name and address.
Done when
A client gets an address from the pool with the domain controllers as its DNS servers, and appears under DHCP Leases.


