{"id":20761902,"url":"https://github.com/james-p-d/dns","last_synced_at":"2026-05-27T05:11:20.251Z","repository":{"id":170649441,"uuid":"223480315","full_name":"James-P-D/DNS","owner":"James-P-D","description":"A simple command-line Domain Name System tool in Ruby using raw UDP packets","archived":false,"fork":false,"pushed_at":"2021-07-04T20:41:57.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T17:24:23.848Z","etag":null,"topics":["dns","ruby","udp"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/James-P-D.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":"2019-11-22T20:21:33.000Z","updated_at":"2021-07-04T20:41:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ce0ee1b-a9a9-4ce8-9610-3b23d13cabe3","html_url":"https://github.com/James-P-D/DNS","commit_stats":null,"previous_names":["james-p-d/dns"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/James-P-D/DNS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FDNS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FDNS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FDNS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FDNS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/James-P-D","download_url":"https://codeload.github.com/James-P-D/DNS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/James-P-D%2FDNS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28020072,"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","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["dns","ruby","udp"],"created_at":"2024-11-17T10:27:25.447Z","updated_at":"2025-12-25T05:10:50.350Z","avatar_url":"https://github.com/James-P-D.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS\nA simple command-line [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System) tool in [Ruby](https://www.ruby-lang.org/en/) (v2.6.5p114) using raw UDP packets\n\n![Screenshot](https://github.com/James-P-D/DNS/blob/master/screenshot.gif)\n\n## Usage\n\n```\nC:\\Users\\jdorr\\Desktop\\Dev\\DNS\\src\u003eruby -v\nruby 2.6.5p114 (2019-10-01 revision 67812) [x64-mingw32]\n\nC:\\Users\\jdorr\\Desktop\\Dev\\DNS\\src\u003eruby dns.rb\nruby DNS.rb domain-host lookup-host1..lookup-hostN\ne.g. ruby DNS.rb 192.168.0.1 news.bbc.co.uk\ne.g. ruby DNS.rb 192.168.0.1 www.facebook.com www.twitter.com www.instagram.com\n\nC:\\Users\\jdorr\\Desktop\\Dev\\DNS\\src\u003eruby dns.rb 192.168.0.1 www.facebook.com www.twitter.com\nQuery www.facebook.com sent to 192.168.0.1\n2 answers received\nResponse:\n        Type:   5       (CNAME (Canonical NAME for an alias))\n        TTL:    60\n        Name:   star-mini.c10r.facebook.com\nResponse:\n        Type:   1       (A (Host Address))\n        TTL:    60\n        Name:   157.240.1.35\n\nQuery www.twitter.com sent to 192.168.0.1\n3 answers received\nResponse:\n        Type:   5       (CNAME (Canonical NAME for an alias))\n        TTL:    6\n        Name:   twitter.com\nResponse:\n        Type:   1       (A (Host Address))\n        TTL:    6\n        Name:   104.244.42.1\nResponse:\n        Type:   1       (A (Host Address))\n        TTL:    6\n        Name:   104.244.42.65\n\nComplete.\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-p-d%2Fdns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjames-p-d%2Fdns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjames-p-d%2Fdns/lists"}