[klibc] [klibc:master] ipconfig: Document support for DNS server addresses

klibc-bot for Ben Hutchings ben at decadent.org.uk
Wed Dec 11 10:00:05 PST 2019

Commit-ID:  607dae881e39572e0a0aa6a55a8b750a0b89165f
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=607dae881e39572e0a0aa6a55a8b750a0b89165f
Author:     Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 11 Dec 2019 17:26:28 +0000
Committer:  Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 11 Dec 2019 17:39:18 +0000

[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 at decadent.org.uk>

 usr/kinit/ipconfig/README.ipconfig | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/usr/kinit/ipconfig/README.ipconfig b/usr/kinit/ipconfig/README.ipconfig
index 5c8227a4..10405d3e 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:
+   <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.

More information about the klibc mailing list