daed icon indicating copy to clipboard operation
daed copied to clipboard

[Bug Report] Built-in dns random crash

Open sommio opened this issue 1 year ago • 2 comments

Checks

  • [X] I have searched the existing issues
  • [X] I have read the documentation
  • [X] Is it your first time sumbitting an issue

Current Behavior

built-in dns was not available but the direct connection via ip worked fine

Dec 23 12:19:41 arch daed[682]: time="Dec 23 12:19:41" level=warning msg="handlePkt: dial tcp <nil>->1.1.1.1:53: i/o timeout"
Dec 23 12:19:41 arch daed[682]: time="Dec 23 12:19:41" level=warning msg="handlePkt: dial tcp <nil>->1.1.1.1:53: i/o timeout"
Dec 23 12:19:38 arch daed[682]: time="Dec 23 12:19:38" level=warning msg="handlePkt: dial tcp <nil>->1.1.1.1:53: i/o timeout"
Dec 23 12:19:38 arch daed[682]: time="Dec 23 12:19:38" level=warning msg="handlePkt: dial tcp <nil>->1.1.1.1:53: i/o timeout"
Dec 23 12:19:35 arch daed[682]: time="Dec 23 12:19:35" level=warning msg="handlePkt: failed to read DNS resp payload length: read tcp 192.168.x.x:4xxxx->1xx.2xx.2xx.1xx:1xxxx: use of closed network connection"
Dec 23 12:19:34 arch daed[682]: time="Dec 23 12:19:34" level=warning msg="handlePkt: dial tcp <nil>->1.1.1.1:53: i/o timeout"

Expected Behavior

I want the built-in dns to work properly.

Steps to Reproduce

No response

Environment

  • Daed version: 0.9.0-1
  • OS (e.g cat /etc/os-release): Arch Linux
  • Kernel (e.g. uname -a): linux-cachyos-6.12.6-1
  • Others:
    • systemd: 257
    • networkmanager: 1.50.0

sommio avatar Dec 23 '24 17:12 sommio

Thanks for opening this issue!

dae-prow[bot] avatar Dec 23 '24 17:12 dae-prow[bot]

The built-in dns doesn't seem to work in my setup as well. So I configured systemd-networkd as system DNS provider. You may try that as well.

tang-yikai avatar Mar 31 '25 08:03 tang-yikai