My two cents.
In RHEL7 I have compiled the dnsmasq 0.78 version using these instructions and doing some changes.
Install the necesary packages:
sudo yum install nettle-devel
sudo yum install libidn2-devel
sudo yum install libnetfilter_conntrack-devel
sudo yum install dbus-devel
config.h options:
/* #define HAVE_LUASCRIPT */
#define HAVE_DBUS
/* #define HAVE_IDN*/
#define HAVE_LIBIDN2
#define HAVE_CONNTRACK
#define HAVE_DNSSEC
Compiling and starting the service:
sudo make install
sudo systemctl start dnsmasq
sudo systemctl status dnsmasq
Output:
dnsmasq -v
Dnsmasq version 2.78 Copyright (c) 2000-2017 Simon Kelley
Compile time options: IPv6 GNU-getopt DBus no-i18n IDN2 DHCP DHCPv6 no-Lua TFTP 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.