Skip to content

Commit

Permalink
no reply if there is no fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobg committed Aug 3, 2020
1 parent 207c279 commit cb65b01
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions dnsserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ def resolve(self, request, handler):

logger.info('found zone for %s, %d replies', request.q.qname, len(reply.rr))
return reply
elif self.address == "":
return reply

return super().resolve(request, handler)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from distutils.core import setup

setup(name='localtls',
version='1.0.7',
version='1.0.8',
description='DNS server for local TLS',
author='Corollarium',
author_email='[email protected]',
Expand Down

0 comments on commit cb65b01

Please sign in to comment.