{"id":20842808,"url":"https://github.com/mudge/homer","last_synced_at":"2025-05-08T22:41:35.169Z","repository":{"id":62440189,"uuid":"163607016","full_name":"mudge/homer","owner":"mudge","description":"A lightweight DNS-over-HTTPS (\"DOH\") proxy written in Rust.","archived":false,"fork":false,"pushed_at":"2019-01-03T21:25:24.000Z","size":55,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T18:53:38.754Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/mudge/homer/releases","language":"Rust","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/mudge.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":"2018-12-30T17:58:53.000Z","updated_at":"2025-01-08T07:48:40.000Z","dependencies_parsed_at":"2022-11-01T22:00:51.699Z","dependency_job_id":null,"html_url":"https://github.com/mudge/homer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhomer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhomer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhomer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fhomer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudge","download_url":"https://codeload.github.com/mudge/homer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160727,"owners_count":21863624,"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-11-18T01:25:34.492Z","updated_at":"2025-05-08T22:41:35.150Z","avatar_url":"https://github.com/mudge.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Homer [![Build Status](https://travis-ci.org/mudge/homer.svg?branch=master)](https://travis-ci.org/mudge/homer)\n\nA lightweight DNS-over-HTTPS (\"DOH\") proxy written in Rust.\n\nHomer is a lightweight proxy that will securely forward any requests to a DNS-over-HTTPS resolver such as [Cloudflare](https://developers.cloudflare.com/1.1.1.1/dns-over-https/).\n\n**Current version:** 0.2.0  \n**Supported Rust version:** 1.31\n\n## Install\n\nDownload the latest binary for your architecture from the [releases page](https://github.com/mudge/homer/releases).\n\n## Usage\n\n```\nUSAGE:\n    homer [OPTIONS]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -b, --bind \u003cbind\u003e               listen for DNS requests on this address and port [default: 127.0.0.1:53]\n    -u, --upstream \u003cupstream\u003e...    URL(s) of upstream DNS-over-HTTPS service [default: https://1.1.1.1/dns-query]\n```\n\n### Running on a Pi-Hole\n\nTo use Homer to encrypt your DNS requests on a Pi-Hole, download and install the latest [release](https://github.com/mudge/homer/releases):\n\n```console\npi@raspberrypi:~ $ wget https://github.com/mudge/homer/releases/download/v0.2.0/homer-v0.2.0-arm-unknown-linux-gnueabihf.tar.gz\npi@raspberrypi:~ $ tar xzf homer-v0.2.0-arm-unknown-linux-gnueabihf.tar.gz\npi@raspberrypi:~ $ sudo mv homer /usr/local/bin/\n```\n\nYou can confirm Homer is working properly by asking for the current version:\n\n```console\npi@raspberrypi:~ $ homer --version\nHomer 0.2.0\n```\n\nYou can then configure Homer to run as a Systemd service that listens on port 5053 and forwards requests to [Cloudflare's DNS-over-HTTPS resolvers](https://developers.cloudflare.com/1.1.1.1/dns-over-https/).\n\nFirst, create a system user for Homer:\n\n```console\npi@raspberrypi:~ $ sudo adduser --system --no-create-home homer\n```\n\nThen write out a Systemd unit file:\n\n```console\npi@raspberrypi:~ $ sudo tee /lib/systemd/system/homer.service \u003c\u003cEOF\n[Unit]\nDescription=Homer\nAfter=syslog.target network-online.target\n\n[Service]\nType=simple\nUser=homer\nExecStart=/usr/local/bin/homer -b 127.0.0.1:5053 -u https://1.1.1.1/dns-query -u https://1.0.0.1/dns-query\nRestart=on-failure\nRestartSec=10\nKillMode=process\n\n[Install]\nWantedBy=multi-user.target\nEOF\n```\n\nYou can now start up Homer and check it is running:\n\n```console\npi@raspberrypi:~ $ sudo systemctl enable homer\npi@raspberrypi:~ $ sudo systemctl start homer\npi@raspberrypi:~ $ sudo systemctl status homer\n```\n\nFinally, you can change your Pi-Hole configuration to use `127.0.0.1#5053` as its sole upstream DNS server and confirm your requests are now secure by using [Cloudflare's connection information page](https://1.1.1.1/help).\n\n## References\n\n* https://developers.cloudflare.com/1.1.1.1/dns-over-https/\n\n## License\n\nCopyright © 2018-2019 Paul Mucur\n\nDistributed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudge%2Fhomer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudge%2Fhomer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudge%2Fhomer/lists"}