Blocked dns for lookups

I saw that HA was sending a lot of dns lookups to the router gateway ip address. this was in spite of having 8.8.8.8 as the dns address. My gateway is also working as dns server so i started to get connection errors due to high demand in a short amount of time.

Right now, i blocked the local dns requests with a firewall rule. Everything seems to continue working and for the rest of the dns lookups 8.8.8.8 is being used.

Did i break anything with the firewall rule? I dont really any local dns entries.

Why would it break anything? That’s what rules are for. Your biggest issue is that you should probably find out why things aren’t using the proper DNS and fix that issue first. If you’re dropping the requests it just means the requests are being made.

Either have the devices stop making local requests or rewrite the request to be more functional.

I was under the impression that this was default behaviour of HA based on some forum posts. It does this discovery and ignores the dns settings

For everything else dns settings are obeyed.

Is there way what part of HA is doing this querying? I am not sure what to fix here

Unless there’s something I’m not aware of I don’t understand how its default.

It should use whatever is provided from your DHCP or static assignment, unless the integration, service, device or whatever has a hardcoded DNS entry.

It could be that its doing a local lookup for some type of hearbeat service, or maybe discovery, but it shouldn’t be so off the charts that its crashing or interfering with another service. If it is interfering then its a problem with that particular piece or integration itself.

You could start by looking at what you have installed and see if the discovery can be turned off or manually enter the components so that its not having to query out on the lan consistantly.

Of course, I could be all wrong.

I am talking about this one for example

https://www.reddit.com/r/homeassistant/comments/1cb7fgv/why_does_haos_querry_its_complete_subnet

or this one