Есть роутер(192.168.50.1) от него кабель идет в шлюз ubuntu 10.04
Шлюз раздает интернет на windows xp pro sp3 + DC(windows 2003 server) виртуальная машина vmware
Шлюз
sudo nano /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.252
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 192.168.50.100
netmask 255.255.255.0
gateway 192.168.50.1
cat /etc/hosts
127.0.0.1 mail.domen.ru localhost.localdomain localhost
192.168.1.252 mail.domen.ru mail
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
rust@mail:~$
cat /etc/bind/named.conf.options
options {
directory "/var/cache/bind";
// If there is a firewall between you and nameservers you want
// to talk to, you may need to fix the firewall to allow multiple
// ports to talk. See http://www.kb.cert.org/vuls/id/800113
// If your ISP provided one or more IP addresses for stable
// nameservers, you probably want to use them as forwarders.
// Uncomment the following block, and insert the addresses replacing
// the all-0's placeholder.
forwarders {
xxx.xxx.xxx.xxx; dns провайдера
yyy.yyy.yyy.yyy; dns2 провайдера
};
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
cat /etc/bind/named.conf.local
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
#include "/etc/bind/zones.rfc1918";
zone "domen.ru" {
type master;
file "/etc/bind/db.domen.ru";
};
cat /etc/bind/db.domen.ru
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.domen.ru. rust.domen.ru. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.domen.ru.
@ IN A 127.0.0.1
@ IN AAAA ::1
ns IN A 192.168.1.252
mail A 192.168.1.252
srv A 192.168.1.2
На windows 2003 server поднят домен srv.domen.ru + DNS(зона прямого осмотра domen.ru)
Так вот вопрос?
Я со шлюза не могу пинговать srv по полному доменному имени
ping srv.domen.ru
ping: unknown host srv.domen.ru
Почему,что сделал не так или не доделал?
Если добавить в
/etc/hosts
192.168.1.2 srv.domen.ru
то пинги идут
Я это связываю с неправильной настройкой bind или это в win машине дело?