Skip to main content

Sync dns rewrites on multiple adguards

Project description

AdguardSync

This script syncs the DNS-Rewrite list with the given config file.

Example:

>>> from adguard_sync import AdguardSync
>>> AdguardSync('config.yml')

Configuration File:

---

adguards:
  - hostname: https://10.0.0.3
    username: adguard
    password: adguard_pass
    verify_ssl: False # (Optional, default = True)
  - hostname: https://10.0.0.4
    username: adguard
    password: adguard_pass

dns_records:
  - domain: adguard.test
    address: 10.0.0.3
  - domain: adguard2.test
    address: 10.0.0.4

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

adguard-sync-1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

adguard_sync-1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file adguard-sync-1.0.tar.gz.

File metadata

  • Download URL: adguard-sync-1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for adguard-sync-1.0.tar.gz
Algorithm Hash digest
SHA256 9a55d7b6c35ba4fb34cc9dae7323de6b11efb2b149f2a04870f4e03a7448665a
MD5 61854ca770ff4937eb1e220865484704
BLAKE2b-256 82fa47356a919f19fab666c7a0f5bf2ff9d93ba9b64d358132c6371e15989e46

See more details on using hashes here.

File details

Details for the file adguard_sync-1.0-py3-none-any.whl.

File metadata

  • Download URL: adguard_sync-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for adguard_sync-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56ccd237160c95c36428e40f2224a263c3f0364a748bdb35194e5d5cd2fd47d3
MD5 de5e09acc4b91e298ce312c8bcc8aec6
BLAKE2b-256 f0d21ee606bf1d679fdaf45e0feaeb923876397557401c55a0141001c307727d

See more details on using hashes here.

Supported by

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