Sortix cross-volatile manual
This manual documents Sortix cross-volatile. You can instead view this document in the latest official manual.
NAME
dnsconfig — configure kernel DNS resolver listSYNOPSIS
dnsconfig |
dnsconfig | resolver ... |
dnsconfig | -s [resolver ...] |
dnsconfig | -a [resolver ...] |
dnsconfig | -d [resolver ...] |
DESCRIPTION
dnsconfig writes the current kernel DNS resolver list, or modifies it if any resolvers are specified.- -a
- Append resolvers to the list.
- -d
- Delete resolvers from the list.
- -s
- Set the resolver list. This option is the default if dnsconfig is invoked with any resolvers.
EXIT STATUS
dnsconfig will exit 0 on success and non-zero otherwise.EXAMPLES
Get the resolvers:$ dnsconfig 192.0.2.1
# dnsconfig 192.0.2.15 192.0.2.100 # dnsconfig 192.0.2.15 192.0.2.100
# dnsconfig -s # dnsconfig
# dnsconfig 192.0.2.128 # dnsconfig -a 192.0.2.40 # dnsconfig 192.0.2.128 192.0.2.40
# dnsconfig -d 192.0.2.128 # dnsconfig 192.0.2.40