Giter Site home page Giter Site logo

dns-zone's Introduction

Build Status

What

A tool providing an easy way to manage a DNS file zone.

Why

For fun, because similar modules already exists in Perl 5. I wanted to use Perl 6 to discover the language, and to learn with a concrete project.

How

Grammar

The main part of this project is to write a grammar for parsing a DNS zone file. As a result, we will obtain an AST "DNSZone" object, representing the content of this file.

AST

This object will contains methods to add, update and remove an entry.

The last step is to write a new zone file based on the new AST.

dns-zone's People

Contributors

jsimonet avatar jsimonet-caldera avatar samcv avatar zoffixznet avatar

Stargazers

Jonathan Buschmann avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

zoffixznet samcv

dns-zone's Issues

Will no longer be updated to the Raku ecosystem

Hello,

Thank you for the time and effort you have put in what is now the Raku Programming Language. The language and its ecosystem are moving forward.

This means that these distributions:

will no longer be checked for updates by the Raku ecosystem.

This means that you will need to move your module to the zef ecosystem on the next update you make to these distributions. Otherwise your update will simply not be seen by the ecosystem.

If you are no longer interested in maintaining these distributions, you can have these distributions moved to Raku Community Modules Adoption Center, where members of the Raku Community will take care of them.

This can be as easy as confirming that in a response to this issue.

Again, thank you for your time and efforts!

On behalf of the Raku Steering Council,

Elizabeth Mattijsen

CurrentTTL in Modern grammar is static.

grammar Modern {
    my $currentTTL;
}

declares a static variable, and so it is shared between two grammar instances.

The following test will fails because $currentTTL is defined in the second test:

nok DNS::Zone::Grammars::Modern.parse("\$ttl 3600 domain in a 10.0.0.1");
nok DNS::Zone::Grammars::Modern.parse( 'domain in a 10.0.0.1' ); # No ttl defined

The use of attributes is not possible because they cannot be used inside regexes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.