Skip to main content

DNS server for parking domains securely

Project description

Domain Park: Prevent abuse of parked domains

PyPi Python Versions License

domain-park is a DNS Name Server designed to prevent spoofed emails on parked domains.

Features:

  • Implement best practice DNS records for SPF, DKIM, DMARC, MX compliance.
  • Handle unlimited domains with little to no configuration.

domain-park is currently Alpha software and does not have complete documentation, testing, or implementation of certain features.

Installation

Install via pip

pip3 install --user domain-park

Usage

domain-park --help
usage: domain-park [-h] [--version] [--host HOST] [--port PORT]
                   [--tcp | --udp] [--ips]

optional arguments:
  -h, --help   show this help message and exit
  --version    show program's version number and exit
  --host HOST  Host (IP) to bind to. Use --ips to see available. Defaults to
               localhost.
  --port PORT  Port to bind to. Defaults to 9953.
  --tcp        Use TCPv4 socket for transport.
  --udp        Use UDPv4 socket for transport. (default)
  --ips        Print available IPs and exit

Once running, interact using dig:

dig -p 9953 @localhost NS example.com

dig -p 9953 @localhost TXT example.com
dig -p 9953 @localhost TXT foo.example.com

dig -p 9953 @localhost TXT _dmarc.example.com

dig -p 9953 @localhost TXT asdf._domainkey.example.com
dig -p 9953 @localhost TXT qwer._domainkey.foo.example.com

dig -p 9953 @localhost MX example.com

Bugs, Feature Requests etc

TLDR: Please submit an issue on github.

In the case of bug reports, please help me help you by following best practices [1] [2].

In the case of feature requests, please provide background to the problem you are trying to solve so to help find a solution that makes the most sense for the library as well as your usecase.

Development

The only development dependency is bash and docker. All actions are run within docker for ease of use. See ./dev.sh help for commands. Typical commands are format, lint, test, repl, build.

I am still working through open source licencing and contributing, so not taking PRs at this point in time. Instead raise and issue and I'll try get to it as soon a feasible.

Licence

This project is licenced under the MIT Licence - see LICENCE.

This project may include other open source licenced software - see NOTICE.

Authors

A project by Nicholas Hairs - www.nicholashairs.com.

Project details


Download files

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

Source Distribution

domain-park-0.0.3.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

domain_park-0.0.3-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file domain-park-0.0.3.tar.gz.

File metadata

  • Download URL: domain-park-0.0.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for domain-park-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6ce3ece5541e5fce7247ce5ed6cc876d9ae1313f8f12e0421dc3d614dc851995
MD5 c266c7eeb8870c9310683a3ee56d8de9
BLAKE2b-256 83ab6aeac3cd2f6731327a1862a923d9934fb2aa2a3f7875a6d1530fb0cfb163

See more details on using hashes here.

File details

Details for the file domain_park-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: domain_park-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9

File hashes

Hashes for domain_park-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0c751db51166f7a27a4a9237cc0e8c181bb12fe76419739002fa2d6d9c78ef03
MD5 4efdcb2584de74daa6ea082000f82463
BLAKE2b-256 266d97d454c1b439e6343c5d8baf22822898923eadccf163350abb76e0f6932b

See more details on using hashes here.

Supported by

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