Skip to main content

This is a tester for a DNS proxy filter. Used to locally or remotely test DNS proxy filters that use a certain format of configuration file. See disciption at GitHub page.

Project description

The Python package dnstester-qboxxbyh

This is a tester for a DNS proxy filter. It can be used locally or remotely to test DNS proxy filters that rely on a specific configuration file format below:

  [server]
  listen_address = 127.0.0.1
  listen_port = 5300
                    
  [upstream]
  dns1 = 1.1.1.1
  dns2 = 8.8.8.8
  dns3 = 8.8.4.4
                    
  [blacklist]
  yandex.ru = notfind
  ya.ru = refuse
  tutu.ru = 178.248.234.61

Installation

This package is available on PyPI and can be installed with pip install dnstester-qboxxbyh or updated with pip install --upgrade dnstester-qboxxbyh

How to use

from dnstester_qboxxbyh import dnsProxyTester
tester = dnsProxyTester()
tester.run()

How it works

The software downloads and uses a collection of 4,170,262 verified domains from https://tranco-list.eu/download/VQ92N/full. It makes a random sample without replacement from this pool of domains and randomly splits it into four subsamples. Using three of those subsamples (one for domains not to be found, one for domains to be refused service, and one for domains with randomly pre-specified IPv4 and IPv6 addresses), the software creates a test configuration file and locally launches the tested DNS proxy filter.

The test results

The results are displayed and are dynamically updated in the terminal:

Example screenshot

Constraints

This version doesn't yet support:

  • Pre-specifying both IPv4 and IPv6 for the same domain in the configuration file
  • Testing the handling of non-standard multi-query DNS requests by a DNS proxy filter

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dnstester_qboxxbyh-0.1.6.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dnstester_qboxxbyh-0.1.6-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file dnstester_qboxxbyh-0.1.6.tar.gz.

File metadata

  • Download URL: dnstester_qboxxbyh-0.1.6.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.11

File hashes

Hashes for dnstester_qboxxbyh-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b150237e6b5335a798b8cdbdab9c34dfbe4d1c7065d1a34dc076696e992e2ec2
MD5 910a2768d95fc3f31c27e97f8684668c
BLAKE2b-256 9cfee45e957cd1a90bbf19fc272af8a6a512a9ca8018538c4677e293bb76fa63

See more details on using hashes here.

File details

Details for the file dnstester_qboxxbyh-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for dnstester_qboxxbyh-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 58fa17e9a9f9d44d6f9432962c6613ce8028f4375e037c7c4cdbf3be2f0e9545
MD5 943d7176d16a43a25753779f2934eab3
BLAKE2b-256 7d9e620b99cfa7db5b64b9cf6eb3892cac22c6e9075cf289907a0f5c29e2bd3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page