Improve update of large DNS zones in PowerDNS sync agent

Change-Id: I6dbafb11a2926aeeffcf308a3a48bf8890f44f00