Skip to content

Commit

Permalink
Merge pull request #8 from zmap/phillip/fix-go-mod-module-name
Browse files Browse the repository at this point in the history
Renamed go package as `zdns/dns` instead of `miekg/dns`
  • Loading branch information
zakird committed Jun 10, 2024
2 parents 9fd651b + ca476e1 commit cc18066
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Makefile.fuzz
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ all: build

.PHONY: build
build:
go-fuzz-build -tags fuzz github.com/miekg/dns
go-fuzz-build -tags fuzz github.com/zdns/dns

.PHONY: build-newrr
build-newrr:
go-fuzz-build -func FuzzNewRR -tags fuzz github.com/miekg/dns
go-fuzz-build -func FuzzNewRR -tags fuzz github.com/zdns/dns

.PHONY: fuzz
fuzz:
Expand Down
2 changes: 1 addition & 1 deletion Makefile.release
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package main
import (
"fmt"

"github.com/miekg/dns"
"github.com/zdns/dns"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion dnsutil/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ package dnsutil
import (
"strings"

"github.com/miekg/dns"
"github.com/zdns/dns"
)

// AddOrigin adds origin to s if s is not already a FQDN.
Expand Down
2 changes: 1 addition & 1 deletion duplicate_generate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"log"
"net"

"github.com/miekg/dns"
"github.com/zdns/dns"
)

// Retrieve the MX records for miek.nl.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/miekg/dns
module github.com/zdns/dns

go 1.19

Expand Down
2 changes: 1 addition & 1 deletion msg_generate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion privaterr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"
"testing"

"github.com/miekg/dns"
"github.com/zdns/dns"
)

const TypeISBN uint16 = 0xFF00
Expand Down
2 changes: 1 addition & 1 deletion types_generate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc18066

Please sign in to comment.