getting DNS to stick in OpenWRT


as of a week now, i have OpenWRT version “Kamikaze” 7.09 running on my linksys WRT54GL v1.1 (marked WRT54GL-DE on the box). by following the setup instructions here for PPPoE, almost everything worked perfectly.

one part of the setup did cause me trouble. i need to manually dictate DNS addresses for my ISP. it turns out that it’s not /etc/resolv.conf one should worry about, but /etc/dnsmasq.conf instead.

in /etc/dnsmasq.conf change the line:


…and change the ip addresses at the end of the line to match the DNS addresses that play well with your particular ISP. now the DNS entries will survive a router reboot. now if only i had something interesting to do with my old BEFW11S4v2:


2 Responses to “getting DNS to stick in OpenWRT”

  1. D-Link adds captcha to routers - Hack a Day Says:

    […] [photo: fbz] […]

  2. D-Link adds captcha to routers | Geeky Bitch Says:

    […] [photo: fbz] […]

Leave a Reply