Discussion:
[Dnsmasq-discuss] Error when declaring multiple cnames to a target in a single line
john doe
2018-04-12 08:25:59 UTC
Permalink
Hi, I'm not sure this e-mail went through the list the first time I sent
it, my appologies if it was the case.
Hi,
I can no longer declare multiple cnames in a single line with the
current version of Dnsmasq on Debian 9.
Apr 11 13:11:07 dnsmasq[1135]: dnsmasq: syntax check OK.
Apr 11 13:11:07 dnsmasq[1138]: dnsmasq: bad TTL at line 2 of
/etc/dnsmasq.d/try.conf
Apr 11 13:11:07 dnsmasq[1138]: bad TTL at line 2 of /etc/dnsmasq.d/try.conf
cname=<CNAME1>,<CNAME2>,target
Is this syntax deprecated or is it a regression?
Note that this e-mail is folded by my mailer.
--
John Doe
Simon Kelley
2018-04-16 22:16:52 UTC
Permalink
Post by john doe
Hi, I'm not sure this e-mail went through the list the first time I sent
it, my appologies if it was the case.
The list processor went on a unscheduled holiday last week. Normal
service should be resumed now.


Cheers,

Simon.
Simon Kelley
2018-04-16 22:16:03 UTC
Permalink
Hi,
I can no longer declare multiple cnames in a single line with the
current version of Dnsmasq on Debian 9.
Apr 11 13:11:07 dnsmasq[1135]: dnsmasq: syntax check OK.
Apr 11 13:11:07 dnsmasq[1138]: dnsmasq: bad TTL at line 2 of
/etc/dnsmasq.d/try.conf
Apr 11 13:11:07 dnsmasq[1138]: bad TTL at line 2 of /etc/dnsmasq.d/try.conf
cname=<CNAME1>,<CNAME2>,target
Is this syntax deprecated or is it a regression?
Note that this e-mail is folded by my mailer.
The 2.79 release includes a fix for confusion caused by leading/trailing
spaces in cname arguments. Is that what's biting you here?

Cheers,

Simon.
john doe
2018-04-17 09:13:53 UTC
Permalink
Post by Simon Kelley
Hi,
I can no longer declare multiple cnames in a single line with the
current version of Dnsmasq on Debian 9.
Apr 11 13:11:07 dnsmasq[1135]: dnsmasq: syntax check OK.
Apr 11 13:11:07 dnsmasq[1138]: dnsmasq: bad TTL at line 2 of
/etc/dnsmasq.d/try.conf
Apr 11 13:11:07 dnsmasq[1138]: bad TTL at line 2 of /etc/dnsmasq.d/try.conf
cname=<CNAME1>,<CNAME2>,target
Is this syntax deprecated or is it a regression?
Note that this e-mail is folded by my mailer.
The 2.79 release includes a fix for confusion caused by leading/trailing
spaces in cname arguments. Is that what's biting you here?
Yes, the fix inpplemented in 2.79 fixes what was biting me in 2.76.

So to summarize; between Dnsmasq 2.76 and 2.79 only one CNAME can be
used per target (--cname=<CNAME1>,<TARGET>).

Sorry for the noice.

P.S. Thanks for bringing the list processor back from holiday! :)
--
John Doe
Loading...