@WSGlebKavash

DNS bind9 не работает с localhost?

Поднял контроллер домена на Ubuntu и реплицировал базу данных с DC Windows Server. Всё казалось-бы работает, но bind9 ни в какую не хочет определять localhost.
host -t A localhost 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

Host localhost not found: 2(SERVFAIL)
host -t PTR 127.0.0.1 127.0.0.1
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

Host 1.0.0.127.in-addr.arpa not found: 2(SERVFAIL)
Как в следствие, база данных реплицировалась не полностью.
samba-tool drs showrepl
Default-First-Site-Name\NIX-ADSERVER
DSA Options: 0x00000001
DSA object GUID: 3b618967-4869-46c7-95b4-112cef3a60d1
DSA invocationId: c11e2ba5-6fa9-4f03-965b-229c784624db

==== INBOUND NEIGHBORS ====

DC=ForestDnsZones,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:26:51 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:26:51 2022 MSK

DC=DomainDnsZones,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:26:51 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:26:51 2022 MSK

CN=Schema,CN=Configuration,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:26:51 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:26:51 2022 MSK

CN=Configuration,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:26:51 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:26:51 2022 MSK

DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:29:18 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:29:18 2022 MSK

==== OUTBOUND NEIGHBORS ====

DC=ForestDnsZones,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:16:07 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:16:07 2022 MSK

DC=DomainDnsZones,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:16:07 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:16:07 2022 MSK

CN=Schema,CN=Configuration,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:16:07 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:16:07 2022 MSK

CN=Configuration,DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:16:07 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:16:07 2022 MSK

DC=trainzcity,DC=myftp,DC=org
Default-First-Site-Name\WIN-ADSERVER via RPC
DSA object GUID: 3b7ddb15-7643-4cc0-a481-ad116632adb4
Last attempt @ Fri Mar 18 21:16:07 2022 MSK was successful
0 consecutive failure(s).
Last success @ Fri Mar 18 21:16:07 2022 MSK

==== KCC CONNECTION OBJECTS ====

Connection --
Connection name: aaf6648f-7581-40ab-90a7-a6737f30a1da
Enabled : TRUE
Server DNS name : WIN-ADSERVER.trainzcity.myftp.org
Server DN name : CN=NTDS Settings,CN=WIN-ADSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=trainzcity,DC=myftp,DC=org
TransportType: RPC
options: 0x00000001
Warning: No NC replicated for Connection!
samba-tool ldapcmp ldap://win-adserver.trainzcity.myftp.org ldap://nix-adserver.trainzcity.myftp.org -UАдминистратор
* Comparing [DOMAIN] context...

* Objects to be compared: 273

Comparing:
'CN=WIN-ADSERVER,OU=Domain Controllers,DC=trainzcity,DC=myftp,DC=org' [ldap://win-adserver.trainzcity.myftp.org]
'CN=WIN-ADSERVER,OU=Domain Controllers,DC=trainzcity,DC=myftp,DC=org' [ldap://nix-adserver.trainzcity.myftp.org]
Attributes found only in ldap://win-adserver.trainzcity.myftp.org:
msDS-GenerationId
FAILED

* Result for [DOMAIN]: FAILURE

SUMMARY
---------

Attributes found only in ldap://win-adserver.trainzcity.myftp.org:

msDS-GenerationId

* Comparing [CONFIGURATION] context...

* Objects to be compared: 1658

* Result for [CONFIGURATION]: SUCCESS

* Comparing [SCHEMA] context...

* Objects to be compared: 1770

* Result for [SCHEMA]: SUCCESS

* Comparing [DNSDOMAIN] context...

* Objects to be compared: 40

* Result for [DNSDOMAIN]: SUCCESS

* Comparing [DNSFOREST] context...

* Objects to be compared: 18

* Result for [DNSFOREST]: SUCCESS
ERROR: Compare failed: -1

В чём дело и почему DNS-сервер не работает как положено? Как донастроить резолвинг?
  • Вопрос задан
  • 160 просмотров
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы