[Dnsmasq-discuss] duplicate CNAME at line 31 of /etc/dnsmasq.conf

2019-09-08 Thread Gordon Shawn
If I have two lines: cname=www.mysite.com,whatever.com cname=mysite.com,another.com dnsmasq will refuse to run and complains "duplicate CNAME" so it assumes www.mysite.com is the same as mysite.com? but I actually can set www-subdomain to different sub-domains, isn't it? plus, if dnsmasq

Re: [Dnsmasq-discuss] duplicate CNAME at line 31 of /etc/dnsmasq.conf

2019-09-08 Thread Gordon Shawn
please ignore the above email, further testing showed it is fine, what is not fine is: cname=site.com,site1.com cname=site.com,site2.com or cname=www.site.com,site1.com cname=www.site.com,site1.com which are indeed duplicates or conflicts, dnsmasq reports duplicate error correctly, I still

Re: [Dnsmasq-discuss] duplicate CNAME at line 31 of /etc/dnsmasq.conf

2019-09-08 Thread Kurt H Maier
On Sun, Sep 08, 2019 at 06:36:37PM -0500, Gordon Shawn wrote: > which are indeed duplicates or conflicts, dnsmasq reports duplicate error > correctly, I still prefer it pick up one and issue a warning, instead of > shutting down itself though. Writing software that ignores explicit configuration

Re: [Dnsmasq-discuss] [patch] empty empty lines

2019-09-08 Thread Geert Stappers
On Sun, Sep 08, 2019 at 02:17:23PM +0200, Geert Stappers wrote: > Made empty lines that had only spaces or tabs truely empty > with `sed --in-place -e 's/^[ \t]*$//' src/*.c` | $ sed --in-place -e 's/^[ \t]*$//' src/*.c | $ git diff | wc | 21648 76730 597015 597015 is to big for the current

[Dnsmasq-discuss] [patch] empty empty lines

2019-09-08 Thread Geert Stappers
Made empty lines that had only spaces or tabs truely empty with `sed --in-place -e 's/^[ \t]*$//' src/*.c` ___ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss