How to set up openwrt metarouter as DNS server using dnsmasq

As ROS does not have dnsmasq capability, anybody know how to configure an imported openwrt metarouter as a DNS server(with dnsmasq enabled)?
I’ve imported the openwrt image, but do not know how to set it up. I’m doing this because the hated government polluting the DNS lookup to their unwanted sites like facebook, twitter.
I depend on dnsmasq to get correct ip addresses of those sites.
currently my routerboard working as a normal home router through fiber. I have vpn client setup in it so that a metarouter can lookup dns server 8.8.8.8(google dns) for those blocked sites.
but how to make it work? can anyone provide detailed steps?

Thank you in advance.

You can use RouterOS to do transparent DNS and create static entries.

http://wiki.mikrotik.com/wiki/Manual:IP/DNS

You can use RouterOS to do transparent DNS and create static entries.

Yes I’ve already done that, but there are too much to add. DNSmasq has a feature to forward all naming request to google dns, for example I just define: /facebook.com 8.8.8.8, all xyz.facebook.com
naming request will be farwarded to 8.8.8.8, this is what I want.

Why not just have google do all of your dns lookup instead of just certain sites?

because google dns is much slow compareing to local telecom dns, and I can only access google dns through vpn connection. this pptp vpn connection is slow and not stable.so I’m using it as minimum as possible.

Before you use metarouter you should read this topic:
http://forum.mikrotik.com/viewtopic.php?f=15&t=60746&start=400

I guess we have to wait until MetaROUTER is stable enough to be usable.

yes, metarouter is not stable, I tried yesterday, Ros get easily hang, and after power off and plug in, the metarouter instance disappeared! all configuration lost.