more interlocks when modifying hosts db