Article View: linux.debian.user.polish
Article #1Poważny problem w Debian 12 z resolv.conf, postfix, bind9?
From: Marek Adamski
Date: Wed, 04 Mar 2026 17:20
Date: Wed, 04 Mar 2026 17:20
29 lines
3825 bytes
3825 bytes
Witam!
Wydaje mi się że znalazłem problem o którym mało kto wie i dotyczy postfix, bind9, resov.conf.
Ponieważ po aktualizacji serwera z Debian 11 do Debian 12 pojawiło się wiele problemów, jak wolne działanie systemu, postfix raportował unknow host name itp., postanowiłem zrobić małą diagnostykę porównując czysty system z debian 12 i debian 13.
Testy zrobiłem na wirtualnych maszynach, instalacja debian-net.
Zainstalowałem czysty system, następnie dałem apt-get install bind9 a później porównywałem odpowiedź dns na polecenie np. dig -x 8.8.8.8, dig -x 8.8.4.4
Na debian 12 wyniki są tragiczne i mimo wpisu do resolv.con nameserver 8.8.8.8 nic się nie poprawiło natomiast na debian 13 wyniki były szybkie i prawidłowe.
Na maszynie produkcyjnej postfix bardzo często raportował "unknow hostname".
Problem na Debian 12 został "rozwiązany" po dodaniu wpisów do bind9:
forwarders {
8.8.8.8;
1.1.1.1;
};
Na maszynie testowej Debian 12 również przyspieszył po dodaniu tego wpisu natomiast na Debian 13 wystarczyło dodać te wpisy do pliku resolv.con i poprawa była natychmiastowa.
Wnioskuję że w Debian 12 zarówno bind9 jak i postfix nie czytają wpisów w resolv.conf.
Proszę o weryfikację problemu.
P.S.
Przepraszam za spam, z przyzwyczajenia wysłałem po Angielsku ;)
--
Pozdrowienia,
******************************
* Marek (SirAdams) Adamski *
* http://www.siradams.com/ *
* GG:14747 *
* Linux user:#253788 *
******************************
Technical Details
Message-ID:
<MuY37-50A9-13@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder3.feed.ams11.usenet.farm!feed.usenet.farm!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!spool1.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feeder3.feed.ams11.usenet.farm!feed.usenet.farm!2.eu.feeder.erje.net!feeder.erje.net!news.szaf.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Marek Adamski <siradams-debian-nospam@siradams.com> Newsgroups: linux.debian.user.polish Subject: Poważny problem w Debian 12 z resolv.conf, postfix, bind9? Date: Wed, 04 Mar 2026 18:20:01 +0100 Message-ID: <MuY37-50A9-13@gated-at.bofh.it> X-Original-To: Grupa Debian-User-Polish <debian-user-polish@lists.debian.org> X-Mailbox-Line: From debian-user-polish-request@lists.debian.org Wed Mar 4 17:17:39 2026 Old-Return-Path: <siradams-debian-nospam@siradams.com> X-Amavis-Spam-Status: No, score=-5.747 tagged_above=-10000 required=5.3 tests=[BAYES_05=-1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.717, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.236] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 X-Greylist: delayed 482 seconds by postgrey-1.36 at bendel; Wed, 04 Mar 2026 17:17:18 UTC Authentication-Results: mail.siradams.com; auth=pass smtp.auth=siradams-debian-nospam@siradams.com smtp.mailfrom=siradams-debian-nospam@siradams.com Reply-To: Marek Adamski <debian-user-polish@lists.debian.org> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1250 Content-Transfer-Encoding: 8bit X-Mailing-List: <debian-user-polish@lists.debian.org> archive/latest/35840 List-ID: <debian-user-polish.lists.debian.org> List-URL: <https://lists.debian.org/debian-user-polish/> List-Archive: https://lists.debian.org/msgid-search/622266403.20260304181715@lists.debian.org Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 4 Mar 2026 18:17:15 +0100 X-Original-Message-ID: <622266403.20260304181715@lists.debian.org> X-Received-Bytes: 3572