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
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)
Built Distribution
Close
Hashes for adguard_sync-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56ccd237160c95c36428e40f2224a263c3f0364a748bdb35194e5d5cd2fd47d3 |
|
MD5 | de5e09acc4b91e298ce312c8bcc8aec6 |
|
BLAKE2b-256 | f0d21ee606bf1d679fdaf45e0feaeb923876397557401c55a0141001c307727d |