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

Peter Tuharsky tuharsky at misbb.sk
Tue Jan 22 17:54:12 UTC 2019


Well, I gone so far even before :-) I even deleted them with "Records 
deleted successfully", but listing the domain records, they were still 
there. That's why I thought I must have wrong syntax or so.

But looking at the record again now, they are gone. That's good.

However, that dosen't help resolve the FQDN issue.


So, next thing I will probably do, according to Your advice, is to try 
installing newer version of Samba.

I doubt it will help though, cause I doubt the 4.5 version was such 
flawed that the basic DNS function didn't work because of that.


Dňa 22. 1. 2019 o 15:02 Rowland Penny via samba napísal(a):
> On Tue, 22 Jan 2019 14:51:02 +0100
> "Mgr. Peter Tuharsky via samba" <samba at lists.samba.org> wrote:
>
>> Rowland, thank You, but this removes only the NS record, but the
>> faulty domain A records remain. How to deal with them, I don't know.
>> They behave unlike the ordinary A records.
>>
>> Name=, Records=8, Children=0
>>      SOA: serial=27, refresh=900, retry=600, expire=86400, minttl=3600,
>> ns=blacktux.interbronz.local., email=hostmaster.interbronz.local.
>> (flags=600000f0, serial=27, ttl=3600)
>>      NS: blacktux.interbronz.local. (flags=600000f0, serial=1, ttl=900)
>>      A: 10.10.10.101 (flags=600000f0, serial=1, ttl=900)
>>      A: 10.20.1.1 (flags=600000f0, serial=3, ttl=900)
>>      A: 10.20.2.1 (flags=600000f0, serial=9, ttl=900)
>>      A: 10.20.3.1 (flags=600000f0, serial=10, ttl=900)
>>      A: 10.20.4.1 (flags=600000f0, serial=11, ttl=900)
>>      A: 10.30.1.1 (flags=600000f0, serial=23, ttl=900)
>>
> You posted:
>
> I can manage standard A records, but not sure, what to do with the NS. I
> can't figure out, how to delete invalid A subrecord of NS record.
>
> So I took it you wanted to know how to remove an NS record.
>
> You remove an 'A' record in a similar way, try reading:
>
> 'samba-tool dns samba-tool dns delete --help'
>
> Which will produce this:
>
> Usage: samba-tool dns delete <server> <zone> <name> <A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>
>
> Delete a DNS record
>
> For each type data contents are as follows:
>    A      ipv4_address_string
>    AAAA   ipv6_address_string
>    PTR    fqdn_string
>    CNAME  fqdn_string
>    NS     fqdn_string
>    MX     "fqdn_string preference"
>    SRV    "fqdn_string port priority weight"
>    TXT    "'string1' 'string2' ..."
>
> See if you can work out how to delete the unwanted 'A' records ?
>
> Rowland
>



More information about the samba mailing list