[Dnsmasq-discuss] Fwd: DNS TXT records
Martin Styk
mart.styk at gmail.com
Wed Mar 10 10:56:40 UTC 2021
st 10. 3. 2021 o 11:38 Petr Menšík <pemensik at redhat.com> napísal(a):
>
> Hi Martin,
>
> Do I understand it correctly, you want to add also txt record for each
> dhcp static lease configured? But their addresses are not fixed, so
> txt-record should be used in addition to leased addresses?
>
> I admit I did not found working solution in dnsmasq man page. dhcp-host
> should be read on SIGHUP, but txt-record should not.
Hi Petr,
This is exactly what I need.
Due to some reasons, the txt-record is used to store additional
information for kickstart.
Therefore when I need to spin up new VM I need to update DHCP (static
record) + txt-record.
SIGHUP will reload DHCP configuration, however, txt-record is part of
core configuration, therefore it will not change.
The only possible way is to restart the whole DNSMASQ which is
something that I'm trying to avoid.
I asked if someone doesn't have some useful tips on how to avoid this scenario.
It seems that I will need to use DNSMASQ for DHCP and BIND for DNS resolution.
Regards,
Martin
>
> Cheers,
> Petr
>
> On 3/9/21 3:23 PM, Martin Styk wrote:
> > Hello,
> >
> > I'm trying to add new VM machines on the fly (DNS + DHCP records).
> >
> > This is quite easy because I just need to store data in hosts file
> > (DNS) and dhcp-hostfile (DHCP).
> > However, I need to set TXT records as well. Based on the documentation
> > it seems, that TXT records have to be stored along with the
> > configuration itself.
> >
> > With this approach, I will lose the ability to SIGHUP DNSMASQ and get
> > new changes.
> > Is there any trick on how to do this? Any help would be appreciated.
> >
> > Best regards,
> > Martin
> >
>
> --
> Petr Menšík
> Software Engineer
> Red Hat, http://www.redhat.com/
> email: pemensik at redhat.com
> PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
--
Martin Styk
More information about the Dnsmasq-discuss
mailing list