diff --git a/README.me b/README.me index 15d5cea..d14ba2d 100644 --- a/README.me +++ b/README.me @@ -1 +1,32 @@ -Тут будут всякие разные штучки, на которых я набиваю руку \ No newline at end of file +Скрипт для проверки DNS-записей на списке NS-серверов. + +Для работы необходимо: +- dig +- PrettyTable(Установить можно так: python -m pip install -U prettytable) + +## Использование +dns_checker.py [-h] [-t A] [-d i-free.com] +``` +optional arguments: + -h, --help Show this help message and exit + -t A, --type A Type of record for check, default use A-record + -d i-free.com, --dns i-free.com Domain for check +``` + +## Пример +``` +[kasperarts@kasperarts shroom_repo]$ ./dns_checker.py -d yandex.ru ++----------------+--------------+ +| NS-SERVER | VALUE | ++----------------+--------------+ +| 8.8.8.8 | 5.255.255.5 | +| | 5.255.255.50 | +| | 77.88.55.50 | +| | 77.88.55.55 | ++----------------+--------------+ +| 208.67.222.222 | 77.88.55.50 | +| | 77.88.55.55 | +| | 5.255.255.5 | +| | 5.255.255.50 | ++----------------+--------------+ +``` \ No newline at end of file