-
Notifications
You must be signed in to change notification settings - Fork 121
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
Comments
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. |
From what I can tell, Invoke-Maester doesn't have any module variables or parameters that get passed down to subsequent commands like this. If I'm missing it, please direct me to existing examples. If not, what is the preferred design? I'd be willing to work on solving this DNS resolver issue, but I'd like someone from the Maester team to sketch out a proposed API for adding such things to the project. |
There are a couple options:
Neither is wrong, both can be done concurrently too. |
PR submitted to implement option 1. |
I have removed the fixed IP address in PR #725 as we should rely on the machines DNS server for now until we support environment variables. |
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:
Is this possible today?
The text was updated successfully, but these errors were encountered: