Open cmeissner opened 4 years ago
The issue with using host-record
is that it will "create" A, AAAA, PTR4, and PTR6 records all at the same time, which is something that upstream software may not expect - Foreman for instance expects them to be separate records for both creation, updating, and removal. (And in fact expects to be able to put PTRs on a separate DNS from the regular A/AAAA records as well.)
I don't particularly want to create some kind of internal reference counter for handling those cases, but if address
is broken for some reason then a new solution might be necessary.
Before that though, could you check which version of dnsmasq you're running? Just in case it's a version-specific issue.
Before that though, could you check which version of dnsmasq you're running? Just in case it's a version-specific issue.
[root@centos8 ~]# dnsmasq -v
Dnsmasq version 2.79 Copyright (c) 2000-2018 Simon Kelley
Compile time options: IPv6 GNU-getopt DBus no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify
This software comes with ABSOLUTELY NO WARRANTY.
Dnsmasq is free software, and you are welcome to redistribute it
under the terms of the GNU General Public License, version 2 or 3.
We need to use
dnsmasq
as dns and dhcp server. We setupdnsmasq
as authoritative dns server for a given zone:Name resolution works for that
If we now create a dns record via foreman smart proxy the entry is added to the configured file
foreman.conf
below/etc/dnsmasq.d
. After that the new host can't be resolved.If I change the
address
intohost-record
the resolution works pretty good.I it wanted that
address
records are generated or is it a failure. Maybe this can be configured but it's not wrote to the example configuration.