{"id":31845881,"url":"https://github.com/fernvenue/dns-upstream","last_synced_at":"2025-10-12T08:26:32.353Z","repository":{"id":105539716,"uuid":"375974663","full_name":"fernvenue/dns-upstream","owner":"fernvenue","description":"A pure shell to download, validate, and configure upstream DNS servers for dnsproxy, AdGuardHome.","archived":false,"fork":false,"pushed_at":"2025-09-13T21:35:44.000Z","size":49,"stargazers_count":51,"open_issues_count":0,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-13T22:09:49.974Z","etag":null,"topics":["adguardhome","dns","dns-over-http3","dns-over-https","dns-over-tls","dns-upstream","dnsproxy","doh","doq","dot","sdns","upstream"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fernvenue.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-11T09:35:46.000Z","updated_at":"2025-09-13T21:35:47.000Z","dependencies_parsed_at":"2023-12-15T18:25:57.024Z","dependency_job_id":"ac1a811b-8a8d-444a-ad28-b1b53e843638","html_url":"https://github.com/fernvenue/dns-upstream","commit_stats":null,"previous_names":["fernvenue/dns-upstream"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fernvenue/dns-upstream","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fdns-upstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fdns-upstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fdns-upstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fdns-upstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fernvenue","download_url":"https://codeload.github.com/fernvenue/dns-upstream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fernvenue%2Fdns-upstream/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010797,"owners_count":26084807,"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-10-12T02:00:06.719Z","response_time":53,"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":["adguardhome","dns","dns-over-http3","dns-over-https","dns-over-tls","dns-upstream","dnsproxy","doh","doq","dot","sdns","upstream"],"created_at":"2025-10-12T08:26:31.475Z","updated_at":"2025-10-12T08:26:32.348Z","avatar_url":"https://github.com/fernvenue.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNS Upstream\n\n[![dns-upstream](https://img.shields.io/badge/LICENSE-GPLv3%20Liscense-blue?style=flat-square)](./LICENSE)\n[![dns-upstream](https://img.shields.io/badge/GitHub-DNS%20Upstream-blueviolet?style=flat-square\u0026logo=github)](https://github.com/fernvenue/dns-upstream)\n\nA pure shell to download, validate, and configure upstream DNS servers for [dnsproxy](https://github.com/AdguardTeam/dnsproxy), [AdGuardHome](https://github.com/AdguardTeam/AdGuardHome).\n\n## Features\n\n- [x] Download and validate upstream DNS configuration files;\n- [x] Support multiple DNS server formats (IPv4, IPv6, UDP, TCP, TLS, HTTPS, HTTP/3, QUIC, SDNS);\n- [x] Domain-specific DNS server configuration with [/domain/]dns syntax;\n- [x] Custom DNS server replacement for domain-specific entries;\n- [x] Multiple upstream source support (command line, environment variables, local files);\n- [x] Configurable logging levels (debug, info, warn, error);\n- [x] Systemd service integration with automatic restart capability;\n- [x] Built-in validation for all DNS server configurations;\n- [x] Flexible output file configuration for AdGuardHome integration.\n- [x] Telegram notification support.\n\n## Usage\n\nDownload script:\n\n```bash\ncurl -o /usr/local/bin/dns-upstream.sh https://raw.githubusercontent.com/fernvenue/dns-upstream/master/dns-upstream.sh\n```\n\nGive execute permissions:\n\n```bash\nchmod +x /usr/local/bin/dns-upstream.sh\n```\n\nDownload systemd service and timer templates:\n\n```bash\ncurl -o /etc/systemd/system/dns-upstream.service https://raw.githubusercontent.com/fernvenue/dns-upstream/master/dns-upstream.service\ncurl -o /etc/systemd/system/dns-upstream.timer https://raw.githubusercontent.com/fernvenue/dns-upstream/master/dns-upstream.timer\n```\n\nCustomize the service and timer files if needed, then enable and start the timer:\n\n```bash\nsystemctl enable dns-upstream.timer --now\nsystemctl status dns-upstream.timer\n```\n\n## Links\n\n- [AdguardTeam/dnsproxy](https://github.com/AdguardTeam/dnsproxy)\n- [AdguardTeam/AdGuardHome](https://github.com/AdguardTeam/AdGuardHome)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernvenue%2Fdns-upstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffernvenue%2Fdns-upstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffernvenue%2Fdns-upstream/lists"}