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
Do you think it is possible to adjust this filter section, to can filter on a subname and a type separately? For example this is needed to filter all A records over all subnames.
My first idea was to check if the value of Type and SubName is not empty ("") before run query.Set(). But in case of SubName this will not work like expected because with the empty filter you find the records based on the basedomain.
Thanks for the great library!
Do you think it is possible to adjust this filter section, to can filter on a subname and a type separately? For example this is needed to filter all A records over all subnames.
desec/records.go
Lines 49 to 54 in b4c3e4a
My first idea was to check if the value of Type and SubName is not empty ("") before run query.Set(). But in case of SubName this will not work like expected because with the empty filter you find the records based on the basedomain.
desec/records.go
Lines 25 to 28 in b4c3e4a
Maybe an idea is to set SubName (in RRSetFilter) to a pointer so it can be nil, and we can react in this to not set it as a filter.
The text was updated successfully, but these errors were encountered: