Dns for lan on the yunohost server

I can access the yunohost server on the internet but I can not access it on lan.
My modem don’t have the nat loopback option.
Can I use the yunohost server as a DNS for the lan, so that it can map the domain name to ip of the yunohost ?

You can use the YunoHost DNS server or the one installed in your box.