Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invoke-Maester support for custom DNS resolvers #612

Open
moorereason opened this issue Jan 6, 2025 · 1 comment
Open

Invoke-Maester support for custom DNS resolvers #612

moorereason opened this issue Jan 6, 2025 · 1 comment

Comments

@moorereason
Copy link

I need to bypass the default DNS resolvers in order to validate Exchange MX/SFP/DKIM records against an external resolver. I would like the ability to do:

Invoke-Maester -DnsServerIpAddress 8.8.8.8

Is this possible today?

@soulemike
Copy link
Contributor

It isn't presented through to the core module today, though the Get-MailAuthenticationRecord command can support it.

It should be possible to add module variable and parameter to Invoke-Maester to set it. Then have the tests reference it when they call for the records.

In the interim though, the local copy of the tests could be modified to add that parameter when they call for the records.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants