DNN platform is an MIT licensed application, meaning you can pretty much do anything you want with it, even sell it to someone else for $1million dollars.
You can use it for a free website, you can use it for a paid website, you can use it to build a killer application and then sell that for billions of dollars.
edit: link to license -> https://dotnetnuke.codeplex.com/license