getdnsapi / stubby

Stubby is the name given to a mode of using getdns which enables it to act as a local DNS Privacy stub resolver (using DNS-over-TLS).
https://dnsprivacy.org/dns_privacy_daemon_-_stubby/
BSD 3-Clause "New" or "Revised" License
1.19k stars 99 forks source link

stubby ignore extra argument #115

Open randomstuff opened 6 years ago

randomstuff commented 6 years ago

I spent quite a lot of time trying to undertsand what was wrong with my stubby instance.

It turns out I was using:

stubby stubby.yml

Instead of:

stubby -C stubby.yml

Apparently, extra arguments are ignored without error and without warning:

stubby -C stubby.yml  I can pass extra argument if I want

As a consequence, the user might think he's actually using a carefully chosen upstream servers but might instead be using the default ones.

saradickinson commented 6 years ago

Acknowledged - we should handle this better.

But I think in your specific case you should at least have seen this: WARNING: No Stubby config file found... using minimal default config (Opportunistic Usage)