🌟 [Major]: Add function for resolving DNS hosts#3
Merged
Marius Storhaug (MariusStorhaug) merged 8 commits intomainfrom Aug 27, 2025
Merged
🌟 [Major]: Add function for resolving DNS hosts#3Marius Storhaug (MariusStorhaug) merged 8 commits intomainfrom
Marius Storhaug (MariusStorhaug) merged 8 commits intomainfrom
Conversation
…figuration, and type definitions, to streamline the module.
There was a problem hiding this comment.
Pull Request Overview
This pull request is a major refactoring that removes most existing module content and introduces a DNS host resolution function. The change appears to be transitioning from a generic test module structure to a DNS-focused module.
- Removes all existing test functions and module structure (variables, types, classes, etc.)
- Adds
Resolve-DnsHostfunction for DNS hostname resolution using .NET'sSystem.Net.Dnsclass - Replaces existing test suite with DNS-specific tests
Reviewed Changes
Copilot reviewed 29 out of 30 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
src/functions/public/Resolve-DnsHost.ps1 |
New DNS resolution function using System.Net.Dns.Resolve() |
tests/Dns.Tests.ps1 |
New test suite for DNS functionality |
| All other files | Removal of existing module infrastructure and test content |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
…lve-DnsHost function
c6d774c
into
main
34 of 36 checks passed
|
Module Dns - 1.0.0 published to the PowerShell Gallery. |
|
GitHub release for Dns v1.0.0 has been created. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request adds function for resolving DNS hosts by using the base .net class
[System.Net.Dns].Type of change
Checklist