|Subject:||Error parsing records with names that end in an rr type|
|Date:||Thu, 4 Sep 2008 22:13:10 -0700|
|To:||bug-DNS-ZoneParse [...] rt.cpan.org|
|From:||Ryan Grimm <grimm [...] xqdev.com>|
If you have an entry like: foo.a IN TXT "description of foo" it will be parsed as an A record because its name ends in "a". Seems like forcing whitespace after the name by changing line 202 from: if (/^($valid_name)? \s* # host to: if (/^($valid_name)? \s+ # host fixes things up. I haven't dug into any side effects that this change may have.