Giter Club home page Giter Club logo

dns-api.org's Introduction

Steve Kemp

Personal details:

  • Location: Helsinki, Finland.
    • Nationality: British Citizen.
  • Occupation: Sysadmin / Devops / Cloud-person.

Overview:

  • I've been programming for over half my life, I'm comfortable creating, developing, maintaining, and improving software written in multiple languages
    • Including C, C++, Emacs Lisp, Perl, Ruby, Java, Shell, & TCL.
    • Most of my personal projects are written in Golang and Rust.
  • My interests primarily revolve around compilers, interpreters, domain-specific languages, and virtual machines.
  • I'm also interested in retro programming/projects, primarily based around the Z80 processor.

Surveys & Email Harvesting

I explicitly do not consent to receiving your "research surveys", or other contact generated via email scraping of the Github service. Such contact will always be followed up with.

Github Activity

dns-api.org's People

Contributors

bruskiza avatar justb81 avatar piesecurity avatar samgbell avatar skx avatar whymarrh avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

dns-api.org's Issues

Change Docker Base-Image

Your Dockerfile defines ytnobody/alpine-perl:latest as Base-Image. This image is not maintained since 2 years. Use a basic alpine and install perl by yourself or use the tiny-tag (ytnobody/alpine-perl:tiny), that is maintained 10 months ago.

Solve the warning regarding JSON.

  deagol ~/Repos/websites/dns-api.org $ ./run 
  Prototype mismatch: sub DNS::API::from_json: none vs ($@) at /home/skx/Repos/websites/dns-api.org/lib/DNS/API.pm line 65.
  Prototype mismatch: sub DNS::API::to_json: none vs ($@) at /home/skx/Repos/websites/dns-api.org/lib/DNS/API.pm line 65.

logs directory does not exist at first startup

Thanks for the good work on dns-api.org - have been looking for open-source capability to use in recon phase of getting our arms around our external website footprint - we've recently acquired several companies, with many marketing websites, and no good single list to go from. So, am using various kali tools to identify them, and where they're hosted, in helping to plan an upcoming pen-test.

dns-api.org looks to fit the bill - have been working on installing on my kali instance.

That said, after having installed the pre-reqs:

  • Plackup via "curl -L https://cpanmin.us | perl - --sudo App::cpanminus"
  • and, cpanminus via "cpanm Plack"

I ran the run command from the ./dns-api.org directory, and it failed with 'no such file' referencing the logs directory:

root@kali:/home/ec2-user/dns-api.org# ./run
Launching on 127.0.0.1:5001
open(logs/access.2018-02-11.log): No such file or directory at /usr/local/share/perl/5.26.1/Plack/Runner.pm line 268.

A workaround is to manually create the logs directory via mkdir. May want to add creation of the logs directory to the repo for the next release. Thanks.

Define options with ENV variables

With Docker we have the ability to define options for the service via ENV vars.

I suggest exposing these options as ENV vars:

  • port (use 80 as default port)
  • logging to stdout instead a file (default for docker containers)
  • throttling_per_hour (200 as default, but should be able to deactivate)
  • public domain (for use in info / description pages)

Logging: We should log per-day to handle rotation.

We currently log to a single file. Ideally we'd write our logs to:

 log/access.production.2016-05-29.log
 log/access.production.2016-05-30.log
 log/access.production.2016-05-31.log
 ..

Should be simple to do, will look at the Dancer plugin framework tonight. Writing this here now as the live deployment is eating space due to abusive clients. sigh.

Net::DNS has returned undef to the caller

Hello,

While running NS check Value are "value" : null, and WARNING!!! The program has attempted to call the method
*** "rdstring" for the following RR object:


*** dns-api.org. 258039 IN NS c.ns.bytemark.co.uk.


*** This object does not have a method "rdstring". THIS IS A BUG
*** IN THE CALLING SOFTWARE, which has incorrectly assumed that
*** the object would be of a particular type. The calling
*** software should check the type of each RR object before
*** calling any of its methods.


*** Net::DNS has returned undef to the caller.


at /home/amydns/public_html/lib/DNS/API.pm line 104.

What has caused this issue
server details:
CloudLinux release 7.3

Regards,
Amol

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.