I have configured kresd to load /etc/hosts. It works, but it returns NXDOMAIN when asked MX records:
# host gw.lan
gw.lan has address 192.168.66.1
Host gw.lan not found: 3(NXDOMAIN)
# host 192.168.66.1
1.66.168.192.in-addr.arpa domain name pointer gw.lan.
# host -t a gw.lan
gw.lan has address 192.168.66.1
# host -t mx gw.lan
Host gw.lan not found: 3(NXDOMAIN)
I believe correct reply should be NODATA. After patch from
/t/kresd-responds-to-hints-with-nxdomain-for-aaaa-requests/8353
the AAAA requests are replied with NODATA but all other requests return NXDOMAIN.
can this be fixed somehow?