What is best practice for static setting of domains hosts file style in docker?

local.list definitely does not solve my problem. My domains still resolves to my routers public IP address. Surely I can't be the only person who wants to resolve internally hosted domains?