Похожие чаты

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 ответов

15 просмотров
Пользователь-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

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

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

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
9
Карта сайта