Re: [Dnsmasq-discuss] Error when declaring multiple cnames to a target in a single line

2018-04-17 Thread john doe

On 4/17/2018 12:16 AM, Simon Kelley wrote:

On 11/04/18 12:30, john doe wrote:

Hi,

I can no longer declare multiple cnames in a single line with the
current version of Dnsmasq on Debian 9.

The error I'm getting is:

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

Line 2 of /etc/dnsmasq.d/try.conf resemble the following:
cname=,,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=,).


Sorry for the noice.

P.S. Thanks for bringing the list processor back from holiday! :)

--
John Doe

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Error when declaring multiple cnames to a target in a single line

2018-04-16 Thread Simon Kelley
On 11/04/18 12:30, john doe wrote:
> Hi,
> 
> I can no longer declare multiple cnames in a single line with the
> current version of Dnsmasq on Debian 9.
> 
> The error I'm getting is:
> 
> 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
> 
> Line 2 of /etc/dnsmasq.d/try.conf resemble the following:
> cname=,,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.

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Error when declaring multiple cnames to a target in a single line

2018-04-16 Thread Simon Kelley
On 12/04/18 09:25, john doe wrote:
> 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.


___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


[Dnsmasq-discuss] Error when declaring multiple cnames to a target in a single line

2018-04-16 Thread john doe

Hi,

I can no longer declare multiple cnames in a single line with the 
current version of Dnsmasq on Debian 9.


The error I'm getting is:

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

Line 2 of /etc/dnsmasq.d/try.conf resemble the following:
cname=,,target

Is this syntax deprecated or is it a regression?

Note that this e-mail is folded by my mailer.

--
John Doe

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


Re: [Dnsmasq-discuss] Error when declaring multiple cnames to a target in a single line

2018-04-16 Thread 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.


On 4/11/2018 1:30 PM, john doe wrote:

Hi,

I can no longer declare multiple cnames in a single line with the 
current version of Dnsmasq on Debian 9.


The error I'm getting is:

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

Line 2 of /etc/dnsmasq.d/try.conf resemble the following:
cname=,,target

Is this syntax deprecated or is it a regression?

Note that this e-mail is folded by my mailer.




--
John Doe

___
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss