• Status: Solved
  • Priority: Medium
  • Security: Private
  • Views: 86
  • Last Modified:

Cannot resolve by short name after moving DHCP to Windows AD.

Linux DHCP was able to give out DNS search domains.  Windows doesn't.
Cannot resolve by short names after migrating DHCP to Windows AD Servers 2016.
Option 119 DNS Search List not working.  Even though says it design for non-windows client.  Domain names with semicolon.   Still not resolving.
Group Policy wont work because the clients aren't joined the Domain.  

So the only option to tell the users to use a FQDN (long names) from now on.  Some unhappy.  Oh well.  

Any other options?
2 Solutions
Windows DHCP and windows clients both did not support DHCP option 119

The only way to provide search list is to use group policy for domain joined machines or configure script / manually on workgroup machines

without search list windows dns only able to resolve hostnames in native domain zone

for other zones, it cannot resolve those short names unless client is configured to use search list

I would suggest that educate users to use FQDN as far as possible as DNS is meant to resolve FQDN only

one more option is to use Linux dns as primary dns on clients via dhcp and it should resolve all hostnames

Configure secondary zone of your active directory domain dns on Linux server or setup conditional forwarder on Linux dns towards AD domain dns so that when Linux box receives any query wrt AD, query will get forwarded and handled by windows DNS

mean time you can find out way on client machines to configure dns search list on NIC properties and then switch fully to windows dns
Shaun VermaakTechnical Specialist/DeveloperCommented:
Windows clients will ignore Option 119, but Linux and Mac won't.
Good description of creating the option in Windows DHCP is here.

I would use the PS script found in the below link to set the value correctly.
Shaun VermaakTechnical Specialist/DeveloperCommented:
If you want suffixes in Windows, use Group/Local policy
Tiras25Author Commented:
Sorry for the delay.  Still working on the right solution.  Will get back to you soon.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now