dnsblock-update


Namednsblock-update JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/raynigon/dnsblock-update
SummaryBlocklist Updater for DNS Masq
upload_time2023-07-28 07:42:17
maintainer
docs_urlNone
authorSimon Schneider
requires_python>=3.6, <4
license
keywords dnsmasq
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # dnsblock-update
Blocklist Updater for DNSmasq

## Usage

### Installation

Run the following command:
```pip3 install dnsblock_update```

### Configuration

Create a configuration file with the following content:
```yaml
dnsmasq: 
  path: "result.conf"   # Generated DNSMasq configuration
repository:
  path: "./repo/"       # Path to the cache repository used by the updater
blocklists:
  - name: "notracking"                      # name of the blocklist
    url: https://example.com/blacklist.txt  # url of the blocklist
```

### Execution

Create a cronjob:
```
0 2 * * * /usr/bin/python3 -m dnsblock_update /etc/dnsblock_update/config.yml
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/raynigon/dnsblock-update",
    "name": "dnsblock-update",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6, <4",
    "maintainer_email": "",
    "keywords": "dnsmasq",
    "author": "Simon Schneider",
    "author_email": "dev@raynigon.com",
    "download_url": "https://files.pythonhosted.org/packages/f2/60/92fc3e9c8890f448b0116a97c79f1d48d00b24d4ce248829839757037e78/dnsblock_update-0.0.2.tar.gz",
    "platform": null,
    "description": "# dnsblock-update\nBlocklist Updater for DNSmasq\n\n## Usage\n\n### Installation\n\nRun the following command:\n```pip3 install dnsblock_update```\n\n### Configuration\n\nCreate a configuration file with the following content:\n```yaml\ndnsmasq: \n  path: \"result.conf\"   # Generated DNSMasq configuration\nrepository:\n  path: \"./repo/\"       # Path to the cache repository used by the updater\nblocklists:\n  - name: \"notracking\"                      # name of the blocklist\n    url: https://example.com/blacklist.txt  # url of the blocklist\n```\n\n### Execution\n\nCreate a cronjob:\n```\n0 2 * * * /usr/bin/python3 -m dnsblock_update /etc/dnsblock_update/config.yml\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Blocklist Updater for DNS Masq",
    "version": "0.0.2",
    "project_urls": {
        "Bug Reports": "https://github.com/raynigon/dnsblock-update/issues",
        "Homepage": "https://github.com/raynigon/dnsblock-update",
        "Source": "https://github.com/raynigon/dnsblock-update/"
    },
    "split_keywords": [
        "dnsmasq"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "eff781128dc14e0f6465bfdc1c7a50c89e5b626de8f7303b2c49206b8a2b2374",
                "md5": "3435db9f1626cacf0f232ae5ba64b1ca",
                "sha256": "974a1351aef88cc8673a0ac6496f5b7a33e29d6bd68abe8134e5621698cfd090"
            },
            "downloads": -1,
            "filename": "dnsblock_update-0.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3435db9f1626cacf0f232ae5ba64b1ca",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6, <4",
            "size": 8210,
            "upload_time": "2023-07-28T07:42:16",
            "upload_time_iso_8601": "2023-07-28T07:42:16.093542Z",
            "url": "https://files.pythonhosted.org/packages/ef/f7/81128dc14e0f6465bfdc1c7a50c89e5b626de8f7303b2c49206b8a2b2374/dnsblock_update-0.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f26092fc3e9c8890f448b0116a97c79f1d48d00b24d4ce248829839757037e78",
                "md5": "7e0f9689410504af6396bec1cb122698",
                "sha256": "8c9ebe4d45b37f3c0e3c86135ca7ab36622165d0a0216824e47bce1d95d51a27"
            },
            "downloads": -1,
            "filename": "dnsblock_update-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7e0f9689410504af6396bec1cb122698",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6, <4",
            "size": 7909,
            "upload_time": "2023-07-28T07:42:17",
            "upload_time_iso_8601": "2023-07-28T07:42:17.446480Z",
            "url": "https://files.pythonhosted.org/packages/f2/60/92fc3e9c8890f448b0116a97c79f1d48d00b24d4ce248829839757037e78/dnsblock_update-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-28 07:42:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "raynigon",
    "github_project": "dnsblock-update",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "dnsblock-update"
}
        
Elapsed time: 1.47407s