Coder Social home page Coder Social logo

dns_app's Introduction

dns_app

Simplified authoritative server for a network of applications

Create network

docker network create dns_app

Inspect network

Docker network IP addresses:

  • US (172.19.0.2)
  • FS (172.19.0.3)
  • AS (172.19.0.4)

This network application has IP addresses for the US, FS, and AS hardcoded in each run.py file for each server respectively. These IP addresses might also be referenced various examples in project README.md files. See the IP addresses used for each of the running containers on the network using the below command and change them throughout the codebase if necessary.

Build

Build each image:

Run

Run each container:

docker inpect dns_app

Browser

You can access the US (User server) which is considered the entry point for the network application by using the below URL in your browser. Notice that you access the US by referencing the IP address for localhost and not 172.19.0.2 since you're outside of the Docker network.

http://127.0.0.1:8080/fibonacci?hostname=fibonacci.com&fs_port=9090&number=7&as_ip=172.19.0.4&as_port=53533

dns_app's People

Contributors

bradcush 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.