]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add TXT record support for virtual DNS service
authorMichal Novotny <minovotn@redhat.com>
Fri, 24 Jun 2011 10:04:36 +0000 (12:04 +0200)
committerLaine Stump <laine@laine.org>
Fri, 24 Jun 2011 20:15:12 +0000 (16:15 -0400)
commit5dd986dbd7ff0bdae0b572bafde16b4b94237ff8
treed4797fad777535b4f30e9e51d436e31e8055c71e
parent9a48ed54f84086939607b5eb72bc6ffdef2ae400
Add TXT record support for virtual DNS service

This commit introduces the <dns> element and <txt> record for the
virtual DNS network. The DNS TXT record can be defined using following
syntax in the network XML file:

  <dns>
    <txt name="example" value="example value" />
  </dns>

Also, the Relax-NG scheme has been altered to allow the texts without
spaces only for the name element and some nitpicks about memory
free'ing have been fixed by Laine so therefore I'm adding Laine to the
SOB clause ;-)

Signed-off-by: Michal Novotny <minovotn@redhat.com>
Signed-off-by: Laine Stump <laine@laine.org>
docs/formatnetwork.html.in
docs/schemas/network.rng
src/conf/network_conf.c
src/conf/network_conf.h
src/network/bridge_driver.c
tests/networkxml2xmlin/nat-network-dns-txt-record.xml [new file with mode: 0644]
tests/networkxml2xmlout/nat-network-dns-txt-record.xml [new file with mode: 0644]
tests/networkxml2xmltest.c