Re: Reihenfolge der Namensauflösung: Warum wird /etc/hosts nicht berücksichtigt?
Martin Reising <martin.reising@natural-computing.de> wrote:
> On Tue, Dec 09, 2003 at 09:39:54PM +0100, Frank Küster wrote:
>> ich habe festgestellt, dass offenbar /etc/hosts nicht vor einem
>> Nameserver-Query verwendet wird, obwohl ich es so will, aber nur bei
>> address lookups, nicht bei reverse lookups. Was muss ich denn noch
>> einstellen?
>> frank@alhambra:~$ cat /etc/host.conf
>> order hosts,bind
>> multi on
> Du benutzt noch libc4? Ansonsten solltest du mal deine Informationsquellen
> aktualisieren, denn seit libc5 wird /etc/nsswitch.conf benutzt.
s/libc5/libc6/. NSS kam erst mit Glibc2. Und jein. Auch libc6 wertet
/etc/host.conf (manchmal?) aus.
strace -vf -o /tmp/straceout getent hosts localhost
cu andreas
Reply to: