adguard-sync-1.0
توضیحات
Sync dns rewrites on multiple adguards
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | adguard-sync-1.0 |
| نام | adguard-sync |
| نسخه کتابخانه | 1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Maximilian Kapra |
| ایمیل نویسنده | maximilian@kapra.de |
| آدرس صفحه اصلی | https://github.com/mkapra/adguard-sync |
| آدرس اینترنتی | https://pypi.org/project/adguard-sync/ |
| مجوز | - |
# AdguardSync
This script syncs the DNS-Rewrite list with the given config file.
Example:
```python
>>> from adguard_sync import AdguardSync
>>> AdguardSync('config.yml')
```
Configuration File:
```yaml
---
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
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl adguard-sync-1.0:
pip install adguard-sync-1.0.whl
نصب پکیج tar.gz adguard-sync-1.0:
pip install adguard-sync-1.0.tar.gz