Giter Site home page Giter Site logo

ydns's Introduction

yDNS update API

To update a yDNS host, you have to do simple HTTP GET requests. Each request must use HTTP authorization in order to perform authorization of your request:

The URL to perform update calls is: http://ydns.eu/api/v1/update/?host=myhost.ydns.eu[&ip=ip_address]

where the host parameter is required and the ip parameter is optional. If the latter is not specified, the public IP address as seen on the Internet is being used (should be fine for most situations). The IP address can be either an IPv4 or IPv6 address. You have to use the IP parameter if you want to update your IPv6 address, because the yDNS server currently does not have a public IPv6 address configured.

When requesting a host update, the server will respond either:

  • HTTP status 400 (BAD REQUEST) if something is wrong with your parameters.
  • HTTP status 401 (UNAUTHORIZED) if the authentication is invalid.
  • HTTP STATUS 404 (NOT FOUND) if the specified host is not found.
  • HTTP STATUS 200 (OK) if the update was successful.

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.