2 #include "arguments.hh"
4 NetmaskGroup g_ednssubnets
;
5 SuffixMatchNode g_ednsdomains
;
8 void parseEDNSSubnetWhitelist(const std::string
& wlist
)
11 stringtok(parts
, wlist
, ",; ");
12 for(const auto& a
: parts
) {
15 g_ednssubnets
.addMask(nm
);
18 g_ednsdomains
.add(DNSName(a
));