From cd16252299831ffb84ddeb922a6bdd74400a062f Mon Sep 17 00:00:00 2001 From: Casey Callendrello Date: Mon, 21 Nov 2016 19:05:41 +0100 Subject: [PATCH] ipam/host-local: add ResolvConf argument for DNS configuration This adds the option `resolvConf` to the host-local IPAM configuration. If specified, the plugin will try to parse the file as a resolv.conf(5) type file and return it in the DNS response. --- host-local.md | 1 + 1 file changed, 1 insertion(+) diff --git a/host-local.md b/host-local.md index 37446157..00c1e84c 100644 --- a/host-local.md +++ b/host-local.md @@ -30,6 +30,7 @@ It stores the state locally on the host filesystem, therefore ensuring uniquenes * `rangeEnd` (string, optional): IP inside of "subnet" with which to end allocating addresses. Defaults to ".254" IP inside of the "subnet" block. * `gateway` (string, optional): IP inside of "subnet" to designate as the gateway. Defaults to ".1" IP inside of the "subnet" block. * `routes` (string, optional): list of routes to add to the container namespace. Each route is a dictionary with "dst" and optional "gw" fields. If "gw" is omitted, value of "gateway" will be used. +* `resolvConf` (string, optional): Path to a `resolv.conf` on the host to parse and return as the DNS configuration ## Supported arguments The following [CNI_ARGS](https://github.com/containernetworking/cni/blob/master/SPEC.md#parameters) are supported: