Write ip instead of hostname as message server into db store