Description of problem: dnsmasq 2.78 fails to start with a config that loads a bunch of cnames, for example: dnsmasq: bad CNAME at line 1 of /etc/dnsmasq.d/dns/my-cnames when /etc/dnsmasq.d/dns/my-cnames contains lines like cname=alias.my.domain.,realname.my.domain. This config works fine with dnsmasq 2.76. Version-Release number of selected component (if applicable): dnsmasq-2.78-1.fc28.x86_64.rpm How reproducible: Always. Actual results: Breakage. Expected results: dnsmasq doesn't break existing configs within a major version.
Seems that 2.78 prefers its cnames to be in the form: cname=alias1.my.domain,alias2.my.domain,realname.my.domain. Note the lack of .s at the end of teh aliases. So now I have functionality back but I'm still going to keep this bug open as there's no good reason to have broken my existing config.
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
Hi James, you are absolutely right. This was broken when support for multiple cnames in single command were added. It was already fixed by commit [1] to fix space after comma. But case you have described is still not fixed. [1] http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commitdiff;h=30858e3b9b12500825a5dc4cd67902c3201c1b25
Postech patch: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2018q1/012018.html
Created attachment 1400987 [details] Proposed patch
Upstream accepted patch http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=56f06239301b512d0af55fe98b6e57f86884fce7 Will be part of rebased 2.79 version
dnsmasq-2.79-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-5a4d0ee124
dnsmasq-2.79-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bb556fd888
dnsmasq-2.79-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-5a4d0ee124
dnsmasq-2.79-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bb556fd888
dnsmasq-2.79-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
dnsmasq-2.79-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.