[Dnsmasq-discuss] dnsmasq identification
Simon Kelley
simon at thekelleys.org.uk
Tue Nov 6 18:36:09 GMT 2012
On 06/11/12 18:16, Laine Stump wrote:
> On 11/05/2012 02:50 PM, Simon Kelley wrote:
>> On 05/11/12 18:18, Gene Czarcinski wrote:
>>> Libvirt currently intends not require updating to some recent version of
>>> dnsmasq. Currently, that means besides 2.63, they want to handle
>>> situations where dnsmasq-2.48 and dnsmasq-2.59 are installed on the
>>> system.
>>>
>>> 1. What is a "good" way to identify what services are supported by a
>>> running dnsmasq. The one currently planned is to do "dnsmasq
>>> --version", capture the output, and check the version id.
>>
>> You can query the version via DNS too
>>
>> dig chaos txt version.bind
>
> Interesting bit of functionality, but I think it would be overkill for
> Gene's purpose - he's just learning the dnsmasq version on the local
> machine so he can make an intelligent decision about whether or not
> dnsmasq can be used to do IPv6 RA for libvirt networks (libvirt
> currently uses radvd for that purpose). libvirt does something similar
> for qemu by running "qemu-kvm -help" and parsing the output (although
> the latest qemu has a better mechanism for conveying that information).
>
... and dnsmasq has "dnsmasq --version" which Gene mentioned in his
initial question, so I didn't bother again. I guess the advantage of the
DNS query is it's easy to do from inside the virtual machine, if that
was needed.
Cheers,
Simon.
More information about the Dnsmasq-discuss
mailing list