Update Verb
update
is designed to make it easy to manage the server list used by dug, and stored in ~/.dug/servers.csv
update
should be invoked as follows: dug update [<options>]
Options
Option | Description | Default | Possible Values (if applicable) |
---|---|---|---|
-f, --file | Update DNS server list using the specified file instead of the remote source (Must be in default csv format or use --data-columns to specify csv structure) | A filepath | |
-s, --servers | The server IPs to import instead of the remote source | Any parseable IP (like 8.8.8.8 ), or multiple separated by commas (like 8.8.8.8,2001:4860:4860::8888 ) | |
-o, --overwrite | Overwrite the current server list instead of updating it | ||
-r, --reliability | Runs a query for a very stable domain (google.com) against ALL servers. | Can be set to normal or prune . Normal updates server reliability based on the results, Prune removes servers that failed (timeout, error, etc) | |
--reliability-only | Can only be used with the (-r,--reliability) option. This will keep any new servers from other options (-s,-f,etc) or remote sources from being added. Use if you only want to update the reliability of the currently present servers | ||
--update-url | Specifies the remote URL to use to retrieve servers. To use this you must also set --data-columns so the servers can be deserialized | A Url | |
--data-columns | Specify the fields, and their order, of the data being imported. Applies to data imported from a file (-f) or remotely (--update-url). | Any of the following (or multiple separated by commas): ipaddress , countrycode , city , dnssec , reliability , ignore | |
--data-headers-present | Specifies whether or not headers are present on the data being imported. Can only be used in conjuction with --data-columns | ||
--data-separator | Specifies the separator to be used when parsing import data. Can only be used in conjuction with --data-columns. | , | Any character |
-v,--verbose | Enable Verbose Output | ||
-p, --parallel | The number of servers to perform queries against in parallel | 200 | integer |
--retries | The number of times to retry queries on servers that error (or timeout) | 0 | integer |
-t, --timeout | The timeout (in ms) to be used when querying each DNS Server | 3000 | integer |