Section 31. All innholders, and all lodging house keepers who have been ordered to keep a register, shall post in a conspicuous place near the register a notice, to be furnished by the licensing authorities, containing the provisions of sections twenty-seven and twenty-nine relating to the entry of names and residences in the register, together with the penalty provided for their violation.