IsDNSWildcardNotConfigured should not be part of unbound host validations
In case validations are being run on the unbound host, IsDNSWildcardNotConfigured should return
ValidationSuccessSuppressOutput, since it is not relevant
@@ -1180,6 +1180,9 @@ func printIsDomainNameResolvedCorrectly(c *validationContext, status ValidationS
}
func (v *validator) isDNSWildcardNotConfigured(c *validationContext) ValidationStatus {
+ if c.infraEnv != nil {
+ return ValidationSuccessSuppressOutput
+ }
if hostutil.IsDay2Host(c.host) {
return ValidationSuccess
}
