From 14106493a7306270e3c6ef37f08f308acaa51c3a Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Wed, 4 Oct 2017 18:43:09 +0800 Subject: [PATCH] Step to bootstrap --- Readme.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Readme.md b/Readme.md index 188e6f4..f098e66 100644 --- a/Readme.md +++ b/Readme.md @@ -27,6 +27,12 @@ default settings, type: sudo cp /usr/lib/systemd/system/doh-client.service /etc/systemd/system/ sudoedit /etc/systemd/system/doh-client.service +Perform a DNS lookup to `dns.google.com`, and store the result in `/etc/hosts`. +This is used for bootstrap. + + dig +short dns.google.com + echo 'XXX.XXX.XXX.XXX dns.google.com' | sudo tee -a /etc/hosts + To automatically start DNS-over-HTTPS client as a system service, type: sudo systemctl start doh-client.service