Skip to content

Commit

Permalink
all: improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Nov 24, 2020
1 parent 2d6df3d commit 116ad95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dns_engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ type DNSRequest struct {
ClientIP string // Client IP address
ClientName string // Client name

// DNSType is the DNS request record type (RR), for example "A" or
// "AAAA". See package github.com/miekg/dns for all acceptable
// constants.
// DNSType is the type of the resource record (RR) of a DNS request, for
// example "A" or "AAAA". See package github.com/miekg/dns for all
// acceptable constants.
DNSType uint16
}

Expand Down
4 changes: 2 additions & 2 deletions rules/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ type Request struct {
Hostname string // Request hostname
Domain string // Request domain (eTLD+1)

// DNSType is the DNS record type (RR) of the request. See package
// github.com/miekg/dns for all acceptable constants.
// DNSType is the type of the resource record (RR) of a DNS request.
// See package github.com/miekg/dns for all acceptable constants.
DNSType uint16

SourceURL string // Source URL
Expand Down

0 comments on commit 116ad95

Please sign in to comment.