Windows and DNS suffixes

Weekly dev snapshots are available for testing.
We talk about them here. Testing features in the dev snapshot helps the features make it to stable.
Forum rules
Please report your experience with testing branch. Include what you were using and how
If there is a problem, the more info the better!
Post Reply
Bechtelar25
OpenVpn Newbie
Posts: 1
Joined: Fri Jun 18, 2021 6:11 am

Windows and DNS suffixes

Post by Bechtelar25 » Fri Jun 18, 2021 6:12 am

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

gerardv514
OpenVpn Newbie
Posts: 1
Joined: Wed Aug 03, 2022 2:17 am

Re: Windows and DNS suffixes

Post by gerardv514 » Wed Aug 03, 2022 2:19 am

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?

Meserias
OpenVpn Newbie
Posts: 12
Joined: Sun Oct 17, 2021 3:01 pm

Re: Windows and DNS suffixes

Post by Meserias » Fri Oct 28, 2022 12:12 pm

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.

Post Reply