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

Johnny Utahh lists.thekelleys.org.uk at johnnyutahh.com
Thu Jul 2 12:16:49 BST 2020


On 2020-07-02 2:18 AM CDT, Geert Stappers wrote:
> That is indeed not enough for the desired use case.

Thanks, quite good to know. What edits or additions (to the following 
`/etc/dnsmasq.conf` or any other file) are needed to serve this use case?

    /etc/dnsmasq.conf:
    interface=eth8
    no-dhcp-interface=eth8



On 2020-07-02 2:18 AM, Geert Stappers wrote:
> 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.

-- 
//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200702/895b8cbc/attachment.html>


More information about the Dnsmasq-discuss mailing list