Local DNS server

Is there a DNS server included in the Mozilla IOT Gateway?

I’m looking into emulating a cloud service for a device (Rockrobo S5 vacuum cleaner) which tries to talk to a bunch of *.xiaomi.com and *.io.mi.com domains, and I would like to redirect all of those to a single IP (the Gateway’s IP).

Is there a reasonable way of doing that?

Thank you!

You can use a dnsmasq server on your network (could be on the same host as the gateway) to redirect all of that traffic to some other host, but you’d have to set that as the DNS server for your entire network.