after upgrating to ubuntu 11.04, I lost dnsmasq.

When I run /usr/sbin/dnsmasq start I get

dnsmasq: junk found in command line

Apparently I need to downgrade dnsmasq but Package->Force version is not available for it in synaptic.


you can try to remove it and install from source version you need.


It's not apparent that you need to downgrade dnsmasq. start is not one of the options for dnsmasq. You can verify this by viewing the dnsmasq options with man dnsmasq. Where you trying to start dnsmasq? If so, run service dnsmasq start as root.


Don't downgrade. If you have package dns-root-data installed and are able to remove this then this will "fix" the dnsmasq problem.

Elsewhere, I have seen it mentioned that this is due to systemd adding rubbish into the dnsmasq configuration - this may not be actually true!

A reboot may be necessary.

  • Probably with the dns-root-data using a different format than what dnsmasq's init script expects Jul 11 '18 at 2:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.