Implement hosts block feature