Похожие чаты

I implemented a lite dns server (proxy in mind) and

bind it on INADDR_ANY port 53, with an empty resolv.conf all of them comes to me. now xterm (and lots of other programs in other forms and amount of tries) sends 4 packets from 127.0.0.1 and there is no response, one packet contains my hostname+domainname and the other one just contains my hostname, and again it sends those two each one twice.
-1- this in local address space is strange
0- why it should use dns server for my own useless domainname and also send my hostname with it from localaddr?
1- all 4 packets opcode are 0 which means all of them are standard query. now the question is that why the hell something should do dns query for my hosname? :[
all of these force me to think about misconfigurations. is there any localhost usage for dns which i must config somewhere?

2 ответов

6 просмотров
Пользователь-61654 Автор вопроса

oh forgot something. if i do not send response it will continue this joke and makes huge delays on opening xterm (and many others)

As far as I'm aware only systemd-resolved makes a DNS server (stub) on localhost and it breaks name resolution in chroots since it can't run in those

Похожие вопросы

Обсуждают сегодня

А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
isn't utxo commitements pretty close though if someone wanted to get it over the finish line? my understanding is that most of the ground work was already down by verde
Luke High - Rabbi Of Bcash High Rabbi Of Bcash
23
@MrMiscipitlick А можешь макрос написать, который будет вычислять смещение относительно переданных меток? Просто .label1-.label2, и вернуть значение.
КТ315
35
Чем оно проблема?
Nikita Uzumaki
21
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
is the buyback program live and at what prices are the purchases fixed? excuse me for the bland PA question, sophisticated defi people keke
Imnothere
18
А еще в перле можно уже @arr1 + @arr2?
Sergei Zhmylove
53
Hi, I was reading this https://twitter.com/HouseofChimera/status/1778078991762780408 about Verasity and their likely choice of Tron as blockchain for their token for its low f...
Jordi
13
@samkazemian - couple questions: Update on frxBTC? - This would do well with the current influx of institutional investment entering the space Update on future veFXS streams...
Costi
16
Заметил в ghci 9.4.8: > :t (<*>) @((->)_) (<*>) @((->)_) :: (w -> (a -> b)) -> (w -> a) -> w -> b Разве не должно (w -> (a -> b)) быть записано как (w -> a -> b)? Это баг, ил...
Михаил
13
Карта сайта