Giter Site home page Giter Site logo

pdns-release's Introduction

BOSH PowerDNS Release

BOSH release for the PowerDNS Authoritative DNS (Domain Name System) Server.

How To

In this example, we deploy to BOSH Lite:

cd ~/workspace/pdns-release
bosh -e vbox ur
bosh -e vbox -d pdns -n deploy manifests/pdns-lite.yml
# query the PowerDNS server
dig +short SOA example.com @10.244.0.34
  ns1.example.com. ahu.example.com. 2008080300 1800 3600 604800 3600

For a richer example, see how sslip.io uses these pdns job properties to provide its service: https://github.com/cunnie/sslip.io/blob/master/conf/sslip.io%2Bnono.io.yml.

NOTES/BUGS:

  • The release does not include the PowerDNS Recursor server, only the PowerDNS Authoritative Server.
  • The release does not include the MySQL backend.
  • pdns_server's STDERR is logged to /var/vcap/sys/log/pdns/pdns_server.stderr.log, but its STDOUT is logged to syslog's DAEMON facility (typically /var/log/daemon.log)
  • Set local-ipv6= in pdns.conf unless you've enabled IPv6 in your stemcell

Developer Notes

Developer notes, such as building and test a release, are available here.

pdns-release's People

Contributors

cunnie avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pdns-release's Issues

g++: internal compiler error: Killed (program cc1plus)

Compilation fails on machines with <= 2GB RAM; virtual memory is exhausted, oom (out-of-memory) killer kills the compilation processes.

Deploying:
  Building state for instance 'bosh/0':
    Compiling job package dependencies for instance 'bosh/0':
      Compiling job package dependencies:
        Remotely compiling package 'pdns' with the agent:
          Sending 'compile_package' to the agent:
            Sending 'get_task' to the agent:
              Agent responded with error: Action Failed get_task: Task b7ccf8cd-1586-43e3-4005-2ee7cdc56fca result: Compiling package pdns: Running packaging script: Running packaging script: Command exited with 2; Truncated stdout: checking if g++ PIC flag -fPIC -DPIC works... yes
...
+ make -j 8
g++: internal compiler error: Killed (program cc1plus)

Proposed Solution

Use the twice the number of available processors; note that this makes the not-always-true assumption that total available memory is adequate (IIRC, compilation uses 600MB/process, so a 1-core t2.nano would require 1.2GB+ Virtual Memory, but has only 1GB RAM (.5GB RAM + .5GB swap)

make -j $(( $(getconf _NPROCESSORS_ONLN) * 2 ))

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.