{"id":18081923,"url":"https://github.com/vindarel/open-nic","last_synced_at":"2025-04-12T15:10:21.463Z","repository":{"id":67525186,"uuid":"13195169","full_name":"vindarel/open-nic","owner":"vindarel","description":"Use open-nic DNS right now","archived":false,"fork":false,"pushed_at":"2013-12-02T23:15:07.000Z","size":140,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T09:44:44.105Z","etag":null,"topics":["opennic-dns"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vindarel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-29T15:54:57.000Z","updated_at":"2022-05-04T17:55:30.000Z","dependencies_parsed_at":"2023-02-20T19:01:07.385Z","dependency_job_id":null,"html_url":"https://github.com/vindarel/open-nic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fopen-nic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fopen-nic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fopen-nic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vindarel%2Fopen-nic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vindarel","download_url":"https://codeload.github.com/vindarel/open-nic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586233,"owners_count":21128997,"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":["opennic-dns"],"created_at":"2024-10-31T13:17:16.128Z","updated_at":"2025-04-12T15:10:21.436Z","avatar_url":"https://github.com/vindarel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"open-nic\n========\n\nUse OpenNIC DNS right now\n\nCurrent status as of 1st nov 13:\n- works fine on Debian\n- does not work on Mint/Ubuntu (runs as intented but for some reason it has no effect -see below)\n\nWhat is OpenNIC and why should I use it ?\n=================\n\nThe OpenNIC project is an alternative DNS provider. Users of the\nOpenNIC DNS servers are able to resolve all existing ICANN top-level\ndomains (TLD) as well as their own.\n\nYou should use it if you're concerned about censorship, if you don't\nwant your internet provider to know every site you visit, if you want\nto support independant projects, and maybe if you want to access\n.geek, .indy, .free, .ing… websites, that are only served by OpenNIC.\n\nhttp://www.opennicproject.org/\n\nhttps://en.wikipedia.org/wiki/OpenNIC\n\n\nHow to use this script\n======================\n\nThe scripts depends on the **resolvconf** package (by default in\nMint/Ubuntu) and the **BeautifulSoup4** python library (by default ?).\nTo install the dependencies:\n\n     sudo apt-get install resolvconf\n     sudo apt-get install python-pip \u0026\u0026 sudo pip install BeautifulSoup4\n\nDownload the script and call:\n\n     sudo python opennic-set.py\n\nOr run:\n\n    wget https://raw.github.com/vindarel/open-nic/master/opennic-set.py \u0026\u0026 sudo python opennic-set.py\n\nNow you will keep using the same DNS providers for all the usual\nwebsites, but you will also be able to access OpenNIC's TLDs. If you\nwould like to always use OpenNIC's servers, then you have to copy\n`/etc/resolvconf/resolv.conf.d/tail` to `…/head`.\n\nYou should now be able to access this website:\nhttp://wiki.opennic.glue/SponsoredTLDs). You can also test with:\n\n     python opennic-set.py --test\n\nWhat the script does\n===========\n\nMore precisely, the script does the following:\n- it retrieves which are the nearest OpenNIC DNS servers from your\n  location thanks to the project's homepage (if their site isn't\n  reachable it takes 3 servers by default)\n- it adds them to the configuration file used by resolvconf (`/etc/resolvconf/resolv.conf.d/tail`) (a backup is made)\n- it runs `resolvconf -u` to update the configuration (you can see changes in `/etc/resolv.conf`)\n- it tests wether we can access opennic's TLDs.\n\nEvery remark welcomed.\n\nKnown issues\n============\n\nIt runs as expected in Mint/Ubunt but has no effect. The bug is reproductible:\n- add the line\nnameserver 185.19.105.6 # openNic\nat the beginning of `/etc/resolvconf/resolv.conf.d/head`\n- execute sudo resolvconf -u\n- you *should* be able to access the url given above, but you can't. With Debian it's ok.\n\nMore info\n=========\n- on network conf: http://www.linux-france.org/prj/edu/archinet/systeme/ch03s02.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindarel%2Fopen-nic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvindarel%2Fopen-nic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvindarel%2Fopen-nic/lists"}