[Samba] Samba + BIND9 DLZ. DNS dosen't resolve FQDN, only short hostname

Peter Tuharsky tuharsky at misbb.sk
Sat Feb 9 08:12:28 UTC 2019


Thank You Rowland. I did it like You say, killed avahi, added the record 
without domain suffix, but nothing changed, and the record seems no 
different compared to other records added with the suffix some time before.

My Samba DNS record looks like this (and I see nothing special in there):

   Name=, Records=3, Children=0
     SOA: serial=39, refresh=900, retry=600, expire=86400, minttl=3600, 
ns=blacktux.interbronz.local., email=hostmaster.interbronz.local. 
(flags=600000f0, serial=39, ttl=3600)
     NS: blacktux.interbronz.local. (flags=600000f0, serial=1, ttl=900)
     A: 10.20.1.1 (flags=600000f0, serial=3, ttl=900)
   Name=_msdcs, Records=0, Children=0
   Name=_sites, Records=0, Children=1
   Name=_tcp, Records=0, Children=4
   Name=_udp, Records=0, Children=2
   Name=asus, Records=1, Children=0
     A: 10.20.4.69 (flags=f0, serial=27, ttl=900)
   Name=blacktux, Records=1, Children=0
     A: 10.20.1.1 (flags=f0, serial=2, ttl=900)
   Name=boss, Records=1, Children=0
     A: 10.20.3.78 (flags=f0, serial=39, ttl=900)
   Name=DomainDnsZones, Records=0, Children=2
   Name=ForestDnsZones, Records=0, Children=2
   Name=intelhd, Records=1, Children=0
     A: 10.20.1.82 (flags=f0, serial=20, ttl=900)
   Name=w7-virt, Records=1, Children=0
     A: 10.10.10.102 (flags=f0, serial=21, ttl=900)

Dňa 8. 2. 2019 o 21:56 Rowland Penny via samba napísal(a):
> On Fri, 8 Feb 2019 21:19:20 +0100
> Peter Tuharsky via samba <samba at lists.samba.org> wrote:
>
>> like this, Rowland:
>>
>> samba-tool dns add -U administrator 10.20.1.1 interbronz.local
>> asus.interbronz.local A 10.20.4.69
>>
> The syntax is:
> samba-tool dns add <server> <zone> <name> A <data>
>
>  From the above:
>
> <server> = 10.20.1.1
> <zone> = interbronz.local
> <name> = asus.interbronz.local
> <data> = 10.20.4.69
>
> Provided '10.20.1.1' is a Samba AD DC, this is okay.
> Provided 'interbronz.local' is the forward zone, this is okay.
> Provided '10.20.4.69' is the IP of 'asus.interbronz.local', this is okay.
>
> The <name> is wrong, it should just be 'asus'
>
> If 'local' is your TLD, then turn off Avahi if it is running, this
> means anywhere in your Samba AD domain
>
> Rowland
>



More information about the samba mailing list