mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-07 21:54:54 +08:00
add network when publishing custom dns creation
This commit is contained in:
parent
322bdb0af8
commit
8d6728bc41
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue