Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/miekg/dns
/ functions
Functions
1,687 in github.com/miekg/dns
⨍
Functions
1,687
◇
Types & classes
180
Function
TestShutdownTLS
(t *testing.T)
server_test.go:835
Function
TestShutdownUDP
(t *testing.T)
server_test.go:923
Function
TestSignRSA
(t *testing.T)
dnssec_test.go:425
Function
TestSignVerify
(t *testing.T)
dnssec_test.go:84
Function
TestSignVerifyECDSA
(t *testing.T)
dnssec_test.go:484
Function
TestSignVerifyECDSA2
(t *testing.T)
dnssec_test.go:530
Function
TestSignVerifyEd25519
(t *testing.T)
dnssec_test.go:576
Function
TestSignature
(t *testing.T)
dnssec_test.go:57
Function
TestSingleEnvelopeXfr
(t *testing.T)
xfr_test.go:77
Function
TestSingleEnvelopeXfrTLS
(t *testing.T)
xfr_test.go:92
Function
TestSocketOptions
(t *testing.T)
server_test.go:999
Function
TestSplit
(t *testing.T)
labels_test.go:41
Function
TestSplit2
(t *testing.T)
labels_test.go:62
Function
TestSplitDomainName
(t *testing.T)
labels_test.go:146
Function
TestSplitN
(t *testing.T)
types_test.go:44
Function
TestSprintName
(t *testing.T)
types_test.go:76
Function
TestSprintTxt
(t *testing.T)
types_test.go:115
Function
TestSprintTxtOctet
(t *testing.T)
types_test.go:107
Function
TestStringToCm
this tests a subroutine for the LOC RR parser. It's complicated enough to test separately.
parse_test.go:334
Function
TestTKEY
Make sure we can decode a TKEY packet from the string, modify the RR, and then pack it again.
dns_test.go:264
Function
TestTSIGHMAC224And384
(t *testing.T)
tsig_test.go:253
Function
TestTSIGNotSigned
(t *testing.T)
xfr_test.go:263
Function
TestTXT
(t *testing.T)
parse_test.go:1040
Function
TestTXTEscapeParsing
(t *testing.T)
parse_test.go:113
Function
TestTag
(t *testing.T)
dnssec_test.go:344
Function
TestTimeout
(t *testing.T)
client_test.go:642
Function
TestToRFC3597
(t *testing.T)
dns_test.go:143
Function
TestTooLongDomainName
(t *testing.T)
parse_test.go:49
Function
TestTrimDomainName
(t *testing.T)
dnsutil/util_test.go:36
Function
TestTruncatedMsg
(t *testing.T)
client_test.go:510
Function
TestTruncation
(t *testing.T)
msg_truncate_test.go:108
Function
TestTsig
(t *testing.T)
tsig_test.go:20
Function
TestTsigBadTimeResponse
(t *testing.T)
tsig_test.go:85
Function
TestTsigCase
(t *testing.T)
tsig_test.go:46
Function
TestTsigErrorResponse
(t *testing.T)
tsig_test.go:58
Function
TestTsigErrors
(t *testing.T)
tsig_test.go:127
Function
TestTsigGenerate
This test exercises some more corner cases for TsigGenerate.
tsig_test.go:187
Function
TestTsigGenerateProvider
(t *testing.T)
tsig_test.go:324
Function
TestTsigVerifyProvider
(t *testing.T)
tsig_test.go:369
Function
TestTxtEqual
(t *testing.T)
parse_test.go:1201
Function
TestTxtLong
(t *testing.T)
parse_test.go:1212
Function
TestTypeXXXX
(t *testing.T)
parse_test.go:1139
Function
TestUnPackExtendedRcode
(t *testing.T)
msg_test.go:92
Function
TestUnbalancedParens
(t *testing.T)
parse_test.go:1699
Function
TestUnexpectedNewline
(t *testing.T)
scan_test.go:286
Function
TestUnpackDataApl
(t *testing.T)
msg_helpers_test.go:503
Function
TestUnpackDataAplPrefix
(t *testing.T)
msg_helpers_test.go:388
Function
TestUnpackDataAplPrefix_Errors
(t *testing.T)
msg_helpers_test.go:447
Function
TestUnpackDomainName
(t *testing.T)
msg_test.go:124
Function
TestUnpackRRWithHeaderInvalidLengths
(t *testing.T)
parse_test.go:1902
Function
TestUnpackString
(t *testing.T)
msg_helpers_test.go:171
Function
TestUserRR
(t *testing.T)
parse_test.go:1023
Function
TestVersion
(t *testing.T)
version_test.go:5
Function
TestZ
(t *testing.T)
edns_test.go:171
Function
TestZoneParserAddressAAAA
(t *testing.T)
scan_test.go:199
Function
TestZoneParserAddressBad
(t *testing.T)
scan_test.go:245
Function
TestZoneParserComments
(t *testing.T)
parse_test.go:907
Function
TestZoneParserGenerate
(t *testing.T)
scan_test.go:14
Function
TestZoneParserInclude
(t *testing.T)
scan_test.go:53
Function
TestZoneParserIncludeDisallowed
(t *testing.T)
scan_test.go:174
Function
TestZoneParserIncludeFS
(t *testing.T)
scan_test.go:102
Function
TestZoneParserIncludeFSPaths
(t *testing.T)
scan_test.go:141
Function
TestZoneParserTargetBad
(t *testing.T)
scan_test.go:229
Method
ToCDNSKEY
ToCDNSKEY converts a DNSKEY record to a CDNSKEY record.
dnssec.go:231
Method
ToCDS
ToCDS converts a DS record to a CDS record.
dnssec.go:239
Method
TsigStatus
TsigStatus implements the ResponseWriter.TsigStatus method.
server.go:824
Method
TsigTimersOnly
TsigTimersOnly implements the ResponseWriter.TsigTimersOnly method.
server.go:827
Method
Unpack
(buf []byte)
example_test.go:91
Method
Unpack
(buf []byte)
privaterr_test.go:36
Method
Unpack
(buf []byte)
privaterr_test.go:123
Method
Unwrap
()
scan.go:88
Method
Verify
(msg []byte, t *TSIG)
tsig.go:62
Method
Verify
(msg []byte, t *TSIG)
tsig.go:87
Method
Verify
(_ []byte, t *TSIG)
tsig_test.go:317
Method
Verify
Verify verifies a SMIMEA record against an SSL certificate. If it is OK a nil error is returned.
smimea.go:22
Method
Verify
Verify validates the message buf using the key k. It's assumed that buf is a valid message from which rr was unpacked.
sig0.go:76
Method
Verify
Verify verifies a TLSA record against an SSL certificate. If it is OK a nil error is returned.
tlsa.go:22
Method
Write
(p []byte)
server_test.go:1411
Method
Write
(m []byte)
server_test.go:1440
Method
Write
Implement the hash.Hash interface.
hash.go:16
Function
WriteToSessionUDP
WriteToSessionUDP acts just like net.UDPConn.WriteTo(), but uses a *SessionUDP instead of a net.Addr.
udp_no_control.go:32
Function
checkReuseaddr
this is just for test compatibility
listen_no_socket_options.go:38
Function
checkReuseport
this is just for test compatibility
listen_no_socket_options.go:33
Method
copy
Just to implement the RR interface.
dns.go:79
Method
copy
copy returns a copy of the APL prefix.
types.go:1613
Method
copy
copy returns a deep-copy of the option.
edns.go:254
Method
copy
()
edns.go:286
Method
copy
()
edns.go:417
Method
copy
()
edns.go:462
Method
copy
()
edns.go:485
Method
copy
()
edns.go:556
Method
copy
()
edns.go:582
Method
copy
()
edns.go:606
Method
copy
()
edns.go:631
Method
copy
()
edns.go:642
Method
copy
()
edns.go:699
Method
copy
()
edns.go:760
Method
copy
()
edns.go:774
Method
copy
()
edns.go:860
Method
copy
()
edns.go:894
← previous
next →
1,001–1,100 of 1,687, ranked by callers