{"id":17382911,"url":"https://github.com/farid-rajabi/dns-changer","last_synced_at":"2026-04-25T16:33:34.511Z","repository":{"id":255916209,"uuid":"853874069","full_name":"farid-rajabi/dns-changer","owner":"farid-rajabi","description":"A command-line application assisting with changing the global DNS addresses of your system.","archived":false,"fork":false,"pushed_at":"2024-09-25T07:13:58.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T20:48:50.494Z","etag":null,"topics":["cli","dns","linux","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/farid-rajabi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-09-07T19:17:28.000Z","updated_at":"2024-09-25T07:16:15.000Z","dependencies_parsed_at":"2024-09-07T20:56:59.341Z","dependency_job_id":"eada9c30-a612-4c4e-beb6-56362f655ec5","html_url":"https://github.com/farid-rajabi/dns-changer","commit_stats":null,"previous_names":["farid-rajabi/dns-changer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/farid-rajabi/dns-changer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farid-rajabi%2Fdns-changer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farid-rajabi%2Fdns-changer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farid-rajabi%2Fdns-changer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farid-rajabi%2Fdns-changer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/farid-rajabi","download_url":"https://codeload.github.com/farid-rajabi/dns-changer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/farid-rajabi%2Fdns-changer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32269459,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cli","dns","linux","shell"],"created_at":"2024-10-16T07:39:49.680Z","updated_at":"2026-04-25T16:33:34.495Z","avatar_url":"https://github.com/farid-rajabi.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS Changer [![GitHub Release](https://img.shields.io/github/v/release/farid-rajabi/dns-changer)](https://github.com/farid-rajabi/dns-changer/releases/latest)\n\n[![GitHub License](https://img.shields.io/github/license/farid-rajabi/dns-changer)](https://github.com/farid-rajabi/dns-changer/blob/main/LICENSE)\n\nA command-line application assisting with changing the global DNS addresses of your system.\n\n**Available for ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux\u0026logoColor=black).**\n\nAvailable servers:\n\n| Server Name | Address 1 | Address 2 |\n| --- | --- | --- |\n| Google | 8.8.8.8 | 8.8.4.4 |\n| Yandex Basic | 77.88.8.8 | 77.88.8.1 |\n| Yandex Safe | 77.88.8.88 | 77.88.8.2 |\n| Cloudflare | 1.1.1.1 | 1.0.0.1 |\n| OpenDNS | 208.67.222.222 | 208.67.220.220 |\n| OpenDNS FamilyShield | 208.67.222.123 | 208.67.220.123 | \n| Comodo Secure | 8.26.56.26 | 8.20.247.20 |\n| Comodo Secure Internet Gateway | 8.26.56.10 | 8.20.247.10 |\n| Quad9 | 9.9.9.9 | 149.112.112.112 |\n| Norton ConnectSafe | 199.85.126.10 | 199.85.127.10 |\n| Level3 | 209.244.0.3 | 209.244.0.4 |\n| Shecan | 178.22.122.100 | 185.51.200.2 |\n| 403 | 10.202.10.202 | 10.202.10.102 |\n| Cisco Umbrella | 208.67.222.222 | 208.67.220.220 |\n| Verisign | 64.6.64.6 | 64.6.65.6 |\n| Electro | 78.157.42.101 | 78.157.42.100 |\n| Radar Plus | 10.202.10.10 | 10.202.10.11 |\n\n## Installation\n\n1.  Run the following command to install *resolvconf*:\n\n    ```sh\n    sudo apt-get install resolvconf\n    sudo apt-get install net-tools\n    ```\n\n2.  Check the service status using the following command:\n\n    ```sh\n    sudo systemctl status resolvconf.service\n    ```\n\n    If the output looks like the example below, it is active.\n\n    ```\n    $ sudo systemctl status resolvconf.service\n    ● resolvconf.service - Nameserver information manager\n        Loaded: loaded (/lib/systemd/system/resolvconf.service; enabled; vendor pr\u003e\n        Active: active (exited) since Tue 2024-09-03 13:17:57 +0330; 5h 52min ago\n        Docs: man:resolvconf(8)\n        Process: 285 ExecStart=/sbin/resolvconf --enable-updates (code=exited, stat\u003e\n    Main PID: 285 (code=exited, status=0/SUCCESS)\n            CPU: 4ms\n    ```\n\n    Otherwise, run the following commands to activate the service:\n\n    ```sh\n    sudo systemctl start resolvconf.service\n    sudo systemctl enable resolvconf.service\n    sudo systemctl status resolvconf.service\n    ```\n\n3.  Put the *dns-changer* file into your *~/bin* directory. (If this directory does not exist, create it.)\n\n4.  Run the following command to find the alias used for your router:\n\n    ```sh\n    iwconfig\n    ```\n\n5.  Open *~/bin/dns-changer* using a text editor and enter the alias after `alias=`.\n\n\u003e [!NOTE]\n\u003e Do NOT forget to surround the alias with double quotation marks. For example:\n\u003e\n\u003e ```\n\u003e alias=\"wlo1\"\n\u003e```\n\n6.  Log out or reboot to make the app available through your terminal.\n\n7.  Run the following command to check whether the app is available or not:\n\n    ```sh\n    dns-changer --version\n    ```\n\n8.  (Optional) Install *[speedtest-cli](https://github.com/sivel/speedtest-cli)* to make the *speed-test* command available through the app:\n\n```sh\npip install speedtest-cli\n```\n\n\u003e [!TIP]\n\u003e Try `pip3` in case you do not have `pip` installed on your system.\n\n## How to Use\n\nRun this line to see all the commands:\n\n```sh\ndns-changer --help\n```\n\nThe mostly used commands are as follows:\n\n- **Check** the current DNS addresses: Run this line to see your global DNS:\n\n    ```sh\n    dns-changer check\n    ```\n\n- **Change** the DNS addresses: Run this line to see the list of DNS servers and their corresponding addresses:\n\n    ```sh\n    dns-changer list\n    ```\n\n    Run this line to set your new global DNS addresses:\n\n    ```sh\n    dns-changer change \"server-name\"\n    ```\n\n\u003e [!NOTE]\n\u003e `server-name` is the full name of the server that is surrounded by brackets when it is listed using `dns-changer list`.\n\n- **Flush** the current DNS addresses: Flush the global DNS addresses using the following command:\n\n    ```sh\n    dns-changer flush\n    ```\n\n- **Set** custom DNS server addresses: Set your desired DNS addresses using the `set` command:\n\n    ```\n    dns-changer set \u003cadd.ress.1\u003e \u003cadd.ress.2\u003e\n    ```\n\n- (Optional) **Speed test**: Run this command to measure your download/upload speed:\n\n    ```sh\n    dns-changer speed-test\n    ```\n\n## Disclaimer\n\nThe developer, [Farid Rajabi](https://github.com/farid-rajabi), is not responsible for security and stability of the DNS servers mentioned above which are available through this application, [DNS Changer](https://github.com/farid-rajabi/dns-changer). It is a work of compilation of available DNS server addresses which are freely accessible through the internet.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarid-rajabi%2Fdns-changer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarid-rajabi%2Fdns-changer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarid-rajabi%2Fdns-changer/lists"}