{"id":19068856,"url":"https://github.com/cutenode/dnswap","last_synced_at":"2025-06-30T08:34:11.962Z","repository":{"id":102964233,"uuid":"236246264","full_name":"cutenode/dnswap","owner":"cutenode","description":"dnswap (DNS Node.js Swapper With a Purpose) is a tool built to swap out your macOS system's DNS servers rapidly.","archived":false,"fork":false,"pushed_at":"2020-01-25T23:56:53.000Z","size":3,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-22T03:31:49.262Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cutenode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-25T23:55:03.000Z","updated_at":"2020-08-25T12:50:20.000Z","dependencies_parsed_at":"2023-03-10T03:46:06.818Z","dependency_job_id":null,"html_url":"https://github.com/cutenode/dnswap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cutenode/dnswap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fdnswap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fdnswap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fdnswap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fdnswap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cutenode","download_url":"https://codeload.github.com/cutenode/dnswap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutenode%2Fdnswap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262739364,"owners_count":23356710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T01:12:23.353Z","updated_at":"2025-06-30T08:34:11.929Z","avatar_url":"https://github.com/cutenode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dnswap\n\ndnswap (DNS Node.js Swapper With a Purpose) is a tool built to swap out your **macOS** system's DNS servers rapidly.\n\n## Why\n\nI work at what - at the time of writing - is one of the world's largest companies, and the guest / corp WiFi **really** doesn't like it if you have custom DNS.\n\nInstaed of opening `System Preferences \u003e Network \u003e Advacned \u003e DNS \u003e \u003cremove or re-add custom DNS\u003e` every day I am in the office, I instead spent the second hour of a flight from SF to JFK building this tool.\n\n## Usage\n\nVia npm:\n\n```sh\nnpm i -g dnswap\ndnswap # will tell you your current DNS settings\ndnswap --google # or -g, will swap to Google Public DNS\ndnswap --cloudflare # or -c, will swap to CloudFlare DNS\ndnswap --empty # or -e, will remove custom DNS servers\n```\n\nVia npx (this won't help if you can't connect to the internet and don't have the module locally cached!):\n\n```sh\nnpx dnswap # will tell you your current DNS settings\nnpx dnswap --google # or -g, will swap to Google Public DNS\nnpx dnswap --cloudflare # or -c, will swap to CloudFlare DNS\nnpx dnswap --empty # or -e, will remove custom DNS servers\n```\n\n## Contributing\n\nContributions are welcome. I probably won't triage issues rapidly, but if you want to PR stuff and it works on my machine or enhances this documentation, I'm happy to accept it. More high-performance and/or privacy-centric public and free DNS options are welcome.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutenode%2Fdnswap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcutenode%2Fdnswap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutenode%2Fdnswap/lists"}