News for hackers. Stuff that matters.
Re:Hello, and welcome to DNS by guessmyname on Saturday March 31, 2018 @01:15AM (#16721869)
> Of specific note, many people have attempted to write a grammar (parser) for zonefiles and it is almost impossible.

I had to build a DNS zone file parser +3 years ago for the web application firewall that I was building for my employer. I have to agree that I had a lot of problems implementing the different formats but ultimately — implementing the most common ones — succeeded. The project later became the CDN of one of the biggest hosting providers in the US, and as far as I know, there hasn't been any problems with the configuration files.

BIND zone files are (for the most part) very straightforward.

Re:Hello, and welcome to DNS by ahubert on Saturday March 31, 2018 @05:35AM (#16722554)
By all means read up about $GENERATE for example, and multi-line statements etc, or all the fields you can omit or reorder. It is no fun.