Commit Graph

16 Commits

Author SHA1 Message Date
Miek Gieben 9dcf47a409
Doc updates (#1075)
* Doc updates

Was reading https://pkg.go.dev/github.com/miekg/dns?tab=doc and spotted
some types and things to could be slightly better.

Make v unexported, as this version stuff should not be part of the
public API.

Signed-off-by: Miek Gieben <miek@miek.nl>

* fix test

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-02-14 22:47:21 +01:00
Miek Gieben bfd8601222
Doc fixes (#1060)
* Doc fixes

Polish the docs a bit; fix a link to miek.nl, remove edns0client subnet
draft link and point to the RFC. Some layout fixes and pull GOPATH from
the readme as we do go modules now.

Signed-off-by: Miek Gieben <miek@miek.nl>

* review comments

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-12-19 09:28:37 +00:00
Miek Gieben a7e7488e1d
doc: Clean up README and doc.go (#817)
Cleans this up a bit.

Signed-off-by: Miek Gieben <miek@miek.nl>
2018-11-27 14:39:19 +00:00
Eric Greer 46f728d51b ExchangeWithDialer does not exist anymore (#666) 2018-04-06 12:05:09 +01:00
JeremyRand cdb76b64a3 Spelling fixes (#583)
* Doc: fix misspelling.

Found via "misspell" static analyzer.

* Parse test: fix misspellings.

Found via "misspell" static analyzer.
2017-11-24 08:14:48 +00:00
David McNett a5852667e3 Document SetTsig() needs to be final RRset change (#544)
I spent several hours trying to figure out why my TSIG signatures were
failing on requests to a server.  I finally discovered this little
detail in the RFC which turned out to be my whole problem.  Amending the
documentation to hopefully spare others the same confusion.

    If an incoming message contains a TSIG record, it MUST be the last
    record in the additional section.

RFC2845 3.2
2017-10-30 06:55:49 +00:00
insomniac aade52d68e Redesigned Client API around net.Dialer (#511)
* Redesigned Client API around net.Dialer

* Moved Dialer under Client; reverted msgHash; removed unneeded deprecation

* Reverted client_compat.go into client.go and renamed dialer variable

* Shortened comment lines

* Erroneously removed pointer declaration
2017-09-29 10:52:01 +01:00
Richard Gibson eccf8bbe83 Correctly parse omitted TTLs and relative domains (#513)
* Fix $TTL handling
* Error when there is no TTL for an RR
* Fix relative name handling
* Error when a relative name is used without an origin (cf. https://tools.ietf.org/html/rfc1035#section-5.1 )

Fixes #484
2017-09-26 11:15:37 -04:00
Marcus Grando dfae8d8799 Fix miek.nl post link (#414) 2016-10-17 18:09:10 +01:00
Shawn Smith 4d6d450eed typo 2016-01-23 15:39:59 -08:00
Vincent Batts 774b109199 doc: example shows a conditional with non-bool
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2015-12-22 12:04:16 -05:00
Jesse Lucas cae5606f00 Updating doc.go
Msg is undefined and should use dns.Msg
2015-09-16 22:18:25 -04:00
Miek Gieben 5b9c36bf67 Small doc cleanups 2015-08-23 12:55:01 +01:00
Miek Gieben ad7777796e Add link to web article explaining it further 2015-06-25 07:33:30 +01:00
Miek Gieben 126ee2f0c5 Documentation update 2015-02-19 22:09:30 +00:00
Miek Gieben 64fea017a2 Move all docs to docs.go
Another golint change.
2015-02-19 13:47:50 +00:00