Skip to content

Failed to resolve specific DNS request with OpenWrt 22.03 #339

@amitguptakiitian

Description

@amitguptakiitian

Hi,

I am using an Asus rt-ax53u router flashed with 22.03.3 OpenWRT firmware. I have enabled stubby for DOT.
dnsmasq is failed to resolve the DNS URL if the DNS response is more than 512 bytes.
nslookup output for the failed response is as below.
image

I tried capturing the lo interface network packets and observed that message truncated bit is set in the DNS response.
Ideally, either edns0 option or dns request must be be sent over tcp to handle such scenario but it is not happening.
Below is the DNS response snapshot were message truncated bit is set.

image

OpenWrt version
r20028-43d71ad93e

OpenWrt target/subtarget
ramips/mt7621

Device
ASUS RT-AX53U

dnsmasq Configuration
image

I checked with the lower version 19.07 of openwrt and it works. Below is the response captured at lo interface.
image

the below response I received with OpenWrt 22.03.
image

can someone help me to resolve this issue?
Thanks in Advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions