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

Re: Windows and DNS suffixes

Posted: Wed Aug 03, 2022 2:19 am
by gerardv514
Hello,

I am having this same exact issue, I cannot get DNS suffix to append to the DNS lookup. In a command prompt I can ping test.workgroup, but I cannot ping test (which is the dns hostname).

Were you able to resolve this yet?

Re: Windows and DNS suffixes

Posted: Fri Oct 28, 2022 12:12 pm
by Meserias
I have defined using dhcp-option IP of WINS and DNS server...
(I know wins its ancient, but it's working perfectly with no maintenance)
https://ibb.co/pxCfJHB
in the above pic you can see that I'm pinging across the OpenVPN tunnel a random server situated in LAN server area named VLAICU via NetBIOS name and then via FQDN.