[Samba] Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname
Mgr. Peter Tuharsky
tuharsky at misbb.sk
Wed Feb 20 13:52:47 UTC 2019
I thought this to be the very TLD that is specifically assigned for
local networks with no plans to become Internet-wide. What is the
recommended TLD for such networks then?
Dňa 20. 2. 2019 o 11:33 Rowland Penny via samba napísal(a):
> On Wed, 20 Feb 2019 11:17:05 +0100
> "L.P.H. van Belle via samba" <samba at lists.samba.org> wrote:
>>> -----Oorspronkelijk bericht-----
>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Mgr.
>>> Peter Tuharsky via samba
>>> Verzonden: woensdag 20 februari 2019 10:28
>>> Aan: samba at lists.samba.org
>>> Onderwerp: Re: [Samba] Samba + BIND9 DLZ. DNS dosen't resolve
>>> FQDN, only short hostname
>>> Well, the mystery is solved. It WAS Avahi, in a way...
>> This is said wrong. ...
>>> Eventhough it was disabled as a daemon,
>>> it still haunted the system by the means of nsswitch.conf
>>> In the 'hosts' line, the Debian default entry 'mdns4_minimal
>>> [NOTFOUND=return]' does exactly what we don't want - for
>>> .local domains
>>> it asks Avahi and if it dosen't know, it never asks the other
>>> such as dns etc.
>> And wrong is `the domain is .local`
>> Why o why is .local use. That is a reserved name for mDNS (avahi)..
>> Yes. So what happend here is TOTALY CORRECT. Here the problem is you
>> are using .local
>>> I hope the documentation (Wiki) should be more vocal about that -
>>> that if the domain is .local, the 'dns' entry MUST precede
>>> 'mdns4_minimal' and 'mdns4' entries.
>> Possible yes, but if correctly setup, not needed.
>> And a bit ahead thinking people... Future systems, will mostly use
>> systemd, if we like it or not.
> Seemingly not on a Tesla:
More information about the samba