[libvirt] [PATCHv2 RESEND] Add forwarders attribute to <dns /> element.

Daniel P. Berrange berrange at redhat.com
Wed Sep 11 15:59:08 UTC 2013


On Wed, Sep 11, 2013 at 09:36:06AM -0400, Laine Stump wrote:
> On 09/10/2013 04:26 PM, 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.
> 
> 
> Dang! I had promised to look at this last week, then forgot :-(
> 
> 
> >
> >          <domain name="example.com"/>
> >          <dns>
> >            <txt name="example" value="example value" />
> > +          <forwarders addr="8.8.8.8" />
> > +          <forwarders addr="8.8.4.4" />
> 
> 
> In your earlier proposal, you had called this element "forward" rather
> than "forwards". I think a singular name is better, since each element
> is a single forwarding address.

Agreed, using  <forward/> or <forwarder/> sounds nicer


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list