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

Johnny Utahh lists.thekelleys.org.uk at johnnyutahh.com
Thu Jul 2 04:06:36 BST 2020


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



~Johnny
-- 
//
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200701/17d96575/attachment.html>


More information about the Dnsmasq-discuss mailing list