To install Discourse you need access to the internet. To install Discourse you must have a domain name.
If you have a domain name, then you can set up ip addresses for your domain at the registrar where you got the domain.
If you don’t have a dns server how did you find this site?