{"id":17026435,"url":"https://github.com/zapthedingbat/node-dns-fix","last_synced_at":"2026-04-11T06:34:07.936Z","repository":{"id":85168210,"uuid":"176360705","full_name":"zapthedingbat/node-dns-fix","owner":"zapthedingbat","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-15T17:32:27.000Z","size":2,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T03:02:26.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/zapthedingbat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-18T20:03:50.000Z","updated_at":"2019-03-18T20:04:06.000Z","dependencies_parsed_at":"2024-10-14T07:32:49.774Z","dependency_job_id":"6ada7e76-eabe-49cf-a5e8-2da371d643a0","html_url":"https://github.com/zapthedingbat/node-dns-fix","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/zapthedingbat%2Fnode-dns-fix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapthedingbat%2Fnode-dns-fix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapthedingbat%2Fnode-dns-fix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapthedingbat%2Fnode-dns-fix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapthedingbat","download_url":"https://codeload.github.com/zapthedingbat/node-dns-fix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245007239,"owners_count":20546143,"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-10-14T07:32:42.782Z","updated_at":"2025-12-30T23:45:07.554Z","avatar_url":"https://github.com/zapthedingbat.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Node DNS failure experiment\n===\n\nAttempts to reproduce the `EAI_AGAIN` exception thrown in the node application that causes\nthe process to exit.\n\n## Running\n\nOn a machine with node and docker installed just run `npm start`\n\nThis will:\n- Build a simple node docker image\n- Run the docker container with an unresponsive DNS server, and mount the current directory under `/app`\n- Execute the `error.js` with node in the container\n- Execute the `fix.js` with node in the container\n\n## Result\n\n```\nError: Error sending hot-shots message: Error: getaddrinfo EAI_AGAIN www.example.com\n    at handleCallback (/app/node_modules/hot-shots/lib/statsd.js:327:32)\n    at process._tickCallback (internal/process/next_tick.js:63:19)\nEmitted 'error' event at:\n    at handleCallback (/app/node_modules/hot-shots/lib/statsd.js:339:21)\n    at process._tickCallback (internal/process/next_tick.js:63:19)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapthedingbat%2Fnode-dns-fix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapthedingbat%2Fnode-dns-fix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapthedingbat%2Fnode-dns-fix/lists"}