During the prevalence among domestic animals of any of the diseases referred to in this chapter, any owner or keeper of these animals may post upon the premises a notice forbidding all persons to enter any building or enclosure in which animals are kept. No person may then enter, except a member or agent of the board.