Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 Stange Stubby behaviour #250

Open
3 tasks done
daemonserj opened this issue Apr 20, 2022 · 2 comments
Open
3 tasks done

馃悰 Stange Stubby behaviour #250

daemonserj opened this issue Apr 20, 2022 · 2 comments
Assignees
Labels

Comments

@daemonserj
Copy link

daemonserj commented Apr 20, 2022

Checklist

Describe the issue
Strange behaviour using Stubby 0.3 on OpenWRT 19.07
While executing 3 times
getdns_query -d @127.0.0.1:5453 www.snbforums.com | grep address_data
I've got 3 different results: only ipv4 addresses, only ipv6 addresses and both.

root@OpenWrt:~# getdns_query -d @127.0.0.1:5453 www.snbforums.com | grep address_data
      "address_data": <bindata for 104.26.8.66>,
      "address_data": <bindata for 104.26.9.66>,
      "address_data": <bindata for 172.67.69.81>,
root@OpenWrt:~#
root@OpenWrt:~# getdns_query -d @127.0.0.1:5453 www.snbforums.com | grep address_data
      "address_data": <bindata for 2606:4700:20::681a:842>,
      "address_data": <bindata for 2606:4700:20::681a:942>,
      "address_data": <bindata for 2606:4700:20::ac43:4551>,
root@OpenWrt:~#
root@OpenWrt:~# getdns_query -d @127.0.0.1:5453 www.snbforums.com | grep address_data
      "address_data": <bindata for 2606:4700:20::681a:842>,
      "address_data": <bindata for 2606:4700:20::681a:942>,
      "address_data": <bindata for 2606:4700:20::ac43:4551>,
      "address_data": <bindata for 104.26.8.66>,
      "address_data": <bindata for 104.26.9.66>,
      "address_data": <bindata for 172.67.69.81>,

Replacing Stubby Blahdns config by default Cloudflare config solve the problem and results are the same: both ipv4+ipv6 addresses.
I am not sure that it is Blahdns issue but I can't explain why it's happened.

Here is Blahdns config:
stubby.zip

To Reproduce
Steps to reproduce the behavior:

  1. Configure stubby 0.3
  2. Exec in router's commandline:
    getdns_query -d @127.0.0.1:5453 www.snbforums.com | grep address_data

Expected behavior
Same DNS responce

  • OS:
    OpenWRT 19.07
@zoonderkins
Copy link
Owner

Okay, let me check it.

@zoonderkins zoonderkins self-assigned this Apr 21, 2022
@zoonderkins
Copy link
Owner

zoonderkins commented Apr 24, 2022

Ya, I can reproduce this issue. However, maybe you can add tls_port to resolve this issue or disable edns0
I need some time to figure out what cause this wired issue.

- address_data: 45.91.92.121
  tls_auth_name: "dot-ch.blahdns.com"
  tls_port: 853

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants