fixing default dns settings

This commit is contained in:
afeiszli
2021-08-11 12:19:28 -04:00
parent 684267e362
commit 1eb9decb15
3 changed files with 29 additions and 22 deletions

View File

@@ -147,10 +147,10 @@ func main() {
Usage: "Local Range if network is local, for instance 192.168.1.0/24.",
},
&cli.StringFlag{
Name: "dns",
Name: "dnson",
EnvVars: []string{"NETCLIENT_DNS"},
Value: "on",
Usage: "Sets private dns if 'on'. Ignores if 'off'. Will retrieve from network if unset.",
Value: "yes",
Usage: "Sets private dns if 'yes'. Ignores if 'no'. Will retrieve from network if unset.",
},
&cli.StringFlag{
Name: "islocal",