DNS resolution user based

Federico Coppola 1,181 Reputation points
2022-02-28T15:55:06.743+00:00

Hello all,
Can I configure DNS resolution based on user group?
For example in company we have "www.domain.local" DNS record.
I need that some users (for example group1) solve DNS "www.domain.local" IN 192.168.1.11 and other users (for example group2) solve DNS "www.domain.local" IN 192.168.1.12
Can I do it?
Can I configure this DNS resolution?

Thanks for your help
Federico

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,849 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,287 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
1,025 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.2K Reputation points MVP
    2022-02-28T19:34:11.313+00:00

    Not really a good solution for this since AD doesn't really work that way. You could try adding only the desired address listed for DNS on connection properties for the two groups.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


3 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP
    2022-02-28T16:10:49.187+00:00

    Read on here.
    https://learn.microsoft.com/en-us/windows-server/networking/dns/deploy/primary-geo-location

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Federico Coppola 1,181 Reputation points
    2022-02-28T19:28:41.43+00:00

    Dear @Dave Patrick
    Thanks for your quick reply.
    In my case all employees are in the same client VLAN (all of them are in the same site), there are not different subnet.

    Thanks
    Federico

    0 comments No comments

  3. MotoX80 32,246 Reputation points
    2022-02-28T21:29:12.853+00:00

    What about adding a hosts file entry? Maybe in the users logon script?

    https://www.howtogeek.com/784196/how-to-edit-the-hosts-file-on-windows-10-or-11/

    0 comments No comments