only update DNS record when name is different

Don't update the record when the name is the same, otherwise the zone and the serial will be unnecessary modified.