{"id":24069593,"url":"https://github.com/suuhm/unifi-bulk","last_synced_at":"2026-05-10T23:36:13.847Z","repository":{"id":186777697,"uuid":"675742772","full_name":"suuhm/unifi-bulk","owner":"suuhm","description":"Easy to use shell script for mass editing your UniFi devices","archived":false,"fork":false,"pushed_at":"2023-08-07T17:48:20.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T20:44:43.939Z","etag":null,"topics":["bash","bulk","edge","edns","ssh","unifi"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suuhm.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}},"created_at":"2023-08-07T16:06:43.000Z","updated_at":"2023-08-07T17:52:43.000Z","dependencies_parsed_at":"2023-08-07T18:10:31.226Z","dependency_job_id":null,"html_url":"https://github.com/suuhm/unifi-bulk","commit_stats":null,"previous_names":["suuhm/unifi-bulk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/suuhm/unifi-bulk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suuhm%2Funifi-bulk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suuhm%2Funifi-bulk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suuhm%2Funifi-bulk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suuhm%2Funifi-bulk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suuhm","download_url":"https://codeload.github.com/suuhm/unifi-bulk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suuhm%2Funifi-bulk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32876024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"ssl_error","status_checked_at":"2026-05-10T13:40:02.145Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bash","bulk","edge","edns","ssh","unifi"],"created_at":"2025-01-09T14:59:08.509Z","updated_at":"2026-05-10T23:36:13.829Z","avatar_url":"https://github.com/suuhm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unifi-bulk\nEasy to use shell script for mass editing your UniFi devices\n\n```\n\n  _____  __      ___________________    _____________  _____________ __\n  __  / / /_________(_)__  ____/__(_)   ___  __ )_  / / /__  /___  //_/\n  _  / / /__  __ \\_  /__  /_   __  /    __  __  |  / / /__  / __  ,\u003c\n  / /_/ / _  / / /  / _  __/   _  /     _  /_/ // /_/ / _  /___  /| |\n  \\____/  /_/ /_//_/  /_/      /_/      /_____/ \\____/  /_____/_/ |_|\n\n\n=======================================================================\n========= UNIFI BULK PROCESSOR \u0026 EDNS ENABLER (c) 2023 suuhm ==========\n=======================================================================\n\n```\n\nOriginally, this script was only planned as EDNS helper-script (here is a link to the blog: https://the-suuhmmary.coldwareveryday.com/how-to-relay-client-ips-behind-upstream-dns-servers-with-edns/). \n\nBut now it became a relatively useful tool to upgrade and modify as many unifi devices as possible at the same time.\nWithout the unifi control suite mind you and completely natively tunneled over ssh\n\n## How to use\n\n1. Clone the script via\n```bash\ngit clone https://github.com/suuhm/unifi-bulk.git \u0026\u0026 cd unifi-bulk\nchmod +x unifi-bulk.sh\n```\n\n2. Edit and or add your wished hosts to the `unifi_ap_hosts.lst` file\n```lst\n#\n# HOSTNAME : IP LIST:\n# Don't use ':' in your name \n# cause of delimititers\n#\nUNIFI_AP_1:10.1.2.3.4\n...\nUNIFI_AP_1:10.1.2.3.26\nUNIFI_AP_1:10.1.2.3.17\n```\n\n3. Edit the `unifi-bulk.sh` file:\n```bash\n#\n# CONFIG SECTION\n#\nHOSTS=\"unifi_ap_hosts.lst\"\nUUN=\"ubnt\"\n# Plain Text Password\n# USE WITH CAUTION!!!\nPASSH_WRD=\"ubnt\"\n_IP_OF_EDGE_GATEWAY=192.168.1.1\n_DNS_PORT=53\n```\n\n### Important! Don't use plain text passwords!\nUse this method here for example root:\n\n```bash\necho \"YOURPASSWORD\" \u003e /root/.unifi_ap.pass; chmod 600 /root/.unifi_ap.pass\n# Edit the `unifi-bulk.sh` file:\nPASSH_WRD=\"$(cat /root/.unifi_ap.pass)\"\n```\n\n4. Run Script:\n```bash\n\n  _____  __      ___________________    _____________  _____________ __\n  __  / / /_________(_)__  ____/__(_)   ___  __ )_  / / /__  /___  //_/\n  _  / / /__  __ \\_  /__  /_   __  /    __  __  |  / / /__  / __  ,\u003c\n  / /_/ / _  / / /  / _  __/   _  /     _  /_/ // /_/ / _  /___  /| |\n  \\____/  /_/ /_//_/  /_/      /_/      /_____/ \\____/  /_____/_/ |_|\n\n\n=======================================================================\n========= UNIFI BULK PROCESSOR \u0026 EDNS ENABLER (c) 2023 suuhm ==========\n=======================================================================\n\nUsage: ./unifi-bulk.sh [OPTION] \u003c0|1\u003e | = 1 For AUTOLOGINFUNCTION\n\n        --get-apinfo                                              Get some info of APs\n        --set-hosts                                               Setup APs for edns\n        --run-cmd 0|1 (AUTOLOGIN MUST BE SET!!) ['COMMANDS']|-    Run Custom cmmands on AP\n        --help                                                    Get help/ this view\n```\n\n## Examples\n\nGet info with autologin of all AP's\n\n```bash\n./unifi-bulk.sh --get-apinfo 1\n```\n\nSet EDNS without autologin of all AP's\n\n```bash\n./unifi-bulk.sh --set-hosts 0\n```\n\nRun own commands with autologin of all AP's\n\n```bash\n./unifi-bulk.sh --run-cmd 1 'pwd \u0026\u0026 iptables -L; cat /tmp/system.cfg; info; echo \"Using a String with echo\"; sleep 1'\n```\n\nRun own hardcoded command (in head of script file) without autologin of all AP's\n\n```bash\n./unifi-bulk.sh --run-cmd 0 -\n```\n\n\n## All rights reserved 2023 (c) suuhm\n\n## Let me know if you find some bugs and feature wishes and post an issue!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuuhm%2Funifi-bulk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuuhm%2Funifi-bulk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuuhm%2Funifi-bulk/lists"}