A simple suboptimal dns server which forward requests to multiple servers according to domains
Project description
A simple suboptimal dns server which forward requests to multiple servers according to domains.
Invocation:
> dispatching-dns <config.yaml>
Sample Configuration:
address: 192.168.1.1
user: nobody
user: nogroup
resolver:
!dispatch
rules:
- ['google.com', 1]
targets:
- !cache
cache_size: 5000
upstreams:
- !service
address: 192.168.0.1
- !log
resolver:
!cache
cache_size: 500
upstreams:
- !service
address: 8.8.8.8
- !service
address: 8.8.4.4
log: addresses.log
Invocation:
> dispatching-dns <config.yaml>
Sample Configuration:
address: 192.168.1.1
user: nobody
user: nogroup
resolver:
!dispatch
rules:
- ['google.com', 1]
targets:
- !cache
cache_size: 5000
upstreams:
- !service
address: 192.168.0.1
- !log
resolver:
!cache
cache_size: 500
upstreams:
- !service
address: 8.8.8.8
- !service
address: 8.8.4.4
log: addresses.log
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
dispatching-dns-0.0.6.tar.gz
(3.8 kB
view details)
File details
Details for the file dispatching-dns-0.0.6.tar.gz
.
File metadata
- Download URL: dispatching-dns-0.0.6.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
145ef0d181d8a0c8a23c18f2489eec6dd5fdeb202fe16e5d5735854958217150
|
|
MD5 |
4ea4e1eaab855657cbdc51f8f6e2419f
|
|
BLAKE2b-256 |
1d980278fb08191af14b29e05799caf1dce8b37a97e2266fd3da87a2ebd1a1ba
|