From 2135af961034194bf0226f6873512a907d077c29 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 21 Sep 2019 00:58:16 +0200 Subject: [PATCH] up --- README.md | 2 +- src/main.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ff33bce..1e01ddf 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ That resolver can run locally and only respond to `127.0.0.1`. External resolver In order to support DoH in addition to DNSCrypt, a DoH proxy must be running as well. [rust-doh](https://github.com/jedisct1/rust-doh) is the recommended DoH proxy server. DoH support is optional, as it is currently way more complicated to setup than DNSCrypt due to certificate management. -Review the `encrypted-dns.toml` configuration file. This is where all the parameters can be configured, including the IP addresses to listen to. You should probably at least change the `provider_name` setting. +Review the [`encrypted-dns.toml`](https://raw.githubusercontent.com/jedisct1/encrypted-dns-server/master/encrypted-dns.toml) configuration file. This is where all the parameters can be configured, including the IP addresses to listen to. You should probably at least change the `provider_name` setting. Start the proxy. It will automatically create a new provider key pair if there isn't any. diff --git a/src/main.rs b/src/main.rs index 71c9059..8d67151 100644 --- a/src/main.rs +++ b/src/main.rs @@ -143,7 +143,6 @@ async fn respond_to_query( async fn resolve(globals: &Globals, mut packet: &mut Vec) -> Result, Error> { let original_tid = dns::tid(&packet); - dns::set_tid(&mut packet, 0); let mut hasher = globals.hasher.clone(); hasher.write(&packet);