Do-follow links from other domains/websites to your domain/website helps in increasing the DA. With my experience, the no-follow links do not help much with the DA but they do help with the PA to some extent.
Domain authority is a search engine ranking score, which developed by MOZ. domain authority is a search engine ranking score that predicts a website’s ability to rank on search engine results pages or SERPs. Quality backlinks from other website to our site will increase the domain authority.