4

Is it possible to use Chromium's Secure DNS with Puppeteer on Linux?

I can't see anything in the docs, nor has using command line arguments helped.

Here's the code I used to try and launch the browser with secure DNS:

const browser = await puppeteer.launch({args: [
         '--enable-features="dns-over-https<DoHTrial"',
         '-force-fieldtrials="DoHTrial/Group1"',
         '--force-fieldtrial-params="DoHTrial.Group1:server/https%3A%2F%2F%5B2606%3A4700%3A4700%3A%3A1001%5D%2Fdns-query/method/POST'
]});

(note that I changed the server from 1.1.1.1 to the IPv6 equivalent).

yeniv
  • 1,589
  • 11
  • 25

0 Answers0