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
↓ 1 callers
Function
reverseSVCBKeyMap
(m map[SVCBKey]string)
svcb.go:46
↓ 1 callers
Function
rfc3597Header
(h RR_Header)
types.go:1262
↓ 1 callers
Method
serveTCPConn
Serve a new TCP connection.
server.go:561
↓ 1 callers
Method
serveUDPPacket
Serve a new UDP request.
server.go:616
↓ 1 callers
Method
setPublicKeyECDSA
Set the public key for Elliptic Curves
dnssec_keygen.go:91
↓ 1 callers
Method
setPublicKeyED25519
Set the public key for Ed25519
dnssec_keygen.go:107
↓ 1 callers
Method
setPublicKeyRSA
Set the public key (the value E and N)
dnssec_keygen.go:80
↓ 1 callers
Method
sigBuf
Return the signatures base64 encoding sigdata as a byte slice.
dnssec.go:507
↓ 1 callers
Method
str
str returns presentation form of the APL prefix.
types.go:1571
↓ 1 callers
Function
structMember
structMember will take a tag like dns:"size-base32:SaltLength" and return the last part of this string.
msg_generate.go:335
↓ 1 callers
Function
structTag
structTag will take a tag like dns:"size-base32:SaltLength" and return base32.
msg_generate.go:341
↓ 1 callers
Function
truncateMsgFromRdlength
helper helper functions. truncateMsgFromRdLength truncates msg to match the expected length of the RR. Returns an error if msg is smaller than the exp
msg_helpers.go:134
↓ 1 callers
Function
tsigTimeToString
Translate the TSIG time signed into a date. There is no need for RFC1982 calculations as this date is 48 bits.
tsig.go:385
↓ 1 callers
Method
unpack
(b []byte)
edns.go:370
↓ 1 callers
Method
unpack
(b []byte)
edns.go:500
↓ 1 callers
Method
unpack
(b []byte)
edns.go:739
↓ 1 callers
Method
unpack
(msg []byte, off int)
zmsg.go:2377
↓ 1 callers
Method
unpack
(dh Header, msg []byte, off int)
msg.go:827
↓ 1 callers
Function
unpackDataDomainNames
(msg []byte, off, end int)
msg_helpers.go:644
↓ 1 callers
Function
unpackDataOpt
(msg []byte, off int)
msg_helpers.go:407
↓ 1 callers
Function
unpackHeader
unpackHeader unpacks an RR header, returning the offset to the end of the header and a re-sliced msg according to the expected length of the RR.
msg_helpers.go:70
↓ 1 callers
Function
unpackStringAny
(msg []byte, off, end int)
msg_helpers.go:375
↓ 1 callers
Function
unpackStringBase32
(msg []byte, off, end int)
msg_helpers.go:305
↓ 1 callers
Function
unpackTxt
(msg []byte, off0 int)
msg.go:535
↓ 1 callers
Method
valid
()
msg.go:173
↓ 1 callers
Method
writeTimeout
()
client.go:104
Function
ActivateAndServe
ActivateAndServe activates a server with a listener from systemd, l and p should not both be non-nil. If both l and p are not nil only p will be used.
server.go:131
Function
AnotherHelloServer
(w ResponseWriter, req *Msg)
server_test.go:62
Function
BenchmarkCompareDomainName
(b *testing.B)
labels_test.go:267
Function
BenchmarkCopy
(b *testing.B)
dns_bench_test.go:170
Function
BenchmarkDedup
(b *testing.B)
sanitize_test.go:51
Function
BenchmarkFQDN
(b *testing.B)
dns_test.go:347
Function
BenchmarkGenerate
(b *testing.B)
generate_test.go:191
Function
BenchmarkHashName
(b *testing.B)
nsecx_test.go:158
Function
BenchmarkIdGeneration
(b *testing.B)
dns_bench_test.go:340
Function
BenchmarkIsFQDN
(b *testing.B)
dns_test.go:323
Function
BenchmarkIsSubDomain
(b *testing.B)
labels_test.go:274
Function
BenchmarkLenLabels
(b *testing.B)
labels_test.go:261
Function
BenchmarkMsgLength
(b *testing.B)
dns_bench_test.go:9
Function
BenchmarkMsgLengthEscapedName
(b *testing.B)
dns_bench_test.go:102
Function
BenchmarkMsgLengthMassive
(b *testing.B)
dns_bench_test.go:67
Function
BenchmarkMsgLengthNoCompression
(b *testing.B)
dns_bench_test.go:29
Function
BenchmarkMsgLengthOnlyQuestion
(b *testing.B)
dns_bench_test.go:92
Function
BenchmarkMsgLengthPack
(b *testing.B)
dns_bench_test.go:48
Function
BenchmarkMsgTruncate
(b *testing.B)
msg_truncate_test.go:160
Function
BenchmarkMuxMatch
(b *testing.B)
serve_mux_test.go:56
Function
BenchmarkNewRR
(b *testing.B)
scan_test.go:387
Function
BenchmarkNextLabelComplex
(b *testing.B)
labels_test.go:301
Function
BenchmarkNextLabelMixed
(b *testing.B)
labels_test.go:319
Function
BenchmarkNextLabelSimple
(b *testing.B)
labels_test.go:283
Function
BenchmarkPackA
(b *testing.B)
dns_bench_test.go:187
Function
BenchmarkPackAAAAA
(b *testing.B)
dns_bench_test.go:235
Function
BenchmarkPackDataNsec
(b *testing.B)
msg_helpers_test.go:153
Function
BenchmarkPackDomainName
(b *testing.B)
dns_bench_test.go:111
Function
BenchmarkPackMX
(b *testing.B)
dns_bench_test.go:211
Function
BenchmarkPackMsg
(b *testing.B)
dns_bench_test.go:259
Function
BenchmarkPackMsgMassive
(b *testing.B)
dns_bench_test.go:280
Function
BenchmarkPackMsgOnlyQuestion
(b *testing.B)
dns_bench_test.go:307
Function
BenchmarkPrevLabelComplex
(b *testing.B)
labels_test.go:310
Function
BenchmarkPrevLabelMixed
(b *testing.B)
labels_test.go:331
Function
BenchmarkPrevLabelSimple
(b *testing.B)
labels_test.go:292
Function
BenchmarkReadRR
(b *testing.B)
scan_test.go:399
Function
BenchmarkReverseAddr
(b *testing.B)
dns_bench_test.go:346
Function
BenchmarkServe
(b *testing.B)
server_test.go:511
Function
BenchmarkServe6
(b *testing.B)
server_test.go:537
Function
BenchmarkServeCompress
(b *testing.B)
server_test.go:574
Function
BenchmarkSplitLabels
(b *testing.B)
labels_test.go:255
Function
BenchmarkSprintName
(b *testing.B)
types_test.go:149
Function
BenchmarkSprintName_NoEscape
(b *testing.B)
types_test.go:159
Function
BenchmarkSprintTxt
(b *testing.B)
types_test.go:179
Function
BenchmarkSprintTxtOctet
(b *testing.B)
types_test.go:169
Function
BenchmarkUnpackA
(b *testing.B)
dns_bench_test.go:198
Function
BenchmarkUnpackAAAA
(b *testing.B)
dns_bench_test.go:246
Function
BenchmarkUnpackDomainName
(b *testing.B)
dns_bench_test.go:120
Function
BenchmarkUnpackDomainNameLongest
(b *testing.B)
dns_bench_test.go:140
Function
BenchmarkUnpackDomainNameLongestUnprintable
(b *testing.B)
dns_bench_test.go:155
Function
BenchmarkUnpackDomainNameUnprintable
(b *testing.B)
dns_bench_test.go:130
Function
BenchmarkUnpackMX
(b *testing.B)
dns_bench_test.go:222
Function
BenchmarkUnpackMsg
(b *testing.B)
dns_bench_test.go:319
Function
BenchmarkUnpackString
(b *testing.B)
msg_helpers_test.go:185
Function
BenchmarkZoneParser
(b *testing.B)
scan_test.go:434
Method
BlockSize
()
hash.go:18
Method
ConnectionState
ConnectionState() implements the ConnectionStater.ConnectionState() interface.
server.go:851
Method
ConnectionState
()
server.go:853
Method
Copy
(dest dns.PrivateRdata)
example_test.go:105
Method
Copy
Copy returns a new *Msg which is a deep-copy of dns.
msg.go:1073
Method
Copy
(dest dns.PrivateRdata)
privaterr_test.go:41
Method
Copy
(dest dns.PrivateRdata)
privaterr_test.go:128
Function
DialWithTLS
DialWithTLS connects to the address on the named network with TLS.
client.go:441
Function
ExampleDS
Retrieve the DNSKEY records of a zone and convert them to DS records for SHA1, SHA256 and SHA384.
example_test.go:35
Function
ExampleDecorateWriter
()
server_test.go:1445
Function
ExampleMX
Retrieve the MX records for miek.nl.
example_test.go:13
Function
ExamplePrivateHandle
()
example_test.go:122
Function
ExchangeConn
ExchangeConn performs a synchronous query. It sends the message m via the connection c and waits for a reply. The connection c is not closed by Exchan
client.go:420
Function
ExchangeContext
ExchangeContext performs a synchronous UDP query, like Exchange. It additionally obeys deadlines from the passed Context.
client.go:404
Function
Fuzz
(data []byte)
fuzz.go:8
Function
FuzzNewRR
(data []byte)
fuzz.go:21
Method
Generate
(msg []byte, t *TSIG)
tsig.go:79
Method
Generate
(_ []byte, t *TSIG)
tsig_test.go:310
Function
GenerateTXT
(r *rand.Rand, size int)
parse_test.go:205
← previous
next →
401–500 of 1,687, ranked by callers