Browse Source

add network when publishing custom dns creation

Matthew R Kasun 2 years ago
parent
commit
8d6728bc41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mq/publishers.go

+ 1 - 1
mq/publishers.go

@@ -326,7 +326,7 @@ func PublishDeleteExtClientDNS(client *models.ExtClient) error {
 func PublishCustomDNS(entry *models.DNSEntry) error {
 	dns := models.DNSUpdate{
 		Action: models.DNSInsert,
-		Name:   entry.Name,
+		Name:   entry.Name + "." + entry.Network,
 		//entry.Address6 is never used
 		Address: entry.Address,
 	}