<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2020-07-03 1:07 PM, Johnny Utahh
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2a09b5b5-e739-738f-9a07-47926114dabe@johnnyutahh.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Two related questions:<br>
<br>
<br>
1. Support non-error host(1) queries to AAAA and MX records?<br>
<br>
Cmdline-session details, with private info (hopefully) redacted:<br>
<a class="moz-txt-link-freetext"
href="https://gist.githubusercontent.com/johnnyutahh/0f171e47e6ed861f66a1835150a11e4a/raw"
moz-do-not-send="true">https://gist.githubusercontent.com/johnnyutahh/0f171e47e6ed861f66a1835150a11e4a/raw</a><br>
<br>
Short version:<br>
<br>
a. host(1) against my dnsmasq server == 5(REFUSED)<br>
b. host(1) against Cloudflare/GoDaddy == no error<br>
<br>
Details:<br>
<br>
Ubuntu 20.04's host(1) by default appears to (I think?) query all
3 of of A, AAAA, and MX records. In my simple,
dnsmasq-served-by-only-the-A-record-is-in-/etc/hosts-config,
host(1) complains about the AAAA and MX looks. When asking
Cloudflare (with GoDaddy as source/authoritative server), host(1)
does not complain.<br>
<br>
How can I make my dnsmasq server mimic the Cloudflare/GoDaddy
response and make host(1) happy? (I'd like my users to not
complain after a switchover.)<br>
<br>
Does Cloudflare/GoDaddy answer with a blank/empty-string AAAA and
MX record, while dnsmasq simply respond with a "not
here"/5(REFUSED) response?<br>
<br>
What is better/best-practice behavior and why?<br>
<br>
<br>
2. Make dnsmasq, sans upstream DNS, the authoritative DNS for my
domains?<br>
<br>
The host(1) output from dnsmasq's server shows the reply as
non-authoritative, if I'm reading its output correctly.<br>
<br>
Why would dnsmasq not, by default, claim it's the authoritative
server if (in my case) there's no upstream DNS? And how can I make
it do so?<br>
</blockquote>
<br>
Clarifying:<br>
<blockquote type="cite">When asking Cloudflare (with GoDaddy as
source/authoritative server), host(1) does not complain.</blockquote>
<br>
...even when there is no AAAA nor MX record.<br>
<br>
<div class="moz-signature">-- <br>
<i> </i></div>
</body>
</html>