Re: [Samba] DNS issue with clean install of samba 4.5.12-Debian
- Date: Fri, 15 Dec 2017 23:45:10 +0400
- From: Mike Lykov via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] DNS issue with clean install of samba 4.5.12-Debian
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.
To unsubscribe from this list go to the following URL and read the