Patches for Added port for check_dns [sf#1068247] [#276]