On 23/04/2022 13:14, mito mito wrote:
Hello Friends, I would appreciate your help on this problem.I have been using dnsmasq for a couple of years as an home ad/track blocker and in the latest update available for debian bullseye *dnsmasq-base/stable,now 2.85-1 armhf* *dnsmasq/stable, now 2.85-1 all* I have experienced a strange case that occurs with certain combinations of names with a mid-hyphen, an error occurs but not in all cases.From this list For example names with double or triple hyphens names with hyphen and dot Captura de pantalla de 2022-04-23 13-02-41.png In this case the error appears on line 3, if I comment or remove one of the dashes the error appears on line 4 and so on However in this case there are no errors Captura de pantalla de 2022-04-23 13-06-31.pngThese are lists obtained from https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt <https://urldefense.com/v3/__https://www.github.developerdan.com/hosts/lists/ads-and-tracking-extended.txt__;!!I9LPvj3b!GXcXLh1UjDjk0CLNJo4MbdVRJ-g7XrEo1jrSlRN6_GN-zYZzo1znzblFhF5Qa-1Mm-QwAlEu2Vo4BhjzvBvimA$>Thank you Greetings _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://urldefense.com/v3/__https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss__;!!I9LPvj3b!GXcXLh1UjDjk0CLNJo4MbdVRJ-g7XrEo1jrSlRN6_GN-zYZzo1znzblFhF5Qa-1Mm-QwAlEu2Vo4Bhjm_yJbNQ$
Hi Mito RFC 952 A "name" (Net, Host, Gateway, or Domain name) is a text string up to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus sign (-), and period (.). Note that periods are only allowed when they serve to delimit components of "domain style names". No blank or space characters are permitted as part of a name. No distinction is made between upper and lower case. The first character must be an alpha character. The last character must not be a minus sign or period. RFC 1123 The syntax of a legal Internet host name was specified in RFC-952 [DNS:4]. One aspect of host name syntax is hereby changed: the restriction on the first character is relaxed to allow either a letter or a digit. Host software MUST support this more liberal syntax. Host software MUST handle host names of up to 63 characters and SHOULD handle host names of up to 255 characters. RFC 5891 4.2.3.1. Hyphen Restrictions The Unicode string MUST NOT contain "--" (two consecutive hyphens) in the third and fourth character positions and MUST NOT start or end with a "-" (hyphen). BR Matthias
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss