Update It is not recommend of using recursive DNS server for public service. Dnsmasq, however, only support recursive. Using dnsmasq in public can make your server vulnerable to DDOS attack. Why Dnsmasq After adding too many DNS records into my cloudflare account, I find