[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Add forwarders attribute to <dns /> element.



On 09/02/2013 07:50 AM, Diego Woitasen wrote:
> Useful to set custom forwarders instead of using the contents of
> /etc/resolv.conf. It helps me to setup dnsmasq as local nameserver to resolv VM
> domain names from domain 0, when domain option is used.
>
> Signed-off-by: Diego Woitasen <diego woitasen vhgroup net>
> ---
>  src/conf/network_conf.c                            | 34 +++++++++++++++++++++-
>  src/conf/network_conf.h                            |  1 +
>  src/network/bridge_driver.c                        |  8 +++++
>  .../nat-network-dns-forwarders.conf                | 15 ++++++++++
>  .../nat-network-dns-forwarders.xml                 |  9 ++++++
>  tests/networkxml2conftest.c                        |  1 +
>  6 files changed, 67 insertions(+), 1 deletion(-)
>  create mode 100644 tests/networkxml2confdata/nat-network-dns-forwarders.conf
>  create mode 100644 tests/networkxml2confdata/nat-network-dns-forwarders.xml

You also need to add documentation  describing the new element (I agree
with danpb's suggestion) to docs/formatnetwork.html.in, and expand the
grammar in docs/schemas/network.rng.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]