This project automates DNSSEC (Domain Name System Security Extensions) configuration and management using a Flask web application and Paramiko for SSH connections to the DNS server.
To set up the Python environment for this project:
-
Open the terminal in VS Code:
Press Ctrl + `
or navigate to Terminal > New Terminal
. -
Create a virtual environment in the project directory:
python3 -m venv .venv
-
Activate the virtual environment:
3.1 On Windows:
.venv\Scripts\activate
3.2 On macOS and Linux:
source .venv/bin/activate
-
After activation, you should see (.venv) in your terminal prompt, indicating that the virtual environment is active.
Once the virtual environment is activated, install all the dependencies listed in the requirements.txt file.
pip install -r requirements.txt
This will install all required packages for the project.
To ensure that VS Code uses the correct Python interpreter from your virtual environment:
-
Press Ctrl + Shift + P (or Cmd + Shift + P on macOS) to open the Command Palette.
-
Type and select Python: Select Interpreter.
-
Choose the interpreter from the .venv folder. It will be something like:
./.venv/bin/python
Once the virtual environment is activated and all dependencies are installed, you can run the Flask application.
Run via Terminal:
flask run
The app will be available at http://127.0.0.1:5000/.
If you wish to contribute to this project, feel free to submit a pull request. Please ensure that your code follows the project's coding standards and includes proper documentation.