Documentation ¶
Overview ¶
Copyright 2020 Dario Palma. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.
Go DNS server is a nameserver that uses Distributed Key Value Stores to handle the DNS Resource Records. It admits queries of type A, AAAA, NS, TXT, PTR, CNAME, SOA and MX acting as an authorative DNS server.
Basic use pattern:
go-kvs-dns-server --clusterIPs "192.168.0.240,192.168.0.241,192.168.0.242" \ --print --db cassandra --port 8053
then:
dig @localhost -p 8053 this.is.my.domain.andhael.cl A ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2157 ;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; QUESTION SECTION: ;this.is.my.domain.andhael.cl. IN A ;; ANSWER SECTION: this.is.my.domain.andhael.cl. 0 IN A 127.0.0.1 ;; ADDITIONAL SECTION: this.is.my.domain.andhael.cl. 0 IN TXT "Port: 56195 (udp)"
Inspired on Reflect Server by Miek Gieben <miek@miek.nl>.
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
dnsrequester
Q is a small utility which acts and behaves like 'dig' from BIND.
|
Q is a small utility which acts and behaves like 'dig' from BIND. |
queryuploader
Read DNS RR from a file to upload its contents to a db of the users choice Basic use pattern: queryuploader --clusterIPs 192.168.0.2,192.168.0.3 --db cassandra --df ./file Or if the data is on different zonefiles you can read them by: queryuploader --clusterIPs 192.168.0.2,192.168.0.3 --db cassandra --useZones --dd ./zones NB: add the necessary ports for each redis and etcd server.
|
Read DNS RR from a file to upload its contents to a db of the users choice Basic use pattern: queryuploader --clusterIPs 192.168.0.2,192.168.0.3 --db cassandra --df ./file Or if the data is on different zonefiles you can read them by: queryuploader --clusterIPs 192.168.0.2,192.168.0.3 --db cassandra --useZones --dd ./zones NB: add the necessary ports for each redis and etcd server. |
internal
|
|
Click to show internal directories.
Click to hide internal directories.