diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2019-12-11 17:26:28 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-12-11 17:39:18 +0000 |
commit | 607dae881e39572e0a0aa6a55a8b750a0b89165f (patch) | |
tree | aaceaeb2636a6ee744068e20a07facfd5fe2863d | |
parent | 333ef3af1dcef61a6bc5dba531453e5e0cb27da1 (diff) | |
download | klibc-607dae881e39572e0a0aa6a55a8b750a0b89165f.tar.gz |
[klibc] ipconfig: Document support for DNS server addresses
Support for static DNS server addresses was implemented in commit
b86cd0ef3f22, but README.ipconfig did not mention this.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rw-r--r-- | usr/kinit/ipconfig/README.ipconfig | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr/kinit/ipconfig/README.ipconfig b/usr/kinit/ipconfig/README.ipconfig index 5c8227a4ad64bb..10405d3e10b2f3 100644 --- a/usr/kinit/ipconfig/README.ipconfig +++ b/usr/kinit/ipconfig/README.ipconfig @@ -33,9 +33,10 @@ none no autoconfiguration - either static config, or none at all An interface spec can be either short form, which is just the name of an interface (eth0 or whatever), or long form. The long form consists -of up to seven elements, separated by colons: +of up to nine elements, separated by colons: -<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf> +<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>: + <dns0-ip>:<dns1-ip> <client-ip> IP address of the client. If empty, the address will either be determined by RARP/BOOTP/DHCP. What protocol @@ -76,6 +77,14 @@ of up to seven elements, separated by colons: protocols are used. 'off', 'static' or 'none' means no autoconfiguration. + <dns0-ip> IP address of primary nameserver. + + Default: None if not using autoconfiguration; determined + automatically if using autoconfiguration. + + <dns1-ip> IP address of secondary nameserver. + See <dns0-ip>. + IP addresses and netmasks must be either absent (defaulting to zero) or presented in dotted-quad notation. |