Fix socat spawn (#172)

* Update dns.py

* Update dns.py
This commit is contained in:
Pascal Vizeli 2017-08-25 16:41:48 +02:00 committed by GitHub
parent 56fa1550d2
commit dcbb6a2160

View File

@ -5,7 +5,7 @@ import shlex
_LOGGER = logging.getLogger(__name__)
COMMAND = "socat UDP-LISTEN:53,fork UDP:127.0.0.11:53"
COMMAND = "socat UDP-RECVFROM:53,fork UDP-SENDTO:127.0.0.11:53"
class DNSForward(object):