{"id":16567550,"url":"https://github.com/jdhitsolutions/dnssuffix","last_synced_at":"2025-10-30T14:48:58.004Z","repository":{"id":145020049,"uuid":"119441870","full_name":"jdhitsolutions/DNSSuffix","owner":"jdhitsolutions","description":"A set of PowerShell tools for managing the computer's primary DNS suffix.","archived":false,"fork":false,"pushed_at":"2025-06-19T21:18:02.000Z","size":35,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-04T23:14:21.014Z","etag":null,"topics":["dns-suffix","powershell","powershell-module","registry"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdhitsolutions.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-29T21:07:20.000Z","updated_at":"2025-06-19T21:18:03.000Z","dependencies_parsed_at":"2023-05-17T16:00:47.185Z","dependency_job_id":null,"html_url":"https://github.com/jdhitsolutions/DNSSuffix","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jdhitsolutions/DNSSuffix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FDNSSuffix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FDNSSuffix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FDNSSuffix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FDNSSuffix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdhitsolutions","download_url":"https://codeload.github.com/jdhitsolutions/DNSSuffix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdhitsolutions%2FDNSSuffix/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265479885,"owners_count":23773631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns-suffix","powershell","powershell-module","registry"],"created_at":"2024-10-11T21:06:54.449Z","updated_at":"2025-10-30T14:48:52.981Z","avatar_url":"https://github.com/jdhitsolutions.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNSSuffix\n\n[![PSGallery Version](https://img.shields.io/powershellgallery/v/DNSSuffix.png?style=for-the-badge\u0026label=PowerShell%20Gallery)](https://www.powershellgallery.com/packages/DNSSuffix/) [![PSGallery Downloads](https://img.shields.io/powershellgallery/dt/DNSSuffix.png?style=for-the-badge\u0026label=Downloads)](https://www.powershellgallery.com/packages/DNSSuffix/)\n\n## Installation\n\nInstall this module from the PowerShell Gallery.\n\n```powershell\nInstall-PSResource -Name DNSSuffix\n```\n\nEven though the module isn't explicitly supported in PowerShell 7, there is no reason it shouldn't work. The module will require a Windows system.\n\n## Overview\n\nThis PowerShell module has two simple commands that work with the registry to either get or set the primary DNS suffix of a computer. This is __not__ the value you can configure on a per network adapter configuration. Instead this is the setting you see when you go into Advanced System properties to change the computer name. When you click the More... button you get a form like this:\n\n![Set DNS Suffix](./images/system1.png)\n\nThis value is maintained in the registry under `HKLM:\\system\\CurrentControlSet\\Services\\tcpip\\parameters` where you must change the `Domain` and `NV Domain` properties. You can also configure whether to synchronize the DNS suffix with domain member ship changes. The commands in this module allow you to set and get those values using PowerShell remoting.\n\n```powershell\nPS C:\\\u003e Set-PrimaryDNSSuffix Company.pri -computername SRV1,SRV2 -SynchronizeSuffix\n```\n\nModify the primary DNS suffix on remote computers to `Company.pri`.\n\n```powershell\nPS C:\\\u003e Get-PrimaryDNSSuffix -computername SRV1,SRV2\n\nComputerName      : SRV1\nDomain            : Company.Pri\nNV Domain         : Company.Pri\nSynchronizeSuffix : True\n\nComputerName      : SRV2\nDomain            : Company.Pri\nNV Domain         : Company.Pri\nSynchronizeSuffix : True\n```\n\nThe changes should take effect immediately, but you may need to restart the computer for some applications to recognize the new DNS suffix.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdhitsolutions%2Fdnssuffix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdhitsolutions%2Fdnssuffix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdhitsolutions%2Fdnssuffix/lists"}