Query based host