Giter Club home page Giter Club logo

basic_automation_operating_system_administration's Introduction

Basic_automation_operating_system_administration

Application capable of modifying part of the network configuration of the local machine, only as far as domain name resolution is concerned, for an adapter to be determined from a list of DNS servers written in a text file, in case the current DNS server is not the fastest among those provided.

Route

  1. Initially prompt for the name and path of the dnsips.txt file and display the contents of this file on the screen.
  2. Ask the user which network adapter he/she wants to modify from the list of possible adapters previously displayed on the screen and show the DNS servers configured only on this one, on the chosen one.
  3. Read the file initially provided with the IPs of the DNS servers, and check if those IPs are accessible, and in case they are, it is necessary to write them in a temporary file (this will be considered a requirement) but it will not be deleted, but a record of their existence will be left.
  4. Open the temporary file created in the previous point and check which of the DNS configured in the adapter determined in point 7 and those written in this file is the fastest.
  5. If you do not have the fastest DNS configured, change the DNS of the adapter indicated in point 6 to the fastest one.
  6. In the event that two DNS servers tie in speed, the DNS will be reconfigured for the one with the lower number of hops, since proximity is considered a point to be taken into account.

basic_automation_operating_system_administration's People

Contributors

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