From 72de58707fc87fd2ebfe536e2dd07df22b636b62 Mon Sep 17 00:00:00 2001 From: Michal Charemza Date: Thu, 16 Jan 2020 15:50:10 +0000 Subject: [PATCH] (refactor) No need for comment --- dnsrewriteproxy.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dnsrewriteproxy.py b/dnsrewriteproxy.py index ade4e69..aa578d6 100644 --- a/dnsrewriteproxy.py +++ b/dnsrewriteproxy.py @@ -1,13 +1,3 @@ -# We run a custom nameserver to respond to A record-requests -# -# - Conditionally proxy some requests to the VPC-DNS server [dnsmasq can do this] -# - Respond with a CNAME to certain records [dnsmasq cannot do this] -# -# We _could_ wrap dnsmasq with some custom code, so it polls a file to work -# out its CNAME limitation, and we asynchronously update that file, but since -# we're already hitting its limit, suspect its overall less hacky to just -# write a DNS server that response to requests in the way we want - from asyncio import ( CancelledError, Future,