Code Monkey home page Code Monkey logo

ntt_google_dns's Introduction



NTT x Google DNS

ModulesCode structureInstalling the applicationMakefile commandsEnvironmentsRunning the application

This Google DNS package consists of an NTT router IP parser for updating the dynamic DNS of Google domains.

Modules

Component Description
google_dns Contains the implementation of Google DNS

Code structure

from setuptools import setup

from google_dns import __version__

setup(
    name="google_dns",
    version=__version__,
    packages=[
        "google_dns",
    ],
    url="https://github.com/JeanMaximilienCadic/ntt_google_dns",
    license="MIT",
    author="Jean Maximilien Cadic",
    long_description="".join(open("README.md", "r").readlines()),
    long_description_content_type="text/markdown",
    python_requires=">=3.6",
    install_requires=[r.rsplit()[0] for r in open("requirements.txt")],
    author_email="[email protected]",
    description="Google DNS",
    classifiers=[
        "Programming Language :: Python :: 3.6",
        "License :: OSI Approved :: MIT License",
    ],
)

Installing the application

To clone and run this application, you'll need the following installed on your computer:

From the command line, enter the following:

# Clone this repository
git clone https://github.com/JeanMaximilienCadic/ntt_google_dns

# Go into the repository
cd ntt_google_dns

Setting up the config file

Create a config file at /opt/google_dns/config.yml. Then, add the following to the file.

project: google_dns
url: 'http://<your-router-IP>/ntt/information/fifth/current'
authorization: "dXNlcjphZG1pbg=="
cookie: 'HGWSESSIONID=1hoa40gjlzl2g'

hostnames:
- hostname: "<your-website.com>"
  google_id: "<your-Google-ID>"
  google_password: '<your-Google-password>'

Makefile commands

Exhaustive list of make commands:

build_docker
push_docker
pull_docker
docker_run
checkout

Environments

Docker

Note

Running this application by using Docker is recommended.

To build and run the docker image

make build_docker
make docker_run

PythonEnv

Warning

Running this application by using PythonEnv is possible but not recommended.

python setup.py install 

Running the application

To run the application, enter the following from the command line:

python -m google_dns

ntt_google_dns's People

Contributors

josh-wong avatar

Watchers

 avatar

Forkers

josh-wong

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.