Extract dnsmasq::upstreams class