How to forward to local ip on hassio?

i have problem after installed duckdns addon
i havent nat lookback on router so local connections on hassio with base_url to doesn t work
such problem can be easily solved on windows - add host - ip to file host.etc
but how to solve it on hassio ?
ngix proxy ?
with what config ?

Get your local DNS server to supply the correct IP address.

dnsmasq helped me