<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Does the following serve the use case (mentioned below)?<br>
<br>
I've updated my .conf, results below. I'm now intending records be
read from `<tt>/etc/dnsmasq_a_records</tt><tt>` and _not_ `</tt><tt>/etc/hosts`</tt>.<br>
<br>
<blockquote><tt>/etc/dnsmasq.conf:</tt><br>
<tt>port=[myport]</tt><br>
<tt>no-resolv</tt><br>
<tt>no-poll</tt><br>
<tt>interface=eth8</tt><br>
<tt>no-dhcp-interface=eth8</tt><br>
<tt>no-hosts</tt><br>
<tt>addn-hosts=/etc/dnsmasq_a_records</tt><br>
<tt>domain=[mydomain.tld]</tt><br>
</blockquote>
<tt><br>
</tt><br>
<div class="moz-cite-prefix">On 2020-07-02 6:16 AM, Johnny Utahh
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d9eb95e8-ffd8-dd7b-ef5a-1675bc056ce1@johnnyutahh.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div class="moz-cite-prefix">On 2020-07-02 2:18 AM CDT, Geert
Stappers wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20200702071829.j6pu5fjk3mijlf23@gpm.stappers.nl"> </blockquote>
<blockquote type="cite">
<pre wrap="">That is indeed not enough for the desired use case.</pre>
</blockquote>
<br>
Thanks, quite good to know. What <tt>edits or additions (to the
following `/etc/dnsmasq.conf` or any other file</tt>) are needed
to serve this use case?<br>
<br>
<pre wrap=""> /etc/dnsmasq.conf:
interface=eth8
no-dhcp-interface=eth8</pre>
<br>
<br>
<div class="moz-cite-prefix">On 2020-07-02 2:18 AM, Geert Stappers
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20200702071829.j6pu5fjk3mijlf23@gpm.stappers.nl">
<pre wrap="">On Wed, Jul 01, 2020 at 10:06:36PM -0500, Johnny Utahh wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
Do I need to make any edits/additions to the dnsmasq.conf below to support
the following scenario?
Ubuntu 20.04
dnsmasq 2.80
Details:
I want to provide a _minimal_ DNS server. It *only* serves a few A records
(from /etc/hosts).
A key point: I want to make sure it does NOTHING else. No
upstream-DNS-server/service connection. Any DNS requests sent to said server
outside of the /etc/hosts A-record list will fail. Further: no DHCP, tftp,
or any others. All of the other bells and whistles I do not know about: I
want them disabled, too. Just plain old proper DNS records serving and
associated error-condition handling.
Additionally, the dnsmasq-based DNS server will bind/interface/respond-to
only `eth8`.
/etc/dnsmasq.conf:
interface=eth8
no-dhcp-interface=eth8
</pre>
</blockquote>
<pre wrap="">
That is indeed not enough for the desired use case.
Regards
Geert Stappers
While testing a new community member.
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<i> </i></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dnsmasq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<i> </i></div>
</body>
</html>