{"id":39566559,"url":"https://github.com/sgmac/dnscli","last_synced_at":"2026-01-18T07:14:42.774Z","repository":{"id":35771762,"uuid":"40051396","full_name":"sgmac/dnscli","owner":"sgmac","description":"DNSimple client in Go","archived":false,"fork":false,"pushed_at":"2015-08-17T18:17:18.000Z","size":161,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T23:14:57.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/sgmac.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}},"created_at":"2015-08-01T15:42:52.000Z","updated_at":"2016-12-09T19:40:14.000Z","dependencies_parsed_at":"2022-08-17T21:35:08.282Z","dependency_job_id":null,"html_url":"https://github.com/sgmac/dnscli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sgmac/dnscli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgmac%2Fdnscli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgmac%2Fdnscli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgmac%2Fdnscli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgmac%2Fdnscli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sgmac","download_url":"https://codeload.github.com/sgmac/dnscli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sgmac%2Fdnscli/sbom","scorecard":{"id":814412,"data":{"date":"2025-08-11","repo":{"name":"github.com/sgmac/dnscli","commit":"d69293e31ef46c9d4a98f21b6f7c16a0e05699cb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T13:54:13.997Z","repository_id":35771762,"created_at":"2025-08-23T13:54:13.997Z","updated_at":"2025-08-23T13:54:13.997Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28532790,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":[],"created_at":"2026-01-18T07:14:42.718Z","updated_at":"2026-01-18T07:14:42.768Z","avatar_url":"https://github.com/sgmac.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dnscli\n\ndnscli is an app that interacts with DNSimple API from the CLI.\n\n### Introduction\n\nBasic operations such as delete, create or update your DNS entries should be quick. If you  \ndeploy a new server, it should be pretty fast to have DNS resolution,\nthis is why I came up with ```dnscli```.\n\n### Installation\n\nTo install simply run:\n```\n$ go get -u github.com/sgmac/dnscli\n```\nThe only dependency so far is [github.com/codegangsta/cli](https://github.com/codegangsta/cli) and [github.com/Sirupsen/logrus](https://github.com/Sirupsen/logrus).\n\nMake sure you have properly set your GO environment before using the command. [See the install instructions](http://golang.org/doc/install.html).\n\n### Configuration\n\nThe default path for the configuration is located in ```$HOME/.dnscli/config.json```. The first time you run ```dnscli``` it creates an empty configuration, \nyou need to update the information with your credentials.\n\n```json\n{\n    \"ApiURL\": \"https://api.dnsimple.com/v1/\",\n    \"Domain\": \"example.com\",\n    \"Mail\": \"nobody@example.com\",\n    \"Token\": \"your_token\"\n}\n```\n\n### Getting started\n\nYou can manage your records on a daily basis from the CLI, operations such as ```list, delete, create, update and get``` are fully supported. Do not forget to provide your credentials.\n\n#### Records\n```bash\n$ dnscli records list\nType         Name                     TTL       RecordID     Content\nA            .example.com             3600      5163024      2.3.4.5\nA            test.example.com         3600      4212532      7.7.7.7\nA            nil.example.com          3600      6253203      1.2.3.6\nA            lab.example.com          3600      4689691      27.3.14.37\nA            monitoring.example.com   3600      3203149      134.213.137.66\nA            dashb.example.com        3601      1133621      78.23.4.55\nA            wiki.example.com         3600      5193141      62.24.1.32\nCNAME        mail.example.com         3600      1307110      www.coolmail.com\nCNAME        www.example.com          3600      2642364      example.com\nMX           .example.com             3600      1189408      in1-smtp.com\nMX           .example.com             3600      5389609      in2-smtp.com\nSPF          .example.com             3600      4779156      v=spf1 include\nTXT          .example.com             3600      8549313      v=spf1 include\n```\n\nYou can provide a different domain from the CLI.\n\n```$ dnscli -d example2.com records  list```\n\n##### Add record\nAdding a new record is pretty easy. Let's say you want to add ```demo.example.com```, below\nis the command. If you do not specify a name (-n), you are adding the ```.example```.\n\n\n```bash\n$ dnscli records add -t A -c 192.243.125.30  -n demo\nType                 Name                   TTL                   RecordID              Content\nA                    demo.example.com       3600                  3122300               192.243.125.30 \n```\n\nFor operations such as ```delete, get or update``` you need to provide the **RecordID** as an option.\n\n#### Auto renewal\n\nAuto renewal can be enabled/disabled:\n```bash\n$ dnscli  autorenewal  -e\nDomain                Lockable              AutoRenew\nexample.com             true                  true\n```\n\n#### Bash completion\nIt has built-in bash completion thanks to [codegangsta/cli](https://github.com/codegangsta/cli), however you will need to source it from\nsome place:\n\n```\nPROG=dnscli source $GOPATH/src/github.com/codegangsta/cli/autocomplete/bash_autocomplete\n```\n\n#### TODO\n\n- Move ```records``` and ```autorenewal``` to packages\n- Better testing\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgmac%2Fdnscli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsgmac%2Fdnscli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsgmac%2Fdnscli/lists"}