- Use No Color ANSI code for ending color lines.
- Remove extraneous third-party libraries
- Use urllib.request library instead of a third-party library such as requests
- Remove colorama library and use a custom approach for printing in color.
- Copy current resolv file instead of moving it: Moving resolv file is not allowed in docker env.
- Improve error handling
- Use
colorama
for printing colorful text
- Bugfix (Showing debug message when no dns nameservers found.)
- Bugfix (Prevent showing error when configfile doesn't exist.)
- Get rid of tinydb dependency.
- Add pre-commit file and bumpversion to make it easier to maintaine.
- Replace
os.path
withpathlib
module. - Remove
__version__
which was awkward, replace it viasetup.cfg
.
- Add
--version
option.
- Add
show
subcommand to print current DNS configuration. - Make output of
verify
function colorful. - Tabulate output of
list
andshow
commmand.
- Add
restore
subcommand to restore previousresolv
file. - update
get_ips
function to work with new shecan website update. - add more type hints.
- Write all shecan dns name servers into /etc/resolv.conf by default.
- Raise notimplementationError for --permanent option.
- Refactor and check all modules code styles.
- Update
setup.py
file.
- Initial release.