Цитировать centos.org документация BIND :
Zone File Resource Records
...
A — Address record, which specifies an IP address to assign to a name.
<host> IN A <IP-address>
Figure 14-7. Sample A record configuration
If the <host> value is omitted, then an A record points to a default IP address for the top of the namespace. This system will be the target of all non-FQDN requests.
Consider the following A record examples for the domain.com zone file:
IN A 10.0.1.3
server1 IN A 10.0.1.5
Выше 10.0.1.3 - это IP-адрес домена. Например. если выше был файл зоны для домена example.com
, ping example.com
будет пинговать 10.0.1.3. Каждый домен имеет этот IP-адрес «по умолчанию» и, как в случае с server1
выше, другие IP-адреса.
В качестве дополнительного примечания вы можете иметь несколько IP-адресов, указанных одним и тем же DNS-именем - это используется для балансировки нагрузки (см., Например, this или this ). Чтобы увидеть это, ду nslookup google.com
.