moved some stuff around, added some comments
add code to detect removal and new domains in bindbackend