<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang="EN-GB" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal">I’ve been running DNSMASQ v2.72 on a RPI 1A very successfully at home for the past few years.<o:p></o:p></p><p class="MsoNormal">I can run ‘dig’, ‘host’ and ‘nslookup’ and resolve any name, both locally and across the I’net.   I can also run ‘host –l home’ (zone transfer) from my home domain.  Everything works just as I want it.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">The extract from the working DNSMASQ.CONF is:<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">server=8.8.8.8<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">server=8.8.4.4<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"># Set this DNS as Authorative for our domain<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">#auth-server=home,192.168.1.68<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">auth-zone=home,ariel.home<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">auth-sec-servers=home<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">host-record=ariel.home,192.168.1.68<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">local=/home/<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">interface=eth0<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">listen-address=127.0.0.1<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I now want to port it across to a RPI 3B running OpenMediaVault-5 and docker.    I thought this would be simple since I only have to build a docker image, using DNSMASQ v2.8, and port the DNSMASQ.CONF file across.    I was wrong.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I can resolve my local devices and perform a zone transfer,  but cannot resolve any remote names across the I’net.<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:36.0pt"># dig www.bbc.co.uk<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:36.0pt">; <<>> DiG 9.8.4-P2 <<>> www.bbc.co.uk<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; global options: +cmd<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; Got answer:<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11869<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; WARNING: recursion requested but not available<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; QUESTION SECTION:<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;www.bbc.co.uk.                 IN      A<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; Query time: 1 msec<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; SERVER: 192.168.1.72#53(192.168.1.72)<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; WHEN: Thu Aug 19 11:14:50 2021<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; MSG SIZE  rcvd: 31<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">The extract from the DNSMASQ.CONF is :<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">server=8.8.8.8<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">server=8.8.4.4<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"># Set this DNS as Authorative for our domain<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">auth-server=home,192.168.1.72<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">host-record=home,192.168.1.72<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">auth-zone=home,192.168.1.72/24<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">auth-sec-servers=home<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">listen-address=127.0.0.1<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">listen-address=192.168.1.72<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">no-dhcp-interface=enxb827ebb41d1e      #  I don’t want two DHCP servers running yet whilst I port this<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">However, if I reconfigure dnsmasq to no longer be authorative for my home domain, I can perform ‘dig’, ‘host’ and ‘nslookup’ to resolve any name, both locally and across the I’net.<o:p></o:p></p><p class="MsoNormal">But, I cannot perform a zone transfer<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"># host -v -l home.<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">Trying "home"<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62729<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; flags: qr ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;; QUESTION SECTION:<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">;<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">; Transfer failed.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">The extract from the DNSMASQ.CONF is :<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">server=8.8.8.8<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">server=8.8.4.4<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt"># Set this DNS as Authorative for our domain<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">#auth-server=home,192.168.1.72                                            # removed<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">host-record=home,192.168.1.72<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">#auth-zone=home,192.168.1.72/24                                         # removed<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">#auth-sec-servers=home                                                            # removed<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">listen-address=127.0.0.1<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">listen-address=192.168.1.72<o:p></o:p></p><p class="MsoNormal" style="margin-left:36.0pt">no-dhcp-interface=enxb827ebb41d1e      #  I don’t want two DHCP servers running yet whilst I port this<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Clearly I’m doing something wrong but I cannot see what it is.    Any guidance would be gratefully appreciated.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks<o:p></o:p></p><p class="MsoNormal">Kevin<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p></div></body></html>