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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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