Giter Site home page Giter Site logo

oscar's Introduction

OSCAR

Oscar is just a simple name for a simple DNS server with HTTP API capabilities.

Oscar implements an authoritative DNS server a long with HTTP Server. You may already know what is a DNS server, if not go to Wikipedia. What is kind of a new here is the HTTP server. The HTTP server only provides an API so you can update the DNS zone using a REST API.

NOTE: This is project in a really early stage and it has been build for an specific purpose. That means this software may do not work as expected. It shouldn't be use in production enviromentes. Use this software at your own risk I am not responsable of anything good or bad thing could happen by using this software.

DNS Server

The DNS server only understands DNS queries of type A.

HTTP REST API

The API is quite simple, at least at this time.

### CRUD

Create

POST /create/{domain}/{type}/{value}/{ttl}

curl -XPOST http://oscar:8080/create/google.es/A/1.2.3.4/3600

Read

GET /read/{domain}/{type}

curl http://oscar:8080/read/google.es/A

Update

PUT /update/{domain}/{type}/{value}/{ttl}

curl -XPUT http://oscar:8080/update/google.es/A/4.3.2.1/3600

Delete

DELETE /delete/{domain}/{type}

curl -X DELETE http://oscar:8080/delete/google.es/A

oscar's People

Contributors

xumeiquer avatar

Stargazers

Damià Poquet Femenia avatar

Watchers

 avatar

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.