It leaves a bad taste, as AOSP as an open source system shouldn't have one supplier hardcoded, even as a fallback. It means patching the original code to get rid of it. Hence this is stuck in most devices. For me it should be open/configurable.
Conversation
Not sure what this has to do with AOSP being open source, and you misrepresent this as hard-coded. AOSP uses the network-provided or configured DNS servers, not Google DNS. It only uses Google DNS if nothing else is provided. Don't misrepresent it as hard-coded to Google DNS.
1
No code needs to be changed to alter the fallback either. It is a configuration option, not something hard-wired into the code:
github.com/GrapheneOS/pla
Trying to make drama and controversy out of nothing does nothing more than making you look desperate to find an issue with it.
2
First of all please know, that I am not attacking grapheneOS, not you, nor am I trying to make drama and controversy.
My point: If I compile AOSP and put it on my phone, Google DNS and captive portal are the fallback/default. I personally wouldn't like to have that,
2
as it means I need to actively work to get rid of it, by overlay or source code patch. This is why I say it leaves a taste, as this is an opt-out and leaves the work with me if I do not want this. It is not a drama nor a controversy, just opt-out strategy, which I dislike.
1
No source code patch is needed. It is a fallback that's not used in practice so it's unclear why you consider it relevant enough to even have a discussion about it. Incredibly hard to understand why it leaves a bad taste. What do you think the AOSP fallback should be instead?
1
What should the default captive portal URLs be instead? GrapheneOS leaves those with the same values. This is explained in grapheneos.org/faq#default-co. Data is not sent there. It makes an empty HTTP(S) GET request to check if internet access works and trigger captive portals.
1
Neither of these is a proprietary service. DNS is an open standard. The connectivity check URLs are an open standard: empty HTTP and HTTPS GET requests with an empty 204 response from the server. Go ahead and use connectivitycheck.grapheneos.org/generate_204 instead. It won't give you more privacy.
1
Would you feel better if AOSP used an android.com URL for the default? What difference does it make? What do you think AOSP should use as the default? You say it leaves a bad taste, but you don't provide an alternative, and you are free to change it without building.
1
For me privacy is increased, if less information about me can be put together (in which google is quite skilled). Hence leaving my IP on each network change with them. I would prefer an option in the settings to change that URL. And I would prefer not to have the fallback...
2
It is an empty GET request. Nothing distinguishes it from any of the other requests from other kinds of devices. If you change the URL, you are distinguishing yourself from other devices. There is an option to change the URL already. Not exposed via Settings for good reason.

