yes, there is network-online.target (mind bug 1130355). If dnsmasq monitors resolv.conf and can update itself when resolv.conf changes there should be no need to use that crutch though. We just need to make sure resolv.conf is there even when empty.