We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4593074 commit 581c197Copy full SHA for 581c197
1 file changed
pkg/massdns/process.go
@@ -147,13 +147,16 @@ func (c *Client) filterWildcards(st *store.Store) error {
147
if wildcard {
148
c.wildcardIPMutex.Lock()
149
for ip := range ips {
150
+ // we add the single ip to the wildcard list
151
c.wildcardIPMap[ip] = struct{}{}
152
+ // we also mark the original ip as wildcard, since at least once it resolved to this host
153
+ c.wildcardIPMap[record.IP] = struct{}{}
154
}
155
c.wildcardIPMutex.Unlock()
156
157
}(host)
- record.Validated = true
158
159
+ record.Validated = true
160
161
162
wildcardWg.Wait()
0 commit comments