add network when publishing custom dns creation

This commit is contained in:
Matthew R Kasun 2023-02-08 10:11:36 -05:00
parent 322bdb0af8
commit 8d6728bc41

View file

@ -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,
}