David Ayers
2017-Aug-31 09:32 UTC
Re: [libvirt-users] network configuration for guest specific dns-servers
Thanks a lot, Martin! Am Donnerstag, den 31.08.2017, 10:11 +0200 schrieb Martin Kletzander:> On Thu, Aug 31, 2017 at 12:10:22AM +0200, David Ayers wrote: > > > >We would like to configure guest specific dns-servers as would be done > >with the --dhcp-option of dnsmasq. I was expecting to be able to do > >something like: > > > > <host mac="00:16:3e:77:e2:ed" > > name="foo.example.com" > > ip="192.168.122.10" > > dhcp-option="dns-server,127.0.0.1" /> > > > >but it seems that this isn't the correct approach, as virsh net-edit > >default removes that attribute definition. > > > > AFAIK the support for this was not added. Feel free to request this in > our bugzilla [1] so that we can track it. Or, even better, send a patch > if you have some time ;) It should not be difficult.Okay, I'll be sure to add it to bugzilla sometime soon. Your request for a patch implies that this would be a welcome feature and will not be rediscussed on its principal merit correct? (implementation details notwithstanding ;-) ) The reason I ask, is that I do not have a development environment ready for libvirt and there will be quite a bit work before I've read through all your guidelines, setup a development VM (I suppose that should be easiest with the latest stable release of Fedora, RHEL or CentOS?) I'm not sure yet that I can muster up the time, but it does seem interesting, so a may give it shot. It would be very disappointing if it then were rejected on principle. Thank you! David -- David Ayers - Team Austria Free Software Foundation Europe (FSFE) [] (http://www.fsfe.org) Join the Fellowship of FSFE! [][][] (https://fsfe.org/join) Your donation powers our work! || (http://fsfe.org/donate)
David Ayers
2017-Aug-31 11:09 UTC
Re: [libvirt-users] network configuration for guest specific dns-servers
Am Donnerstag, den 31.08.2017, 11:32 +0200 schrieb David Ayers:> > Am Donnerstag, den 31.08.2017, 10:11 +0200 schrieb Martin Kletzander: > > > > AFAIK the support for this was not added. Feel free to request this in > > our bugzilla [1] so that we can track it. Or, even better, send a patch > > if you have some time ;) It should not be difficult. > > Okay, I'll be sure to add it to bugzilla sometime soon.Actually, this was already reported (on the last day of 2010): https://bugzilla.redhat.com/show_bug.cgi?id=666556 and seems to restated (two years later) in: https://bugzilla.redhat.com/show_bug.cgi?id=824573 and by the looks of this, generic dhcp options at global scope are already contentious, let alone at host scope. So I guess we my stop configuring dnsmasq via libvirt. Cheers, David -- David Ayers - Team Austria Free Software Foundation Europe (FSFE) [] (http://www.fsfe.org) Join the Fellowship of FSFE! [][][] (https://fsfe.org/join) Your donation powers our work! || (http://fsfe.org/donate)
Martin Kletzander
2017-Aug-31 12:17 UTC
Re: [libvirt-users] network configuration for guest specific dns-servers
On Thu, Aug 31, 2017 at 01:09:14PM +0200, David Ayers wrote:>Am Donnerstag, den 31.08.2017, 11:32 +0200 schrieb David Ayers: >> >> Am Donnerstag, den 31.08.2017, 10:11 +0200 schrieb Martin Kletzander: >> > >> > AFAIK the support for this was not added. Feel free to request this in >> > our bugzilla [1] so that we can track it. Or, even better, send a patch >> > if you have some time ;) It should not be difficult. >> >> Okay, I'll be sure to add it to bugzilla sometime soon. > >Actually, this was already reported (on the last day of 2010): >https://bugzilla.redhat.com/show_bug.cgi?id=666556 >and seems to restated (two years later) in: >https://bugzilla.redhat.com/show_bug.cgi?id=824573 > >and by the looks of this, generic dhcp options at global scope are >already contentious, let alone at host scope. > >So I guess we my stop configuring dnsmasq via libvirt. >Oh, look at that. It's good that you've found it. Of course there are people more proficient in the networking area who have way more thing on their radar. Looks like this is very often requested thing also. I can't speak for arbitrary options, but named ones that we know what to map them to, should be fine and not rejected (at least not right away). But others (especially Laine; Cc'd) could be more specific WRT your request.>Cheers, >David > > >-- >David Ayers - Team Austria >Free Software Foundation Europe (FSFE) [] (http://www.fsfe.org) >Join the Fellowship of FSFE! [][][] (https://fsfe.org/join) >Your donation powers our work! || (http://fsfe.org/donate)
Reasonably Related Threads
- Re: network configuration for guest specific dns-servers
- Re: network configuration for guest specific dns-servers
- network configuration for guest specific dns-servers
- Re: network configuration for guest specific dns-servers
- Standalone Server User Import / Export