Пытаюсь настроить сервер dns(bind9)
При попытке пинга хоста клиента по короткому имени(client), пинги проходят, а если использовать полное имя(client.test.local) пинги не идут.
resolv.conf:
search test.local
nameserver 192.168.10.10
nslookup client:
Server: 192.168.10.10
Address: 192.168.10.10#53
Name: client.test.local
Address: 192.168.10.11
nslookup client.test.local:
Server: 192.168.10.10
Address: 192.168.10.10#53
Name: client.test.local
Address: 192.168.10.11
ping client:
PING client.test.local (192.168.10.11) 56(84) bytes of data.
64 bytes from client.test.local (192.168.10.11): icmp_seq=1 ttl=64 time=2.12 ms
64 bytes from client.test.local (192.168.10.11): icmp_seq=2 ttl=64 time=1.42 ms
...
ping client.test.local
ping: client.test.local: Name or service not known
Скорее всего проблема в таблице зон:
test.local.hosts
$ttl 38400
$ORIGIN test.local.
test.local. IN SOA 192.168.10.10 admin.test.local. (
1555580033
10800
3600
604800
38400 )
test.local. IN NS ns1.test.local.
ns1 IN A 127.0.0.1
server.test.local. IN A 192.168.10.10
client.test.local. IN A 192.168.10.11
test.local. IN A 192.168.10.10
client IN A 192.168.10.11
@ IN A 192.168.10.10