The only way to get rid of dry rot is to cut out all effected area + 1meter past into good timber then treat any remaining timber with a good dry rot treatment like cuprinols and then fit new timber and treat that aswell. Burn all effected timber so the fungi and its spores cannot contaminate any other timbers.