|
Компьютерный форум OSzone.net » Linux и FreeBSD » Общий по Linux » Debian/Ubuntu - BIND не резолвит неполные имена |
|
Debian/Ubuntu - BIND не резолвит неполные имена
|
Новый участник Сообщения: 17 |
Профиль | Отправить PM | Цитировать BIND не резолвит неполные имена с WinXP клиента. А полные резолвит. По ip тоже все нормально. Причем с самого сервера все нормально резолвится.
Не могу понять в чем причина. named.conf: -------------------------------------------------------------------------------------------------- options { directory "/var/cache/bind"; listen-on port 53 { 192.168.1.100; 127.0.0.1; }; allow-query { any; }; auth-nxdomain no; # conform to RFC1035 }; zone "." { type hint; file "/etc/bind/db.root"; }; zone "localhost" { type master; file "/etc/bind/db.local"; }; zone "127.in-addr.arpa" { type master; file "/etc/bind/db.127"; }; zone "0.in-addr.arpa" { type master; file "/etc/bind/db.0"; }; zone "255.in-addr.arpa" { type master; file "/etc/bind/db.255"; }; zone "kir.loc" { type master; file "kir.db"; }; zone "1.168.192.in-addr.arpa" { type master; file "1.168.192.db"; }; ----------------------------------------------------------------------------------------------------------------- Файлы зон: kir.db: $TTL 3h @ IN SOA debrout64.kir.loc. root.kir.loc. ( 3 3h 1h 1w 1h) IN NS debrout64.kir.loc. debrout64 IN A 192.168.1.100 comp IN A 192.168.1.11 -------------------------------------------------------------------------------------------------- Файл: 1.168.192.db $TTL 3h @ IN SOA debrout64.kir.loc. root.kir.loc. ( 3 3h 1h 1w 1h) IN NS debrout64.kir.loc. 100 IN PTR debrout64.kir.loc. 11 IN PTR comp.kir.loc. ========================================================================== named-checkconf named-checkzone нормально проходят. nslookup с сервера: debrout64:/etc/bind# nslookup comp Server: 127.0.0.1 Address: 127.0.0.1#53 Name: comp.kir.loc Address: 192.168.1.11 debrout64:/etc/bind# nslookup 192.168.1.11 Server: 127.0.0.1 Address: 127.0.0.1#53 11.1.168.192.in-addr.arpa name = comp.kir.loc. Все нормально. ======================================================= nslookup с клиента: nslookup comp Server: debrout64.kir.loc Address: 192.168.1.100 DNS request timed out. timeout was 2 seconds. --------------------------------------------------------------------------------------------------- nslookup comp.kir.loc Server: debrout64.kir.loc Address: 192.168.1.100 Name: comp.kir.loc Address: 192.168.1.11 Косяк с неполным именем. |
|
Отправлено: 09:21, 24-12-2009 |
Новый участник Сообщения: 17
|
Профиль | Отправить PM | Цитировать Лог:
Непонятно, почему столько network unreachable resolving. debrout64:~# grep named /var/log/daemon.log Dec 24 11:28:41 debrout64 named[2330]: starting BIND 9.5.1-P3 -u bind Dec 24 11:28:41 debrout64 named[2330]: found 1 CPU, using 1 worker thread Dec 24 11:28:41 debrout64 named[2330]: using up to 4096 sockets Dec 24 11:28:41 debrout64 named[2330]: loading configuration from '/etc/bind/named.conf' Dec 24 11:28:42 debrout64 named[2330]: max open files (1024) is smaller than max sockets (4096) Dec 24 11:28:42 debrout64 named[2330]: using default UDP/IPv4 port range: [1024, 65535] Dec 24 11:28:42 debrout64 named[2330]: using default UDP/IPv6 port range: [1024, 65535] Dec 24 11:28:42 debrout64 named[2330]: listening on IPv4 interface lo, 127.0.0.1#53 Dec 24 11:28:42 debrout64 named[2330]: listening on IPv4 interface eth0, 192.168.1.100#53 Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 254.169.IN-ADDR.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 2.0.192.IN-ADDR.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 255.255.255.255.IN-ADDR.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: D.F.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 8.E.F.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: 9.E.F.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: A.E.F.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: automatic empty zone: B.E.F.IP6.ARPA Dec 24 11:28:42 debrout64 named[2330]: command channel listening on 127.0.0.1#953 Dec 24 11:28:42 debrout64 named[2330]: command channel listening on ::1#953 Dec 24 11:28:42 debrout64 named[2330]: zone 0.in-addr.arpa/IN: loaded serial 1 Dec 24 11:28:42 debrout64 named[2330]: zone 127.in-addr.arpa/IN: loaded serial 1 Dec 24 11:28:42 debrout64 named[2330]: zone 1.168.192.in-addr.arpa/IN: loaded serial 3 Dec 24 11:28:42 debrout64 named[2330]: zone 255.in-addr.arpa/IN: loaded serial 1 Dec 24 11:28:42 debrout64 named[2330]: zone kir.loc/IN: loaded serial 3 Dec 24 11:28:42 debrout64 named[2330]: zone localhost/IN: loaded serial 2 Dec 24 11:28:42 debrout64 named[2330]: running Dec 24 11:29:08 debrout64 named[2330]: network unreachable resolving 'time.windows.com/A/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:08 debrout64 named[2330]: network unreachable resolving 'time.windows.com/A/IN': 2001:500:2f::f#53 Dec 24 11:29:09 debrout64 named[2330]: network unreachable resolving 'time.windows.com/A/IN': 2001:7fd::1#53 Dec 24 11:29:09 debrout64 named[2330]: network unreachable resolving 'time.windows.com/A/IN': 2001:503:c27::2:30#53 Dec 24 11:29:09 debrout64 named[2330]: network unreachable resolving './NS/IN': 2001:7fd::1#53 Dec 24 11:29:09 debrout64 named[2330]: network unreachable resolving './NS/IN': 2001:503:c27::2:30#53 Dec 24 11:29:10 debrout64 named[2330]: network unreachable resolving 'time.windows.com/A/IN': 2001:500:1::803f:235#53 Dec 24 11:29:11 debrout64 named[2330]: network unreachable resolving './NS/IN': 2001:500:1::803f:235#53 Dec 24 11:29:18 debrout64 named[2330]: network unreachable resolving './NS/IN': 2001:500:2f::f#53 Dec 24 11:29:19 debrout64 named[2330]: network unreachable resolving 'time.windows.com/A/IN': 2001:dc3::35#53 Dec 24 11:29:19 debrout64 named[2330]: network unreachable resolving './NS/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:19 debrout64 named[2330]: network unreachable resolving './NS/IN': 2001:dc3::35#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'C.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'E.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'G.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'I.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:20 debrout64 named[2330]: network unreachable resolving 'L.ROOT-SERVERS.NET/AAAA/IN': 2001:500:1::803f:235#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'C.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'C.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'E.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'E.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'G.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'G.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'I.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'I.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'L.ROOT-SERVERS.NET/AAAA/IN': 2001:503:c27::2:30#53 Dec 24 11:29:21 debrout64 named[2330]: network unreachable resolving 'L.ROOT-SERVERS.NET/AAAA/IN': 2001:7fd::1#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'C.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'E.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'G.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'I.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:27 debrout64 named[2330]: network unreachable resolving 'L.ROOT-SERVERS.NET/AAAA/IN': 2001:500:2f::f#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'B.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'C.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'C.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'D.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'E.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'E.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'G.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'G.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'I.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'I.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'L.ROOT-SERVERS.NET/AAAA/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:29 debrout64 named[2330]: network unreachable resolving 'L.ROOT-SERVERS.NET/AAAA/IN': 2001:dc3::35#53 Dec 24 11:29:34 debrout64 named[2330]: network unreachable resolving 'comp/A/IN': 2001:500:1::803f:235#53 Dec 24 11:29:34 debrout64 named[2330]: network unreachable resolving 'comp/A/IN': 2001:503:c27::2:30#53 Dec 24 11:29:34 debrout64 named[2330]: network unreachable resolving 'comp/A/IN': 2001:7fd::1#53 Dec 24 11:29:38 debrout64 named[2330]: network unreachable resolving 'comp/A/IN': 2001:dc3::35#53 Dec 24 11:29:38 debrout64 named[2330]: network unreachable resolving 'comp/A/IN': 2001:503:ba3e::2:30#53 Dec 24 11:29:48 debrout64 named[2330]: network unreachable resolving 'comp/A/IN': 2001:500:2f::f#53 Dec 24 11:31:23 debrout64 named[2330]: network unreachable resolving '11.1.10.10.in-addr.arpa/PTR/IN': 2001:500:1::803f:235#53 Dec 24 11:31:23 debrout64 named[2330]: network unreachable resolving '11.1.10.10.in-addr.arpa/PTR/IN': 2001:503:c27::2:30#53 Dec 24 11:31:23 debrout64 named[2330]: network unreachable resolving '11.1.10.10.in-addr.arpa/PTR/IN': 2001:7fd::1#53 Dec 24 11:31:23 debrout64 named[2330]: network unreachable resolving '11.1.10.10.in-addr.arpa/PTR/IN': 2001:dc3::35#53 Dec 24 11:31:23 debrout64 named[2330]: network unreachable resolving '11.1.10.10.in-addr.arpa/PTR/IN': 2001:503:ba3e::2:30#53 Dec 24 11:31:28 debrout64 named[2330]: network unreachable resolving 'admin2.kirasa.local/A/IN': 2001:500:2f::f#53 Dec 24 11:31:28 debrout64 named[2330]: network unreachable resolving 'admin2.kirasa.local/A/IN': 2001:500:1::803f:235#53 Dec 24 11:31:28 debrout64 named[2330]: network unreachable resolving 'admin2.kirasa.local/A/IN': 2001:503:c27::2:30#53 Dec 24 11:31:28 debrout64 named[2330]: network unreachable resolving 'admin2.kirasa.local/A/IN': 2001:7fd::1#53 Dec 24 11:31:35 debrout64 named[2330]: network unreachable resolving 'admin2.kirasa.local/A/IN': 2001:dc3::35#53 Dec 24 11:31:35 debrout64 named[2330]: network unreachable resolving 'admin2.kirasa.local/A/IN': 2001:503:ba3e::2:30#53 Dec 24 11:31:46 debrout64 named[2330]: network unreachable resolving '11.1.10.10.in-addr.arpa/PTR/IN': 2001:500:2f::f#53 |
Отправлено: 09:40, 24-12-2009 | #2 |
Для отключения данного рекламного блока вам необходимо зарегистрироваться или войти с учетной записью социальной сети. Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля. |
Старожил Сообщения: 437
|
Профиль | Отправить PM | Цитировать Пропишите на виндовом клиенте основной DNS суффикс
|
------- Отправлено: 11:08, 24-12-2009 | #3 |
Новый участник Сообщения: 17
|
Профиль | Отправить PM | Цитировать Сработало. Но непонятно, почему в рабочей сети суффиксы не прописаны, а все работает?
Вышеописанные конфиги из тестовой сети. |
Отправлено: 12:20, 24-12-2009 | #4 |
Участник сейчас на форуме | Участник вне форума | Автор темы | Сообщение прикреплено |
| |||||
Название темы | Автор | Информация о форуме | Ответов | Последнее сообщение | |
Redhat/Fedora - Missing Dependency bind | dihlof0s | Общий по Linux | 3 | 01-09-2009 14:55 | |
CMD/BAT - когда имена короткие, когда имена длинные ... | akrav | Скриптовые языки администрирования Windows | 6 | 08-02-2008 11:01 | |
Настройка BIND 9.3.1 | xayam | Программное обеспечение Linux и FreeBSD | 8 | 06-07-2005 11:59 | |
Помогите BIND 9 | Alexandr2005 | Сетевые технологии | 3 | 29-04-2005 11:24 | |
bind не стартует | Vich | Программное обеспечение Linux и FreeBSD | 9 | 01-12-2003 14:00 |
|