{"repo":"fcambus/rrda","free":true,"listed":false,"github":"https://github.com/fcambus/rrda","clone":"git clone https://github.com/fcambus/rrda.git","description":"REST API allowing to perform DNS queries over HTTP","language":"Go","stars":229,"topics":["dns","query","http","rest","api"],"license":"BSD-2-Clause","category":"networking-infra","readme_excerpt":". / / / / . / R / / \\ / \\ / \\ / \\\\ \\ R /// / // / // / \\\\ . \\ / \\ \\ \\ \\ ' / / // D \\ / / / / / / / <---------h7/dS!---- \\ . \\ -------\\\\ / A \\ \\ \\ \\ \\ \\ Description RRDA is a REST API written in Go allowing to perform DNS queries over HTTP, and to get reverse PTR records for both IPv4 and IPv6 addresses. It outputs JSON-encoded DNS responses. The API allows to specify which name server to query (either recursive or authoritative), and can be used as a foundation to build DNS looking glasses. RRDA is a recursive acronym for \"RRDA REST DNS API\". Requirements RRDA requires the following Go libraries: - chi: lightweight, idiomatic and composable router - https://github.com/go-chi/chi - dns: DNS library in Go - https://github.com/miekg/dns Installation Build and install with the go tool, all dependencies will be automatically fetched and compiled: go build go install rrda Usage By default, RRDA will bind on localhost, port 8080. USAGE: -host string Set the server host (default \"127.0.0.1\") -port string Set the server port (default \"8080\") -timeout int Set the query timeout in ms (default 2000) -version Display version Running RRDA at boot time Systemd unit file RRDA is bundled with a systemd unit file, see: systemd/rrda.service Copy the systemd/rrda.service file in /etc/systemd/system and the RRDA binary in /usr/local/sbin . To launch the daemon at startup, run: systemctl enable rrda Making Queries The following examples assume there is a resolver on localhost listening on port 53.","default_branch":null,"files":null,"tree":[],"storefront":"/r/fcambus","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/fcambus/rrda/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}