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
File details
Details for the file dispatching-dns-0.0.10.tar.gz
.
File metadata
- Download URL: dispatching-dns-0.0.10.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
466889354e70302b850c2d0efe1cb9a0f53b90b62e8f28abb6767ab3a7dc7602
|
|
MD5 |
92141283d513c8eb30729bcee002eb48
|
|
BLAKE2b-256 |
20d09302d9cefaafd8443d3c49bb47fda5466b1e970d96ac162271a297851d82
|