mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 22:24:17 +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 {
|
func PublishCustomDNS(entry *models.DNSEntry) error {
|
||||||
dns := models.DNSUpdate{
|
dns := models.DNSUpdate{
|
||||||
Action: models.DNSInsert,
|
Action: models.DNSInsert,
|
||||||
Name: entry.Name,
|
Name: entry.Name + "." + entry.Network,
|
||||||
//entry.Address6 is never used
|
//entry.Address6 is never used
|
||||||
Address: entry.Address,
|
Address: entry.Address,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue