You need to use your public ip and forward the port for it to work.
If you only want to resolve it internally you have to host the dns server and make every Device use your dns
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
You need to use your public ip and forward the port for it to work.
If you only want to resolve it internally you have to host the dns server and make every Device use your dns