Add hosts file as source for hostname resolver

This commit is contained in:
Cuong Manh Le
2023-08-22 02:08:44 +00:00
committed by Cuong Manh Le
parent e355fd70ab
commit 82e44b01af
6 changed files with 116 additions and 0 deletions
+1
View File
@@ -178,6 +178,7 @@ type ServiceConfig struct {
DiscoverARP *bool `mapstructure:"discover_arp" toml:"discover_dhcp,omitempty"`
DiscoverDHCP *bool `mapstructure:"discover_dhcp" toml:"discover_dhcp,omitempty"`
DiscoverPtr *bool `mapstructure:"discover_ptr" toml:"discover_ptr,omitempty"`
DiscoverHosts *bool `mapstructure:"discover_hosts" toml:"discover_hosts,omitempty"`
Daemon bool `mapstructure:"-" toml:"-"`
AllocateIP bool `mapstructure:"-" toml:"-"`
}