Commit Graph

70 Commits

Author SHA1 Message Date
Dmitriy Akulov fb6fbed0f5 Added dnsperf (#494) 2017-06-02 12:50:00 +01:00
everclear e8c11471fe Added new user (#495) 2017-06-02 12:47:46 +01:00
Alexey Palazhchenko 0c23f842c8 Use latest Go patch releases as well as tip. (#493) 2017-05-25 23:19:06 +01:00
Piper Chester dcffd061aa README: Fix typo (#483) 2017-03-31 07:08:51 +01:00
Tom Limoncelli b54e1be39a Add DNSControl to the list of users (#477) 2017-03-22 21:36:10 +00:00
Michael 59e593b27b Added coredns to list of users (#468) 2017-03-08 07:08:31 +00:00
Yongcheng Bao eda6b32024 Update README.md (#466)
add use case
2017-02-27 10:24:06 +00:00
Ethan J. Jackson 2d57b17e0c README: Add Quilt to the list of users (#465)
Quilt is container orchestrator that depends on JavaScript as its
configuration mechanism.  It takes advantage of miekg/dns for name
resolution, and thus should be listed in the README.md file.
2017-02-27 07:49:27 +00:00
Miek Gieben 5a15a35f5f Golint fixes (#456)
Fixes #370
2017-02-15 20:40:16 +00:00
Julian K ca336a1f95 Improve test suite (#435)
- Test Go 1.7 instead of 1.5
- Don't use miekg/dns when testing forks
2017-01-04 07:55:54 +00:00
Bilal Amarni fc4e1e2843 readme - add dockness to user list (#388) 2016-10-06 11:00:29 +01:00
Faraz Fallahi fce7af874c Add MicroDNS (#408) 2016-10-04 18:15:48 +01:00
Mehrdad Arshad Rad cb2f719c71 added mylg link to README (#397) 2016-10-03 15:37:16 +01:00
S.Çağlar Onur cd5a49decd Add a badge for godoc (#395) 2016-10-03 15:37:09 +01:00
Miek Gieben dbffa4b057 Kill all reflection when packing/unpacking RR (#372)
Update the size-xxx-member tags to point to another field in the struct
that should be used for the length in that field. Fix NSEC3/HIP and TSIG
to use to this and generate the correct pack/unpack functions for them.

Remove IPSECKEY from the lib and handle it as an unknown record - it is
such a horrible RR, needed kludges before - now just handle it as an
unknown RR.

All types now use generated pack and unpack functions. The blacklist is
removed.
2016-06-12 18:31:50 +01:00
Miek Gieben ee126a9f10 RFC 7858 and 7873 are published 2016-06-11 09:21:11 +01:00
Miek Gieben 475ab80867 Remove (most) reflection
Remove the use of reflection when packing and unpacking, instead
generate all the pack and unpack functions using msg_generate.
This will generate zmsg.go which in turn calls the helper functions from
msg_helper.go.

This increases the speed by about ~30% while cutting back on memory
usage. Not all RRs are using it, but that will be rectified in upcoming
PR.

Most of the speed increase is in the header/question section parsing.
These functions *are* not generated, but straight forward enough. The
implementation can be found in msg.go.

The new code has been fuzzed by go-fuzz, which turned up some issues.

All files that started with 'z', and not autogenerated were renamed,
i.e. zscan.go is now scan.go.

Reflection is still used, in subsequent PRs it will be removed entirely.
2016-06-03 12:45:22 +01:00
phamhongviet b5deb9f6c0 Add serf-dns to the user list (#353) 2016-05-07 14:17:04 +01:00
Shumon Huque b534177a1a small patch for EDNS0 cookie support (#350)
* Add EDNS0 Cookie (option 10) support.

* Add EDNS0 Cookie processing.

* Fix nits.

* Add EDNS0 cookie support mention.
2016-05-03 16:19:28 +01:00
looter de1d5dd281 Added grimd project (#349) 2016-05-03 09:16:38 +01:00
Jacob Hoffman-Andrews 8d74112f68 Update README.md 2016-04-14 09:22:05 -07:00
Timothy e937df22c0 Add consul to list of users on README
Proof: https://github.com/hashicorp/consul/blob/master/command/agent/dns.go
2016-02-12 16:41:29 -05:00
Julian K 4d05cbc9ba README: public-dns has moved 2016-02-03 19:53:21 +01:00
everclear b633e89c58 New user added 2016-01-29 16:26:44 +00:00
Rafael Dantas Justo ad79b3f5fb Change documentation based on @miekg comments
See #297
2016-01-11 08:40:14 -02:00
Rafael Dantas Justo a9978c4481 Add new feature to documentation
See #297
2016-01-08 11:34:38 -02:00
Miek Gieben 497abb0c48 README: add section about maintenance
Say how we deal with backward compat and what we "guarantee" for
Go DNS.
2015-11-02 07:52:41 +00:00
David Linus Briemann 606e7a3d43 adding project using miekg/dns to README projects list 2015-10-08 11:26:47 +02:00
Miek Gieben 373b848617 HINFO does not need downcasing for DNSSEC
See the comment from Andrew:
https://github.com/miekg/dns/pull/270#issuecomment-145696618
2015-10-06 07:59:47 +01:00
Julian K. 8a70f4bd29 Add myself as user 2015-09-12 01:31:32 +02:00
Ben Schwartz 264015f64f adding project using miekg/dns to README list 2015-09-01 11:12:39 -05:00
Frederic Cambus bee2acb3a6 Adding statzone to the list of library users 2015-08-21 22:00:50 +02:00
Miek Gieben f6f99a7a6d Update README about NSAP record 2015-08-10 07:30:50 +01:00
Sajal Kayan 52fdcc9417 Adding DNS debugger android app 2015-08-07 17:09:15 +07:00
Gowtham Gopalakrishnan 87dbfff5f1 Added Cloudflare to the user list.
Read more here: https://blog.cloudflare.com/dns-parser-meet-go-fuzzer/
2015-08-06 23:28:55 +05:30
Miek Gieben a34cf6798a Fix URI record
When the URI record became an RFC they slightly changed the format.
Make the needed changes.
2015-07-21 07:47:38 +01:00
Sajal Kayan 7bebd64196 adding TurboBytes Pulse as a user 2015-07-17 21:58:41 +07:00
Roland Shoemaker 522331911d Enable CAA parsing 2015-06-16 02:01:28 -07:00
Matt Robenolt 1558a5bd21 Add Mesos DNS to Users list 2015-04-27 23:00:45 -07:00
Nick Cox cba5f23774 Add tianon/rawdns to list of projects
tianon's rawdns is a direct, raw DNS interface to the Docker API
2015-04-03 18:53:54 -06:00
Kenta SUZUKI df92ed7782 README update: document has already moved to doc.go 2015-03-24 15:56:56 +09:00
Miek Gieben a76c0a363d Merge branch 'master' of github.com:miekg/dns 2015-01-27 08:20:08 +00:00
StalkR 48aa88a987 README: update Users: StalkR/misc/dns/proxy moved to its own repo at StalkR/dns-reverse-proxy 2015-01-25 18:39:30 +01:00
Miek Gieben 477cb4d3fa Implement IPSECKEY
IPSECKEY is kinda strange because it has a type selector which tells
what type a later rdata field has. The type can be a domainname, address
or v6 address. You sort of wish Go would have a union type for this, but
alas.
Currently this is implemented as:

	GatewayA    net.IP `dns:"a"`
	GatewayAAAA net.IP `dns:"aaaa"`
	GatewayName string `dns:"domain-name"`

In the IPSECKEY. Only one of these is active at any one time. When
parsing/packing and unpacking the value of GatewayType is checked
to see what to do.

Parsing from strings is also implemented properly and tested. The Unpack
function still needs work.
2015-01-25 10:58:30 +00:00
Miek Gieben 33e6f6fe1b Add dnsproxy as a project 2015-01-16 07:48:43 +00:00
Miek Gieben 8da60e45f5 Remove refs to IsMsg - we are not going to do this 2015-01-08 09:42:46 +00:00
Miek Gieben a34d1f6ad7 Merge branch 'master' of github.com:miekg/dns 2014-11-03 11:02:31 +00:00
Miek Gieben deb8fe381f Cleanup the identical parsing functions.
Some records are copies from others: DNSKEY, CDNSKEY and KEY are
identical. DS, CDS and DLV are too and even RRSIG and SIG.

The parsing functions and the definition can all be used for parsing
all these identical types.
2014-11-02 11:29:55 +00:00
Miek Gieben 71466895f7 Remove ECC which was set as alg 4
There is no alg 4 and ECC is not an algorithm identifier.
2014-10-23 08:12:02 +00:00
Miek Gieben 06e7420b3e Merge branch 'master' of github.com:miekg/dns 2014-10-06 10:58:03 +00:00