Handle case of querying for root "." #4
Метки
Нет меток
Нет этапа
Нет назначенных лиц
1 участников
Уведомления
Срок выполнения
Срок выполнения не установлен.
Зависимости
Зависимостей нет.
Ссылка: coolaj86/digd.js#4
Загрузка…
Ссылка в новой задаче
Описание отсутствует.
Удалить ветку «%!s(<nil>)»
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It turns out that that queries ".", which is an empty string in the packet, which throws an error (but shouldn't).
This is really a
dns-suite.js
issue, but I'll file it hear for now since I'm better at tracking these issues.However, I think what should be returned is not an empty array but rather an
NXDOMAIN
Partial fix in
digd.js#v1.2.2
,dig.js#v1.3.8
, anddns-suite.js#v1.2.11
- no longer causes a crash (though I'm not sure if the exactly correct response is returned)