Skip to content

Commit 1d1ebf5

Browse files
authored
Merge pull request #3 from victory460/main
fix fqdn() func problem
2 parents f68044c + 5648d11 commit 1d1ebf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,5 +327,5 @@ func split255(s string) []string {
327327
}
328328

329329
func (rec *Record) fqdn() string {
330-
return rec.Zone + rec.Name
330+
return rec.Name + "." + rec.Zone
331331
}

0 commit comments

Comments
 (0)