<div dir="ltr"><div style="font-size:12.8000001907349px">Hi!</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I'm using dnsmasq for bootstrapping our embedded linux device, and dnsmasq is working really great.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">However, I cannot seem to be able to avoid dnsmasq reading the configuration file from /etc/dnsmasq.conf and use _only_ my command-line arguments. Lets say you have this:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">$ cat /etc/dnsmasq.conf</font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">tftp-root=/bad/path</font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">enable-tftp</font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">$ dnsmasq -tftp-root=/good/path</font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">dnsmasq: TFTP directory /bad/path inaccessible: No such file or directory<br></font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">$ # this doesn't work either:</font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">$ dnsmasq --conf-file="" -tftp-root=/good/path</font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">dnsmasq: TFTP directory /bad/path inaccessible: No such file or directory<br></font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace"><br></font></div><div style="font-size:12.8000001907349px"><font face="monospace, monospace">$ dnsmasq --version</font></div><div style="font-size:12.8000001907349px"><div><font face="monospace, monospace">Dnsmasq version 2.73  Copyright (c) 2000-2015 Simon Kelley</font></div><div><font face="monospace, monospace">Compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth DNSSEC loop-detect inotify</font></div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Why does the conf-file take presedence over command-line args? Why does it try to read /etc/dnsmasq.conf even though I'm giving it an empty filename for a conf-file?</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks for any pointers!</div><div style="font-size:12.8000001907349px">K.</div></div>