refactor dnscrypt parse
add test
This commit is contained in:
parent
ee37b9e95e
commit
a53b9c7a8e
10 changed files with 608 additions and 540 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import subprocess
|
||||
import logging
|
||||
import subprocess
|
||||
from urllib.request import urlopen
|
||||
|
||||
from utils.dnsstamps import parse, DNSoverHTTPS
|
||||
from dnscrypt import parse, DNSoverHTTPS
|
||||
|
||||
SMARTDNS_GFW_CONF_FILE = '/etc/smartdns/conf.d/gfw.conf'
|
||||
|
||||
|
|
@ -80,4 +80,4 @@ def main():
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue