Added api for dns server update.