From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] resolver problem Date: Sun, 22 Jan 2006 01:46:29 +0300 Message-ID: <20060121224629.GB25459@basalt.office.altlinux.org> (raw) In-Reply-To: <43D2AF34.1090903@altlinux.ru> [-- Attachment #1: Type: text/plain, Size: 1400 bytes --] On Sun, Jan 22, 2006 at 12:01:24AM +0200, Aleksandr Blokhin wrote: > Dmitry V. Levin wrote: > >On Sat, Jan 21, 2006 at 11:46:02PM +0200, Aleksandr Blokhin wrote: > > > >>>Работоспособность "resolve localhost" это признак корректности > >>>/etc/nsswitch.conf и /etc/hosts. > >>> > >>cat /etc/resolv.conf > >>search localhost > >>nameserver 127.0.0.1 > >>nameserver 192.168.0.1 > >> > >>cat /etc/nsswitch.conf > >> > >>hosts: files nisplus nis dns > >> > >>>Работоспособность "resolve localhost." это признак корректности > >>>/etc/resolv.conf и DNS. > >>>Работоспособность "host localhost." это более сильный признак > >>>корректности > >>>/etc/resolv.conf и DNS. > >>> > >>>Какой-то сетевой пакет мог просто сломать один из файлов настроек. > > > >Ну и что не работает? > > > Не работает разрешение имён из /etc/hosts Александр, я вам написал три теста. До тех пор, пока вы их не проверите, я комментировать вашу ситуацию не буду. > [sass@sass ~]$ cat /etc/hosts > 127.0.0.1 localhost.localdomain localhost > 192.168.0.4 sass > 192.168.0.6 slava > 192.168.0.14 neptun > > [sass@sass ~]$ host slava > Host slava not found: 3(NXDOMAIN) > [sass@sass ~]$ host sass > Host sass not found: 3(NXDOMAIN) Ну сколько раз повторять: host не использует hosts. Казалось бы, так легко запомнить. -- ldv [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-01-21 22:46 UTC|newest] Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-19 21:11 [sisyphus] X.org-7.0 + gtk = problems Aleksandr Blokhin 2006-01-19 21:32 ` Anton D. Kachalov 2006-01-19 21:40 ` Aleksandr Blokhin 2006-01-20 0:35 ` [sisyphus] root " Mikhail Zabaluev 2006-01-20 7:20 ` Sergey S. Skulachenko 2006-01-20 9:10 ` php-coder 2006-01-20 9:19 ` Epiphanov Sergei 2006-01-20 9:41 ` Sergey S. Skulachenko 2006-01-20 10:00 ` Aleksandr Blokhin 2006-01-20 15:30 ` Dmitry V. Levin 2006-01-20 16:56 ` Valery V. Inozemtsev 2006-01-20 19:13 ` Aleksandr Blokhin 2006-01-21 13:11 ` Dmitry V. Levin 2006-01-21 14:02 ` Aleksandr Blokhin 2006-01-21 15:26 ` [sisyphus] resolver problem Dmitry V. Levin 2006-01-21 16:01 ` Aleksandr Blokhin 2006-01-21 18:37 ` Dmitry V. Levin 2006-01-21 21:46 ` Aleksandr Blokhin 2006-01-21 21:52 ` Dmitry V. Levin 2006-01-21 22:01 ` Aleksandr Blokhin 2006-01-21 22:46 ` Dmitry V. Levin [this message] 2006-01-23 17:15 ` [sisyphus] " Michael Shigorin 2006-01-23 8:26 ` [sisyphus] " Vladimir V. Kamarzin 2006-01-23 8:57 ` Anton Gorlov 2006-01-23 9:06 ` Aleksandr Blokhin 2006-01-23 9:51 ` Alexey I. Froloff 2006-01-23 14:53 ` Dmitry V. Levin 2006-01-23 19:26 ` Aleksandr Blokhin 2006-01-23 19:32 ` Dmitry V. Levin 2006-01-23 19:43 ` Aleksandr Blokhin 2006-01-23 19:52 ` Dmitry V. Levin 2006-01-23 17:15 ` [sisyphus] [JT] " Michael Shigorin 2006-01-21 8:27 ` [sisyphus] root + gtk = problems Vitaly Lipatov 2006-01-21 8:43 ` Sergey S. Skulachenko 2006-01-21 23:24 ` Mikhail Zabaluev 2006-01-21 23:37 ` Dmitry V. Levin 2006-01-21 23:47 ` Alexey Rusakov 2006-01-21 23:55 ` Dmitry V. Levin 2006-01-22 9:47 ` Aleksandr Blokhin 2006-01-22 10:16 ` Sergey S. Skulachenko 2006-01-22 13:16 ` Dmitry V. Levin 2006-01-22 13:34 ` Alexey Rusakov 2006-01-22 14:04 ` Dmitry V. Levin 2006-01-23 9:01 ` Led 2006-01-20 7:22 ` [sisyphus] " Arioch 2006-01-20 10:33 ` Mikhail Zabaluev 2006-01-20 10:51 ` Aleksandr Blokhin 2006-01-21 19:14 ` Arioch 2006-01-20 12:52 ` [sisyphus] " Sergey V Turchin 2006-01-20 4:41 ` [sisyphus] X.org-7.0 " Andrey Rahmatullin 2006-01-20 7:51 ` Aleksandr Blokhin 2006-01-20 7:30 ` Yuriy Kashirin 2006-01-20 8:05 ` Aleksandr Blokhin 2006-01-20 8:22 ` Yuriy Kashirin 2006-01-20 10:01 ` Aleksandr Blokhin 2006-01-20 8:28 ` Vladimir V. Kamarzin 2006-01-20 10:06 ` Aleksandr Blokhin 2006-01-20 17:16 ` Ivan Adzhubey 2006-01-20 18:46 ` Aleksandr Blokhin 2006-01-20 19:20 ` Ivan Adzhubey 2006-01-20 20:00 ` Igor Zubkov 2006-01-20 9:18 ` Epiphanov Sergei 2006-01-20 10:08 ` Aleksandr Blokhin 2006-01-20 14:19 ` Epiphanov Sergei 2006-01-20 14:24 ` Aleksandr Blokhin 2006-01-20 14:53 ` Epiphanov Sergei 2006-01-20 17:20 ` Ivan Adzhubey 2006-01-23 10:24 ` Epiphanov Sergei 2006-01-23 17:47 ` Ivan Adzhubey
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060121224629.GB25459@basalt.office.altlinux.org \ --to=ldv@altlinux.org \ --cc=sisyphus@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git