Hi guys, After trying more than one week I finally give up and ask you. But first, my configuration: Ruter: Asus RT-N16 with Tomato Firmware 1.28.0000 MIPSR2-109 K26 USB AIO, internet PPPoE, dynamic ip. I have a DDNS account (no-ip.com) linked to ruter's wan ip, something like: 'example.sytes.net'. Now dnsmasq custom config looks like: Code: address=/dev/127.0.0.1 so when i type from lan anything.dev with return localhosts address. What I'm trying to do is to make dnsmasq respond to requests from internet and for any subdomain of 'example.sytes.net' to respond with the ip address of 'example.sytes.net'. For example, if: 126.96.36.199 is the ip address of 'example.sytes.net' (my WAN IP address) a request for 'dev.example.sytes.net' or 'test.dev.example.net' will give 188.8.131.52. Here is almost the same thing I want: http://www.linksysinfo.org/index.php?threads/make-dnsmasq-respond-to-internet-lookups.29638/ Problems: 1) Dnsmasq doesn't respond to outside request (tested with dig and nslookup) Tried interface=ppp0 (PPPoE) and interface=vlan1 and (in dnsmasq config) iptables -I INPUT -i ppp0 -p udp --dport 53 -j ACCEPT (in firewall script) iptables -I INPUT -i vlan1 -p udp --dport 53 -j ACCEPT (in firewall script) Tried port forwarding. Nothing works 2) How to config dnsmasq to respond for every subdomain with the ip address of domain (wan). Thanks.