diff --git a/types/types.go b/types/types.go index 7fce5b82..e5558be4 100644 --- a/types/types.go +++ b/types/types.go @@ -67,6 +67,7 @@ type NetConf struct { type Result struct { IP4 *IPConfig `json:"ip4,omitempty"` IP6 *IPConfig `json:"ip6,omitempty"` + DNS []string `json:"dns,omitempty"` } func (r *Result) Print() error {