Whitespace cleanup
This commit is contained in:
parent
6d02134e2d
commit
8418a22857
|
@ -63,7 +63,7 @@ A short "how to use the API" is at the beginning of dns.go (this also will show
|
||||||
when you call `go doc github.com/miekg/dns`. Sample
|
when you call `go doc github.com/miekg/dns`. Sample
|
||||||
programs can be found in the `ex` directory. They can also be build
|
programs can be found in the `ex` directory. They can also be build
|
||||||
with: `go build`.
|
with: `go build`.
|
||||||
|
|
||||||
## Supported RFCs
|
## Supported RFCs
|
||||||
|
|
||||||
*all of them*
|
*all of them*
|
||||||
|
@ -89,14 +89,14 @@ with: `go build`.
|
||||||
* 3597 - Unkown RRs
|
* 3597 - Unkown RRs
|
||||||
* 403{3,4,5} - DNSSEC + validation functions
|
* 403{3,4,5} - DNSSEC + validation functions
|
||||||
* 4255 - SSHFP record
|
* 4255 - SSHFP record
|
||||||
* 4343 - Case insensitivity
|
* 4343 - Case insensitivity
|
||||||
* 4408 - SPF record
|
* 4408 - SPF record
|
||||||
* 4509 - SHA256 Hash in DS
|
* 4509 - SHA256 Hash in DS
|
||||||
* 4592 - Wildcards in the DNS
|
* 4592 - Wildcards in the DNS
|
||||||
* 4635 - HMAC SHA TSIG
|
* 4635 - HMAC SHA TSIG
|
||||||
* 4701 - DHCID
|
* 4701 - DHCID
|
||||||
* 4892 - id.server
|
* 4892 - id.server
|
||||||
* 5001 - NSID
|
* 5001 - NSID
|
||||||
* 5155 - NSEC3 record
|
* 5155 - NSEC3 record
|
||||||
* 5205 - HIP record
|
* 5205 - HIP record
|
||||||
* 5702 - SHA2 in the DNS
|
* 5702 - SHA2 in the DNS
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
* Speed, we can always go faster. A simple reflect server now hits 75/80K qps on
|
* Speed, we can always go faster. A simple reflect server now hits 75/80K qps on
|
||||||
moderate hardware
|
moderate hardware
|
||||||
* go test; only works correct on my machine
|
* go test; only works correct on my machine
|
||||||
* privatekey.Precompute() when signing?
|
* privatekey.Precompute() when signing?
|
||||||
|
|
||||||
## RRs not implemented
|
## RRs not implemented
|
||||||
|
|
||||||
|
|
|
@ -316,7 +316,7 @@ func sectionCheck(set []dns.RR, server string, tcp bool) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the sigs in the msg, get the signer's key (additional query), get the
|
// Check the sigs in the msg, get the signer's key (additional query), get the
|
||||||
// rrset from the message, check the signature(s)
|
// rrset from the message, check the signature(s)
|
||||||
func sigCheck(in *dns.Msg, server string, tcp bool) {
|
func sigCheck(in *dns.Msg, server string, tcp bool) {
|
||||||
sectionCheck(in.Answer, server, tcp)
|
sectionCheck(in.Answer, server, tcp)
|
||||||
|
|
|
@ -220,11 +220,11 @@ func TestParseBrace(t *testing.T) {
|
||||||
"_ssh._tcp.local. 60 IN (PTR) stora._ssh._tcp.local.": "_ssh._tcp.local.\t60\tIN\tPTR\tstora._ssh._tcp.local.",
|
"_ssh._tcp.local. 60 IN (PTR) stora._ssh._tcp.local.": "_ssh._tcp.local.\t60\tIN\tPTR\tstora._ssh._tcp.local.",
|
||||||
"miek.nl. NS ns.miek.nl": "miek.nl.\t3600\tIN\tNS\tns.miek.nl.",
|
"miek.nl. NS ns.miek.nl": "miek.nl.\t3600\tIN\tNS\tns.miek.nl.",
|
||||||
`(miek.nl.) (
|
`(miek.nl.) (
|
||||||
(IN)
|
(IN)
|
||||||
(AAAA)
|
(AAAA)
|
||||||
(::1) )`: "miek.nl.\t3600\tIN\tAAAA\t::1",
|
(::1) )`: "miek.nl.\t3600\tIN\tAAAA\t::1",
|
||||||
`(miek.nl.) (
|
`(miek.nl.) (
|
||||||
(IN)
|
(IN)
|
||||||
(AAAA)
|
(AAAA)
|
||||||
(::1))`: "miek.nl.\t3600\tIN\tAAAA\t::1",
|
(::1))`: "miek.nl.\t3600\tIN\tAAAA\t::1",
|
||||||
"miek.nl. IN AAAA ::2": "miek.nl.\t3600\tIN\tAAAA\t::2",
|
"miek.nl. IN AAAA ::2": "miek.nl.\t3600\tIN\tAAAA\t::2",
|
||||||
|
@ -339,7 +339,7 @@ name. 10800 IN NS name.
|
||||||
NS d6.nstld.com.
|
NS d6.nstld.com.
|
||||||
NS f6.nstld.com.
|
NS f6.nstld.com.
|
||||||
NS m6.nstld.com.
|
NS m6.nstld.com.
|
||||||
(
|
(
|
||||||
NS m7.nstld.com.
|
NS m7.nstld.com.
|
||||||
)
|
)
|
||||||
$ORIGIN name.
|
$ORIGIN name.
|
||||||
|
@ -419,7 +419,7 @@ func TestLineNumberError2(t *testing.T) {
|
||||||
"example.com. 1000 SO master.example.com. admin.example.com. 1 4294967294 4294967293 4294967295 100": "dns: expecting RR type or class, not this...: \"SO\" at line: 1:21",
|
"example.com. 1000 SO master.example.com. admin.example.com. 1 4294967294 4294967293 4294967295 100": "dns: expecting RR type or class, not this...: \"SO\" at line: 1:21",
|
||||||
"example.com 1000 IN TALINK a.example.com. b..example.com.": "dns: bad TALINK NextName: \"b..example.com.\" at line: 1:57",
|
"example.com 1000 IN TALINK a.example.com. b..example.com.": "dns: bad TALINK NextName: \"b..example.com.\" at line: 1:57",
|
||||||
"example.com 1000 IN TALINK ( a.example.com. b..example.com. )": "dns: bad TALINK NextName: \"b..example.com.\" at line: 1:60",
|
"example.com 1000 IN TALINK ( a.example.com. b..example.com. )": "dns: bad TALINK NextName: \"b..example.com.\" at line: 1:60",
|
||||||
`example.com 1000 IN TALINK ( a.example.com.
|
`example.com 1000 IN TALINK ( a.example.com.
|
||||||
bb..example.com. )`: "dns: bad TALINK NextName: \"bb..example.com.\" at line: 2:18",
|
bb..example.com. )`: "dns: bad TALINK NextName: \"bb..example.com.\" at line: 2:18",
|
||||||
// This is a bug, it should report an error on line 1, but the new is already processed.
|
// This is a bug, it should report an error on line 1, but the new is already processed.
|
||||||
`example.com 1000 IN TALINK ( a.example.com. b...example.com.
|
`example.com 1000 IN TALINK ( a.example.com. b...example.com.
|
||||||
|
|
Loading…
Reference in New Issue