Configuring dnsmasq for HomeAssistant installation


I am a beginner to Home Assistant. I have the following setup :-

  • Home Assistant running on PI3 via Docker
  • DuckDns configured with port forwarding

Problem : I am able to access Home Assistant Front End using DuckDNS outside of my home network but could not access it inside my home network.

Based on my research on internet, it seems we have to use dnsmasq addon to resolve this issue.

Since, I am using Home Assistant and not, I do not see the option to install add-on.

I have installed dnsmasq explicitly on PI3 using this command :-

sudo apt install dnsmasq

Can someone please tell me what to edit in the configuration file for dnsmasq (I am referring to config file for dnsmasq and not Hassio addon).