rewrite resolv.conf after any interface state change (not just up)