Patches for Add authoritative verification to check_dig [sf#3515506] [#1147]