Page 1 of 1

Windows and DNS suffixes

Posted: Fri Jun 18, 2021 6:12 am
by Bechtelar25
I've been trying to figure out how to get domain suffixes to work with DNS lookups for a small workplace domain with employees who are using their own computers. I thought setting the DNS suffix on the DHCP server would be enough but apparently PFsense uses DHCP option 119 which isn't supported by windows, but the DNS suffix search list gets populated.

Code: Select all

>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Laptop
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : company.lan
But when I perform a DNS lookup, the server returns a NXDomain and windows doesn't try any other recursion.

Code: Select all

C:\>nslookup
> server
Server:         10.0.100.10
Address:        10.0.100.10#53
** server can't find server: NXDOMAIN
The FQDN lookup works so I know the DNS server is working fine.

Code: Select all

> server.company.lan
Server:         10.0.100.10
Address:        10.0.100.10#53
Name: server.company.lan
Address: 10.0.100.10