[Samba] DNS issue with clean install of samba 4.5.12-Debian
Mike Lykov
combr at samges.ru
Fri Dec 15 19:45:10 UTC 2017
15.12.2017 14:02, Rowland Penny via samba пишет:
>> /etc/hosts and DNS associate names with IP?addresses.
>> And myname may be mapped to whichever IP?address the machine can
>> access itself, but mapping it to 127.0.0.1 is unæsthetic.
>> Not /etc/hosts, but /bin/hostname serves another function with -f
>> because /etc/hosts can override the common sense.
>
> /etc/hosts is the old way of doing things (and I mean really old), all
> that should be in /etc/hosts is 127.0.0.1 and the computers ipaddress
> and what they point to, anything else should be found from dns.
I think so too, no need to write own server name/address in /etc/hosts
by hand if I have (and with AD DC I always have) a domain name server
where that name resolved.
By default after install (debian 9) I have only 127.0.0.1 in /etc/hosts,
but check script counts it as error (-i & -I are different)
Anyway I use some external dns before setup AD DC and switch to DC's own
server after install, no need to modify /etc/hosts from default
"localhost", as far as I think.
--
Mike
More information about the samba
mailing list