add newAddress to DNSUpdate struct

This commit is contained in:
Matthew R Kasun 2023-02-07 14:24:57 -05:00
parent 488ada670c
commit 0c470daf3c

View file

@ -19,10 +19,11 @@ const (
// DNSUpdate data for updating entries in /etc/hosts
type DNSUpdate struct {
Action DNSUpdateAction
Name string
NewName string
Address string
Action DNSUpdateAction
Name string
NewName string
Address string
NewAddress string
}
// DNSEntry - a DNS entry represented as struct