Skip to content

jpweng/nasow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NASOW package

Welcome to the Nameserver reSolver for WSL! Nasow is a simple small python script which synchronizes DNS servers for WSL from Windows.

Features

  • Sync DNS: Automatically synchronizes DNS servers for WSL from Windows.
  • Customizable: Easily configure the WSL distribution and DNS settings.
  • Seamless Integration: Works with Windows PowerShell and WSL.

Installation

To get started with the NASOW project, follow these steps:

  1. Clone the repository:
git clone https://github.com/jpweng/nasow.git
  1. Navigate to the project directory:
cd nasow
  1. Ensure you have Python installed. Install this package:
pip install .

Usage

Run the application with the following command:

python C:\path\to\package\nasow\add_ns.py

Workflow

The script will:

  1. Retrieve DNS servers from Windows.
  2. Read the current DNS configuration in WSL.
  3. Merge and write the updated DNS configuration back to WSL.

Contributing

Contributions are welcome! Please follow these steps (or push directly to the master branch):

  1. Fork the repository.
  2. Create a new branch:
git switch -c feature-name
  1. Commit your changes:
git commit -m "Add feature-name"
  1. Push to your branch:
git push origin feature-name
  1. Open a pull request.

License

This project is licensed under the MIT License.

Contact

For questions or feedback, please contact [email protected].

About

Nasow is a simple small python script which synchronizes DNS servers for WSL from Windows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages