-
Notifications
You must be signed in to change notification settings - Fork 100
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stubby(v0.2.6)DNS resolvers are changed again and again even if the round_robin_upstreams='0' #346
Comments
I have tried the with the Cloudflare server and observed the same behavior.
|
As per the document, * But it does not behave like mentioned. why? Please suggest.
|
I think the issue here is the If you look in the config file you will see this comment:
Which is because of this behaviour. I see the following log if I do reduce
Please try this modification and it should change the behaviour with Cloudflare. You will have to experiment to see what is needed with your other resolvers. |
Thanks, it working fine. Let me try with all scenerio |
(OpenWrt v18.06.8, r7989-82fbd85747)
root@OpenWrt:~# uci show stubby
stubby.global=stubby
stubby.global.manual='0'
stubby.global.trigger='wan'
stubby.global.tls_query_padding_blocksize='128'
stubby.global.appdata_dir='/var/lib/stubby'
stubby.global.edns_client_subnet_private='1'
stubby.global.idle_timeout='10000'
stubby.global.listen_address='127.0.0.1@5453' '0::1@5453'
stubby.global.round_robin_upstreams='0'
stubby.global.tls_authentication='GETDNS_AUTHENTICATION_NONE'
stubby.global.log_level='7'
stubby.global.dns_transport='GETDNS_TRANSPORT_TLS' 'GETDNS_TRANSPORT_TCP' 'GETDNS_TRANSPORT_UDP'
stubby.@resolver[0]=resolver
stubby.@resolver[0].address='44.194.59.83'
stubby.@resolver[0].tls_auth_name='yyy'
stubby.@resolver[1]=resolver
stubby.@resolver[1].address='100.25.249.20'
stubby.@resolver[1].tls_auth_name='xxx'
stubby.@resolver[2]=resolver
stubby.@resolver[2].address='34.195.80.81'
stubby.@resolver[2].tls_auth_name='zzz'
stubby.@resolver[3]=resolver
stubby.@resolver[3].address='10.12.158.254'
stubby.@resolver[3].tls_auth_name='xxx'
stubby.@resolver[4]=resolver
stubby.@resolver[4].address='10.176.254.254'
stubby.@resolver[4].tls_auth_name='xxx'
stubby.@resolver[5]=resolver
stubby.@resolver[5].address='10.180.254.254'
stubby.@resolver[5].tls_auth_name='xxx'
root@OpenWrt:~# stubby -V
Stubby 0.2.6
Executed the below command from the OpenWrt terminal,
while true; do dig @127.0.0.1 -p 5453 google.com; sleep 11; done
Logs:
The text was updated successfully, but these errors were encountered: