Что означает "Убедитесь, что local приходит перед bind in nsswitch"?
Joining to AD Domain: *******
With Computer DNS Name: (null)
Error: Required configuration stage not enabled [code 0x0000a606]
The configuration of module 'set computer hostname' is required. Please either allow this configuration stage to be performed automatically (by passing '--enable hostname'), or
manually perform these configuration steps and rerun the domain join:
The following step(s) are required:
Give the machine a fully-qualified domain name. If performed automatically, the fqdn will be set through /etc/hosts to 'proj.users.campus', but it is possible to use a
different fqdn and/or set it through dns instead of /etc/hosts. However in all cases, the fqdn must follow standard DNS naming conventions, and have a period in the name.
The following steps will be used if the fqdn is set automatically:
* Make sure local comes before bind in nsswitch
* Add a loopback entry in /etc/hosts and put the fqdn as the primary name
Вторая ошибка, я думаю, я обратился. Я не понимаю первый, хотя.
Что означает убедиться, что local приходит перед bind в nsswitch?
2 ответа
Решение
Что означает убедиться, что local приходит перед bind в nsswitch?
В /etc/nsswitch.conf в строке "host: .." файлы до днс. Пример:
Correct
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Not correct
hosts: dns files
Я думаю, это означает, что в файле /etc/nsswitch.conf строка, управляющая источниками для DNS, должна указывать поиск имен из локальных файлов перед любым другим источником именования, таким как bind
так что вы должны иметь такую строку
hosts: files dns mdns4_minimal
а не это
hosts: dns files mdns4_minimal