Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Acme Dns
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
t-personal
Acme Dns
Commits
56517728
Commit
56517728
authored
6 years ago
by
Ward Vandewege
Committed by
Joona Hoikkala
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make sure to initialize the SOA record for the tcp server, too. (#149)
parent
09dc25d3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.go
+1
-0
1 addition, 0 deletions
main.go
with
1 addition
and
0 deletions
main.go
+
1
−
0
View file @
56517728
...
...
@@ -73,6 +73,7 @@ func main() {
dnsServerTCP
:=
NewDNSServer
(
DB
,
Config
.
General
.
Listen
,
tcpProto
)
// No need to parse records from config again
dnsServerTCP
.
Domains
=
dnsServerUDP
.
Domains
dnsServerTCP
.
SOA
=
dnsServerUDP
.
SOA
go
dnsServerUDP
.
Start
(
errChan
)
go
dnsServerTCP
.
Start
(
errChan
)
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment