merge dns and hosts to networking, closes #37