firmware icon indicating copy to clipboard operation
firmware copied to clipboard

DNS-request for .olsr zone are send to upstream server

Open SvenRoederer opened this issue 5 years ago • 0 comments

Bug report

What is the problem? I found, that queries to host of the .olsr-zone are sent to the upstream DNS servers, which will cause unneeded network-traffic. I found this by having my private-router routerA looking up .olsr by a connected freifunk-Router routerF. RouterA is also the upstream-router for RouterF. Querying an unknown host invalid.olsr on routerA caused a DNS-query to routerF. RouterF was not able to resolve this hostname and forwarded this back to upstream, here routerA. This loop caused high CPU- and network-load on both routers.

What is the expected behaviour? The .olsr-zone data is distributed by the olsrd and stored in local host-files (/tmp/hosts/olsr, /tmp/hosts/olsr.ipv6). So this zone can be resolved locally and there is no need to query upstream server. By default we provide public DNS-servers which of course can't resolve .olsr anyway.

Firmware Version: Dev-daily-1907 / bdd5613, but should affect any version

Site Configuration: I changed the default DNS-servers from the public DNS-server to my local DNS-server.

SvenRoederer avatar Feb 01 '20 01:02 SvenRoederer