diff options
author | Ted Elhourani <ted.elhourani@nutanix.com> | 2020-10-06 20:25:56 +0000 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2020-10-08 17:47:24 +0200 |
commit | f00c47b8f33d28fbff5347c1c4e318ddcbdaf10a (patch) | |
tree | 39a31de5eba8986bdb2eedbfa01a49619f0a23e9 /Documentation/intro | |
parent | b0672f4ba23a0201553d78ada964aec5e9b5b13b (diff) | |
download | openvswitch-f00c47b8f33d28fbff5347c1c4e318ddcbdaf10a.tar.gz |
dns-resolve: Allow unbound's config file to be set through an env var.
When an unbound context is created, check whether OVS_UNBOUND_CONF has been
set. If a valid config file is supplied then use it to configure the
context. The procedure returns if the config file is invalid. If no config
file is found then the default unbound config is used.
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ted Elhourani <ted.elhourani@nutanix.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'Documentation/intro')
-rw-r--r-- | Documentation/intro/install/general.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst index 09f2c13f1..c4300cd53 100644 --- a/Documentation/intro/install/general.rst +++ b/Documentation/intro/install/general.rst @@ -97,7 +97,9 @@ need the following software: specifying OpenFlow and OVSDB remotes. If unbound library is already installed, then Open vSwitch will automatically build with support for it. The environment variable OVS_RESOLV_CONF can be used to specify DNS server - configuration file (the default file on Linux is /etc/resolv.conf). + configuration file (the default file on Linux is /etc/resolv.conf), and + environment variable OVS_UNBOUND_CONF can be used to specify the + configuration file for unbound. On Linux, you may choose to compile the kernel module that comes with the Open vSwitch distribution or to use the kernel module built into the Linux kernel |