s4 provision/dns: Clean up backend handling