You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The proposed implementation takes the contents of ResultsCache and appends a canary string to each record in the cache , then attempts to resolve it. If it resolves we mark it as a wildcard record. For example, we have some record named example.com we then add the canary cmVlc29sdmVjYW5hcnk.example.com and attempt to resolve that record.
Currently the wildcard detection is just a naive check on the label of the record and isn't very effective.
reesolve/src/data.rs
Line 163 in 22585f8
The proposed implementation takes the contents of
ResultsCache
and appends a canary string to each record in the cache , then attempts to resolve it. If it resolves we mark it as a wildcard record. For example, we have some record namedexample.com
we then add the canarycmVlc29sdmVjYW5hcnk.example.com
and attempt to resolve that record.reesolve/src/resolver.rs
Lines 278 to 282 in c8f023d
The
cache.set_wildcard
method just acquires the lock and modifies theis_wildcard
to betrue
reesolve/src/data.rs
Lines 49 to 59 in c8f023d
The text was updated successfully, but these errors were encountered: