[Dnsmasq-discuss] filter-AAAA is breaking dnsmasq

E encoding at riseup.net
Mon Oct 11 03:33:53 UTC 2021


> What’s the systemd unit file for dnsmasq look like?

I did not touch any systemd file.

Ok..... here's another attempt


# mv /etc/dnsmasq.conf /tmp/dnsmasq.conf

# apt remove --purge -y dnsmasq

# mkdir wtf

# cd wtf

/wtf# git clone http://thekelleys.org.uk/git/dnsmasq.git

/wtf# cd dnsmasq

/wtf/dnsmasq# make

/wtf/dnsmasq# make install
make[1]: Entering directory '.../wtf/dnsmasq/src'
make[1]: 'dnsmasq' is up to date.
make[1]: Leaving directory '.../wtf/dnsmasq/src'
install -d /usr/local/sbin
install -d /usr/local/share/man/man8
install -m 644 man/dnsmasq.8 /usr/local/share/man/man8
install -m 755 src/dnsmasq /usr/local/sbin

/wtf/dnsmasq# cd ~

# rm -r wtf

# mv /tmp/dnsmasq.conf /etc/dnsmasq.conf

# service dnsmasq restart
Failed to restart dnsmasq.service: Unit dnsmasq.service not found.

# dnsmasq --conf-file=/etc/dnsmasq.conf
dnsmasq: unsupported option at line 12 of /etc/dnsmasq.conf


W T F

Reverting!!!!!

# apt install dnsmasq

# service dnsmasq restart
Job for dnsmasq.service failed because the control process exited with
error code

# vi /etc/dnsmasq.conf
(replace filter-AAAA to #filter-AAAA)

# service dnsmasq restart

#


TLDR: W T F ! !



More information about the Dnsmasq-discuss mailing list