Hi,

I have a dnsmasq installation, running on a dedicated raspberry pi, that has served me well for almost exactly one year now, until midday yesterday when it apparently stopped referring queries to upstream DNS servers. I have been relying on this dnsmasq setup to do dhcp and dns for my home lan of about 20 clients since Oct 2018. As I said, it has worked flawlessly until yesterday. I have of course done restarts and power cycles to the pi and dnsmasq service but to no avail.

DHCP and local DNS queries still seem to work on this dnsmasq installation.

I haven't made any changes to my network or this pi lately, so I am rather mystified as to what has caused dnsmasq to behave differently all of a sudden. As a workaround, I have had to go to important client machines on my lan and set them up with OPENDNS DNS addresses so they can continue to function while I fix this.

As a complete dnsmasq newbie, I set the dnsmasq up in Oct 2018, with the help of an internet article that I can no longer find. It recommended leaving /etc/dnsmasq.conf alone and putting all site specific config data into /etc/dnsmasq.d/home.dns. This is what I did, see attached. File /etc/dnsmasq.conf remains unchanged from how the installer program left it, with most if not all features commented out.

The /etc/dnsmasq.d/home.dns file is pretty simple but it doesn't explicitly set up any referrals to upstream dns servers.

Quite frankly, I never really understood how dnsmasq knew where to send queries it couldn't resolve by itself. It was working, till now, though, so I went on to other things and forgot about it.

My question now is this:

What do I need to add to home.dns to explicitly tell dnsmasq the ip addresses of upstream DNS server(s) and authorize it to refer locally unresolvable queries to it/them?

Other thoughts or observations germane to this mystery would also be of interest.

Thanks,

Brian H.
Uxbridge Ont Canada
# General Configuration
domain-needed
bogus-priv
domain=lan
dhcp-range=192.168.55.115,192.168.55.155,24h
dhcp-option=3,192.168.55.1


# Static IPs
dhcp-host=18:3d:a2:9e:21:c4,laptop1,192.168.55.101
dhcp-host=90:18:7C:34:75:53,BJH_G3,192.168.55.104
dhcp-host=90:18:7c:0a:a6:4e,LLH_G3,192.168.55.105
dhcp-host=40:30:04:88:7c:a8,Ipad,192.168.55.110
dhcp-host=bc:14:85:50:2e:d7,SamTV,192.168.55.111
dhcp-host=b8:27:eb:26:aa:a1,RPi5,192.168.55.155
dhcp-host=84:F3:EB:B4:0B:A3,ESP14,192.168.55.184
dhcp-host=5C:CF:7F:C6:7C:9A,ESP16,192.168.55.186
dhcp-host=80:7d:3a:18:7e:63,ESP17,192.168.55.187

# Enable the TFTP server
enable-tftp
tftp-root=/home/pi
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to