r21194: sync DNS update code from SAMBA_3_0