fcambus / rrda Goto Github PK
View Code? Open in Web Editor NEWREST API allowing to perform DNS queries over HTTP
Home Page: https://www.statdns.com
License: BSD 2-Clause "Simplified" License
REST API allowing to perform DNS queries over HTTP
Home Page: https://www.statdns.com
License: BSD 2-Clause "Simplified" License
I have a rrda local server and a dnsmasq local server, composed with Docker.
If I try the following URL: http://rrda/dnsmasq:53/google.fr/A
I get a DNS server could not be reached
error.
But, from the rrda machine, if I try the following command:
drill google.fr @dnsmasq
It works.
So I suppose your API does not support dns nameserver.
Could be possible to have this one? I can't pass IPs with Docker.
I'm not a Golang expert, but I think packages can be release.
Could be possible for you?
One go get rrda
command would be nicer, isn't it? :-)
Currently, we can request only one query type at a time. It would be useful to allow multiple query type at once. something like:
https://rrda.domain.com/8.8.8.8:53/free.fr/A,AAAA,NS
We are using RRDA as an internal service to be used by other applications.
On the current case, we want to replace the dns_get_record
php function by it, but we have some calls with multiple record type:
\dns_get_record($hostname, \DNS_A | \DNS_AAAA | \DNS_CNAME | \DNS_MX | \DNS_TXT);
With the current implementation of rrda, we have to make 5 HTTP request to get the same information, which is quite heavy.
the code cannot be run or compiled by go as it stands because line 130 includes the "_" parameter in the if statement twice thereby causing the compilation process to complain that there are an incorrect number of parameters (3 = 2). removing the duplicated _ fixes the code in my setup and I can now successfully query dns servers.
My line 130 now reads:
if _, isDomain := dns.IsDomainName(domain); isDomain { // Well-formed domain name
After cloning master and entering the rrda directory, I run the following commands and get error:
$ go get -d -v ./... && go build -v ./... && go install rrda
code.google.com/p/go.net (download)
warning: code.google.com is shutting down; import path code.google.com/p/go.net/idna will stop working
github.com/bmizerany/pat (download)
github.com/miekg/dns (download)
code.google.com/p/go.net/idna
github.com/bmizerany/pat
github.com/miekg/dns
_/go/rrda
can't load package: package rrda: cannot find package "rrda" in any of:
/usr/local/go/src/rrda (from $GOROOT)
/go/src/rrda (from $GOPATH)
No idea if it's a rrda issue or my mistake. Any idea? Thanks.
Option to specify DNS servers on rrda command.
In this case, API urls can be simplified by ometing DNS server data.
Any chance of implementing the id.server query?
It's very useful to see what anycast node responds to queries.
dig @nsu.dnsnode.net id.server txt -c ch +short
"u4.sub"
Specified in RFC4892
I have this build error from short time: https://hub.docker.com/r/dockervan/rrda/builds/buvug4b46sbrj7j7jgahta6/
Non existent package? Deprecated install method?
It would be great to have a verbose option on command line.
With that, rrda application could print each request it receive for example.
Useful for dev env.
I'm getting an NX error when contacting https://api.statdns.com/
, is this part of the shutdown?
It would be nice if you would allow queries for statdns.net
, it's useful for debugging.
If the TC bit is set dns.Exchange()
will return dns.ErrTruncated
which is not caught in resolve(). Tested by looking up _http._tcp.dns-sd.org. IN PTR
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.