[Dnsmasq-discuss] Minimal config: small # of A records, no upstream server

Geert Stappers stappers at stappers.nl
Thu Jul 2 08:18:29 BST 2020


On Wed, Jul 01, 2020 at 10:06:36PM -0500, Johnny Utahh wrote:
> 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
> 
 
That is indeed not enough for the desired use case.



Regards
Geert Stappers
While testing a new community member.
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list