none
DNS Server Permissions - Set using Powershell RRS feed

  • Question

  • I am trying to set permissions on DNS servers using powershell. So this refers to the 'security' tab ACL. How can I edit the ACL of a specific DNS server remotely?
    • Moved by jrv Friday, December 6, 2019 10:04 PM Better forum
    Friday, December 6, 2019 12:02 PM

All replies

  • How many DNS Servers you want to connect remotely. If you want to Connect to the Remote DNS Server, Open DNS Manager on DC -> Right - Click on the DNS -> Connect to DNS Server... --> Enter the Remote Server Name to connect. You can in that way manager the Remote DNS Servers and Edit the ACL's as well by Right -clicking and Select Properties and Security Tab.

    Not sure of any Powershell way as of now. I will check and get back to you. But if there are not too many servers then you can use the GUI Way.



    Best Regards
    Jatin Makhija (Blog:technethub.com)

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered"Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Friday, December 6, 2019 12:32 PM
  • Thanks for the reply. With nearly 150 servers this method is a bit of a chore !

    Running through a loop in Powershell would be a much needed alternative, and also an extension to my knowledge set. So if anyone knows a way please share!

    :)

    //A


    Friday, December 6, 2019 1:11 PM
  • Hi, can you try this solution:

    https://www.shellandco.net/blog/2016/06/06/update-acl-microsoft-dns-active-directory-record/


    "Vote or mark as answer if you think useful" "Marquer comme réponse les réponses qui ont résolu votre problème"

    Friday, December 6, 2019 2:50 PM
  • Hi,

    >>With nearly 150 servers this method is a bit of a chore !

    Based on my knowledge, since you have nearly 150 servers, we advise you to ues script.

    You can have this asked in scripting forum for better answers.

    https://social.technet.microsoft.com/Forums/windowsserver/en-us/home?forum=winserverpowershell

    Please refer the following link for more information:

    https://devblogs.microsoft.com/scripting/manage-dns-in-a-windows-environment-by-using-powershell/

    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

    Hope this can help you, if you have anything unclear, please let me know.

    Have a nice day!

    Ellen


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.



    Monday, December 9, 2019 7:30 AM
  • Hi,

    Just checking the current situation of your problem.

    Please let us know if you would like further help.

    Best regards,

    Ellen


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.



    Tuesday, December 10, 2019 8:29 AM
  • Well its sort of fixed. Setting the ACL manually (GUI) actually gets replicated to other DCs/DNS servers. But I would still like a solid Powershell solution. 

    //A

    Tuesday, December 10, 2019 9:43 AM
  • I am glad that it got fixed. Thanks for updating us on this. 

    Best Regards
    Jatin Makhija (Blog:technethub.com)

    [If a post helps to resolve your issue, please click the "Mark as Answer" of that post or click Answered "Vote as helpful" button of that post. By marking a post as Answered or Helpful, you help others find the answer faster. ]

    Tuesday, December 10, 2019 10:06 AM