@qzp

Kак дебажить dnsmasq?

Я поднял на отдельном компьютере dnsmasq, и хочу что бы вся домашняя сеть им пользовалась.
Но почему-то, переодически возникают странные тормоза, на пол минуты и больше.

Проблемма случается достаточно часто, что бы раздражать, но не достаточно часто что бы ее дебажить с помошью сниффера. Какие есть варианты понять что происходит? Я нашел только возможность писать запросы в лог, но это все.

Если в /etc/resolv.conf прописыть внешние сервера, то все работает хорошо.

Вот типичный кусок лога когда возникли проблеммы с днс'ом.

Apr 22 13:30:36 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:30:36 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:30:36 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:30:36 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:30:36 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:30:36 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:30:42 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:30:42 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:30:42 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:30:42 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:30:42 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:30:42 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:30:46 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:30:46 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:30:46 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:30:46 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:30:46 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:30:46 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:30:52 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:30:52 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:30:52 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:30:52 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:30:52 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:30:52 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:30:54 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:30:54 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:30:54 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:30:54 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:30:54 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:30:54 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:30:56 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:30:56 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:30:56 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:30:56 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:30:56 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:30:56 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:31:02 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:31:02 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:31:02 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:31:02 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:31:02 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:31:02 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:31:04 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:31:04 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:31:04 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:31:04 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:31:04 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:31:04 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:31:06 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:31:06 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:31:06 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:31:06 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:31:06 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:31:06 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:31:12 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:31:12 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:31:12 dnsmasq[90183]: forwarded calendar.google.com to 8.8.8.8
Apr 22 13:31:12 dnsmasq[90183]: forwarded calendar.google.com to 8.8.4.4
Apr 22 13:31:12 dnsmasq[90183]: forwarded calendar.google.com to 4.4.4.4
Apr 22 13:31:12 dnsmasq[90183]: forwarded calendar.google.com to 1.1.1.1
Apr 22 13:31:12 dnsmasq[90183]: reply calendar.google.com is 172.217.18.46
Apr 22 13:35:36 dnsmasq[90183]: query[A] calendar.google.com from 192.168.2.9
Apr 22 13:35:36 dnsmasq[90183]: forwarded calendar.google.com to 192.168.2.1
Apr 22 13:35:36 dnsmasq[90183]: reply calendar.google.com is 172.217.18.238
  • Вопрос задан
  • 92 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы