This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| import tls from 'node:tls' | |
| const host = 'one.one.one.one' // Cloudflare DNS | |
| const port = 443 | |
| const timeout = 5_000 | |
| const path = '/dns/' | |
| const request = trim(` |
OlderNewer