I have an ASUS running 2.4-kernel 7.06. It is getting bad (slow/unusable) DNS servers from the ISP. I can't use static settings for the router either. Is there any way to work around this?
I've tried adding dns settings to the /etc/config/network file but no luck - they are ignored. I also tried rewriting the /etc/resolv.conf on boot in the /etc/init.d/custom-user-startup script but as soon as the DHCP lease is renewed it is over-written again. I currently have a cron job that is rewriting the /etc/resolv.conf file periodically but that isn't a long term solution.
Is there any way to trigger a script when the dhcp lease is renewed (possibly using hotplug)?
TIA