Updating templates with DNS resource