I am wondering about setting my cpu as web server and was thinging about this DNS server, my ISP has one and charges fee to use it so I was wondering, can't i just make one???

Plz don't call me a noob if I can't cause the only thing i know about DNS servers is that they store domain names
Plz don't be cruel