MCPcopy Create free account

hub / github.com/miekg/dns / functions

Functions1,687 in github.com/miekg/dns

↓ 2 callersFunctionunpackUint48
(msg []byte, off int)
msg_helpers.go:219
↓ 2 callersFunctionwriteTXTStringByte
(s *strings.Builder, b byte)
types.go:617
↓ 1 callersFunctionAddOrigin
AddOrigin adds origin to s if s is not already a FQDN. Note that the result may not be a FQDN. If origin does not end with a ".", the result won't ei
dnsutil/util.go:20
↓ 1 callersFunctionCopy
Copy returns a new RR which is a deep-copy of r.
msg.go:1067
↓ 1 callersMethodCopyTo
CopyTo copies the contents to the provided message using a deep-copy and returns the copy.
msg.go:1076
↓ 1 callersMethodCover
Cover returns true if a name is covered by the NSEC3 record.
nsecx.go:47
↓ 1 callersFunctionDialTimeout
DialTimeout acts like Dial but takes a timeout.
client.go:435
↓ 1 callersFunctionDialTimeoutWithTLS
DialTimeoutWithTLS acts like DialWithTLS but takes a timeout.
client.go:450
↓ 1 callersMethodErr
()
dnssec_keyscan.go:207
↓ 1 callersMethodError
()
scan.go:76
↓ 1 callersFunctionExchange
Exchange performs a synchronous UDP query. It sends the message m to the address contained in a and waits for a reply. Exchange does not retry a faile
client.go:78
↓ 1 callersMethodGenerate
(msg []byte, t *TSIG)
tsig.go:37
↓ 1 callersMethodGenerate
Generate generates a DNSKEY of the given bit size. The public part is put inside the DNSKEY record. The Algorithm in the key must be set as this will
dnssec_keygen.go:19
↓ 1 callersFunctionGenerateDomain
(r *rand.Rand, size int)
parse_test.go:147
↓ 1 callersMethodHandleFunc
HandleFunc adds a handler function to the ServeMux for pattern.
serve_mux.go:73
↓ 1 callersMethodHandleRemove
HandleRemove deregisters the handler specific for pattern from the ServeMux.
serve_mux.go:78
↓ 1 callersMethodInsert
Insert creates a dynamic update packet that adds an complete RRset, see RFC 2136 section 2.5.1. See [ANY] on how to make RRs without rdata.
update.go:71
↓ 1 callersMethodLen
()
example_test.go:118
↓ 1 callersMethodNameNotUsed
NameNotUsed sets the RRs in the prereq section to "Name is in not use" RRs. RFC 2136 section 2.4.5.
update.go:17
↓ 1 callersMethodNameUsed
NameUsed sets the RRs in the prereq section to "Name is in use" RRs. RFC 2136 section 2.4.4. See [ANY] on how to make RRs without rdata.
update.go:6
↓ 1 callersMethodOption
Option returns the option code for the option.
edns.go:245
↓ 1 callersMethodPack
(buf []byte)
example_test.go:82
↓ 1 callersMethodRRsetNotUsed
RRsetNotUsed sets the RRs in the prereq section to "RRset does not exist" RRs. RFC 2136 section 2.4.3. See [ANY] on how to make RRs without rdata.
update.go:59
↓ 1 callersMethodRRsetUsed
RRsetUsed sets the RRs in the prereq section to "RRset exists (value independent -- no rdata)" RRs. RFC 2136 section 2.4.1. See [ANY] on how to make R
update.go:46
↓ 1 callersMethodReadPacketConn
ReadPacketConn reads a raw message from a generic net.PacketConn UDP connection. Implementations may alter connection properties, for example the read
server.go:157
↓ 1 callersMethodReadTCP
ReadTCP reads a raw message from a TCP connection. Implementations may alter connection properties, for example the read-deadline.
server.go:145
↓ 1 callersMethodReadUDP
ReadUDP reads a raw message from a UDP connection. Implementations may alter connection properties, for example the read-deadline.
server.go:148
↓ 1 callersMethodRemoveName
RemoveName creates a dynamic update packet that deletes all RRsets of a name, see RFC 2136 section 2.5.3 See [ANY] on how to make RRs without rdata.
update.go:98
↓ 1 callersMethodReset
()
hash.go:19
↓ 1 callersFunctionRunLocalUnixGramServer
(laddr string, opts ...func(*Server))
server_test.go:154
↓ 1 callersFunctionRunLocalUnixSeqPacketServer
(laddr string)
server_test.go:163
↓ 1 callersFunctionRunLocalUnixServer
(laddr string, opts ...func(*Server))
server_test.go:145
↓ 1 callersMethodSetNotify
SetNotify creates a notify message, it sets the Question section, generates an Id and sets the Authoritative (AA) bit to true.
defaults.go:44
↓ 1 callersMethodSetRcodeFormatError
SetRcodeFormatError creates a message with FormError set.
defaults.go:61
↓ 1 callersMethodSetUpdate
SetUpdate makes the message a dynamic update message. It sets the ZONE section to: z, TypeSOA, ClassINET.
defaults.go:72
↓ 1 callersMethodString
()
version.go:13
↓ 1 callersMethodTsigTimersOnly
TsigTimersOnly sets the tsig timers only boolean.
server.go:56
↓ 1 callersMethodUsed
Used sets the RRs in the prereq section to "RRset exists (value dependent -- with rdata)" RRs. RFC 2136 section 2.4.2.
update.go:28
↓ 1 callersMethodWrite
Write implements the ResponseWriter.Write method.
server.go:772
↓ 1 callersMethodWrite
Write implements the net.Conn Write method.
client.go:359
↓ 1 callersMethodWriteMsg
WriteMsg writes a message through the transfer connection t.
xfr.go:266
↓ 1 callersMethodWriteMsg
WriteMsg sends a message through the connection co. If the message m contains a TSIG record the transaction signature is calculated.
client.go:343
↓ 1 callersFunctionWriteToSessionUDP
WriteToSessionUDP acts just like net.UDPConn.WriteTo(), but uses a *SessionUDP instead of a net.Addr.
udp.go:51
↓ 1 callersFunctionappendOrigin
(name, origin string)
scan.go:1350
↓ 1 callersFunctionaxfrTestingSuiteTLS
(t *testing.T, addrstr string)
xfr_test.go:157
↓ 1 callersFunctionaxfrTestingSuiteWithCustomTsig
(t *testing.T, addrstr string, provider TsigProvider)
xfr_test.go:189
↓ 1 callersFunctionaxfrTestingSuiteWithMsgNotSigned
(t *testing.T, addrstr string, provider TsigProvider)
xfr_test.go:225
↓ 1 callersFunctioncheckReuseaddr
this is just for test compatibility
listen_socket_options.go:62
↓ 1 callersFunctioncheckReuseport
this is just for test compatibility
listen_socket_options.go:52
↓ 1 callersFunctionclassToInt
Extract the class number from CLASSxx
scan.go:1208
↓ 1 callersFunctioncopyNet
copyNet returns a copy of a subnet.
types.go:1685
↓ 1 callersFunctioncurveToBuf
Set the public key for X and Y for Curve. The two values are just concatenated.
dnssec_keygen.go:135
↓ 1 callersMethoddialTimeout
()
client.go:84
↓ 1 callersMethodequals
equals reports whether two APL prefixes are identical.
types.go:1606
↓ 1 callersFunctionexponentToBuf
Set the public key (the values E and N) for RSA RFC 3110: Section 2. RSA Public KEY Resource Records
dnssec_keygen.go:117
↓ 1 callersMethodfind
(s string)
msg.go:185
↓ 1 callersFunctionfromBase32
(s []byte)
msg_helpers.go:144
↓ 1 callersMethodfromRFC3597
fromRFC3597 converts an unknown RR representation from RFC 3597 to the known RR type.
dns.go:136
↓ 1 callersMethodgenerate
Parse the $GENERATE statement as used in BIND9 zones. See http://www.zytrax.com/books/dns/ch8/generate.html for instance. We are called after '$GENERA
generate.go:21
↓ 1 callersFunctiongoroutineLeaked
()
leak_test.go:45
↓ 1 callersFunctionhandleRefused
handleRefused returns a HandlerFunc that returns REFUSED for every request it gets.
server.go:83
↓ 1 callersFunctionid
id returns a 16 bits random number to be used as a message id. The random provided should be good enough.
msg.go:84
↓ 1 callersMethodinAxfr
(q *Msg, c chan *Envelope)
xfr.go:87
↓ 1 callersMethodinIxfr
(q *Msg, c chan *Envelope)
xfr.go:140
↓ 1 callersMethodinsert
(s string, pos int)
msg.go:177
↓ 1 callersFunctioninterestingGoroutines
copied from net/http/main_test.go
leak_test.go:15
↓ 1 callersFunctionisNetworkTimeout
(err error)
client_test.go:270
↓ 1 callersFunctionisSOALast
(in *Msg)
xfr.go:285
↓ 1 callersMethodlen
(off int, compression map[string]struct{})
types.go:971
↓ 1 callersMethodlen
(off int, compression map[string]struct{})
types.go:1193
↓ 1 callersFunctionlistenUDP
(network, addr string, reuseport, reuseaddr bool)
listen_socket_options.go:85
↓ 1 callersFunctionloadModule
loadModule retrieves package description for a given module.
types_generate.go:90
↓ 1 callersFunctionloadModule
loadModule retrieves package description for a given module.
duplicate_generate.go:48
↓ 1 callersFunctionloadModule
loadModule retrieves package description for a given module.
msg_generate.go:54
↓ 1 callersFunctionmakeDataOpt
makeDataOpt is used to unpack the EDNS0 option(s) from a message.
edns.go:36
↓ 1 callersFunctionmakeUDPBuffer
(size int)
server.go:277
↓ 1 callersFunctionnewKLexer
(r io.Reader)
dnssec_keyscan.go:192
↓ 1 callersFunctionnewZLexer
(r io.Reader)
scan.go:731
↓ 1 callersMethodpack
()
edns.go:319
↓ 1 callersMethodpack
Copied: http://golang.org/src/pkg/net/dnsmsg.go
edns.go:488
↓ 1 callersMethodpack
(msg []byte, off int, compression compressionMap, compress bool)
msg.go:1152
↓ 1 callersFunctionpackDataDomainNames
(names []string, msg []byte, off int, compression compressionMap, compress bool)
msg_helpers.go:663
↓ 1 callersMethodpackHeader
packHeader packs an RR header, returning the offset to the end of the header. See PackDomainName for documentation about the compression.
msg_helpers.go:102
↓ 1 callersFunctionpackMacWire
(mw *macWireFmt, msg []byte)
tsig.go:434
↓ 1 callersFunctionpackOctetString
(s string, msg []byte, offset int)
msg.go:507
↓ 1 callersFunctionpackStringAny
(s string, msg []byte, off int)
msg_helpers.go:382
↓ 1 callersFunctionpackStringBase32
(s string, msg []byte, off int)
msg_helpers.go:313
↓ 1 callersFunctionpackTimerWire
(tw *timerWireFmt, msg []byte)
tsig.go:446
↓ 1 callersFunctionpackTsigWire
(tw *tsigWireFmt, msg []byte)
tsig.go:390
↓ 1 callersFunctionpackTxt
(txt []string, msg []byte, offset int)
msg.go:454
↓ 1 callersMethodpopEdns0
popEdns0 is like IsEdns0, but it removes the record from the message.
defaults.go:160
↓ 1 callersMethodreadPacketConn
(conn net.PacketConn, timeout time.Duration)
server.go:728
↓ 1 callersFunctionreadPrivateKeyECDSA
(m map[string]string)
dnssec_keyscan.go:108
↓ 1 callersFunctionreadPrivateKeyED25519
(m map[string]string)
dnssec_keyscan.go:127
↓ 1 callersFunctionreadPrivateKeyRSA
Read a private key (file) string and create a public key. Return the private key.
dnssec_keyscan.go:76
↓ 1 callersMethodreadTCP
(conn net.Conn, timeout time.Duration)
server.go:686
↓ 1 callersMethodreadTimeout
()
client.go:94
↓ 1 callersMethodreadUDP
(conn *net.UDPConn, timeout time.Duration)
server.go:710
↓ 1 callersFunctionreuseaddrControl
(network, address string, c syscall.RawConn)
listen_socket_options.go:30
↓ 1 callersFunctionreuseportControl
(network, address string, c syscall.RawConn)
listen_socket_options.go:16
← previousnext →301–400 of 1,687, ranked by callers