[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: BIND9 & Sarge



Edvins -> debian-russian@lists.debian.org  @ Mon, 14 Nov 2005 11:26:01 +0200:

 E> Добрый день !
 E> Проблема в следующем. Есть система Debian Sarge с установленным bind9.
 E> Необходимо резолвить внешний хост на другой IP

 E> /etc/hosts
 E> 1.1.1.1 testhost

 E> /etc/host.conf
 E> order hosts, bind

 E> /etc/resolv.conf
 E> nameserver 127.0.0.1

 E> /etc/nsswitch.conf
 E> hosts:          files dns

 E> # host testhost
 E> Host testhost not found: 3(NXDOMAIN)

 E> Где зарыта проблема? Google ничего не подсказывает, кроме
 E> вышеупомянутых файлов

man host:
host is a simple utility for performing DNS lookups.

Чтение написаного в /etc/hosts не относится к разряду "DNS lookup".

-- 
Artem Chuprina
RFC2822: <ran{}ran.pp.ru> Jabber: ran@jabber.ran.pp.ru

А Элберет оксюморон! (c)JB



Reply to: