GithubHelp home page GithubHelp logo

puppet-bind's People

Contributors

dvestal avatar javierbertoli avatar lermit avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

puppet-bind's Issues

Support for wildcard records

I am interested in using this puppet module, but I could not figure out a way with the current code to handle a wildcard record. The problem that I has was that the * (star) record would always get put at the top of the zone file. This causes problems as the ns record needs to be first.

bind::a { '*':
    zone => 'example.com',
    target => '2.2.2.2',
}

; File managed by puppet

$TTL 300
@ IN SOA ns1 root.example.com (
      1  ; serial
      300 ; refresh
      300   ; retry
      300  ; expire
      604800 ; TTL
    );
*  IN A  2.2.2.2
  IN NS  ns1
host1  IN A  24.24.24.24
ns1  IN A  10.0.2.15
www  IN A  123.45.67.89

I came up with a solution that works and will create a pull request in case this is something that would be beneficial for others.

Concat missing?

I'm getting the following error:
Error: Could not find dependent Exec[concat_/etc/bind/named.conf] for File[/var/lib/puppet/concat/_etc_bind_named.conf/fragments/ 50_bind-include-zone-example.com]

when I try to add a bind::zone. The concat module is available in the modules folder.

What am I missing?

Thanks for your help.

You only can create one name record

Hi there , i found one issue about this stuff. When you want to create two record with the same name for different zone, you got this error:

Error 400 on SERVER: Duplicate definition: Bind::Record[www] is already defined in file

I think this is wrong, because maybe you need to create www.example.com and www.examaple.org, am i right?¿

Cheers

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.