[Samba] samba 4.1.4 bind9 putrr: unhandled record type 0

Günter Kukkukk linux at kukkukk.com
Thu Jan 16 18:50:31 MST 2014


Am 16.01.2014 12:03, schrieb L.P.H. van Belle:
> Hai, 
>  
> In seeing these messages in my logs,  
> 
> named: samba b9_putrr: unhandled record type 0   
>  
> Everything looks and works ok, but i can find what the above message means and/or if its harmfull. 
>  
>  
> Greetz. 
>  
> Louis
> 

from the following list the samba DLZ dns driver implementation does
atm handle the marked 10 record types:

	DNS_TYPE_TOMBSTONE=(int)(0x0),
=>	DNS_TYPE_A=(int)(0x1),
=>	DNS_TYPE_NS=(int)(0x2),
	DNS_TYPE_MD=(int)(0x3),
	DNS_TYPE_MF=(int)(0x4),
=>	DNS_TYPE_CNAME=(int)(0x5),
=>	DNS_TYPE_SOA=(int)(0x6),
	DNS_TYPE_MB=(int)(0x7),
	DNS_TYPE_MG=(int)(0x8),
	DNS_TYPE_MR=(int)(0x9),
	DNS_TYPE_NULL=(int)(0xA),
	DNS_TYPE_WKS=(int)(0xB),
=>	DNS_TYPE_PTR=(int)(0xC),
=>	DNS_TYPE_HINFO=(int)(0xD),
	DNS_TYPE_MINFO=(int)(0xE),
=>	DNS_TYPE_MX=(int)(0xF),
=>	DNS_TYPE_TXT=(int)(0x10),
	DNS_TYPE_RP=(int)(0x11),
	DNS_TYPE_AFSDB=(int)(0x12),
	DNS_TYPE_X25=(int)(0x13),
	DNS_TYPE_ISDN=(int)(0x14),
	DNS_TYPE_RT=(int)(0x15),
	DNS_TYPE_SIG=(int)(0x18),
	DNS_TYPE_KEY=(int)(0x19),
=>	DNS_TYPE_AAAA=(int)(0x1C),
	DNS_TYPE_LOC=(int)(0x1D),
	DNS_TYPE_NXT=(int)(0x1E),
=>	DNS_TYPE_SRV=(int)(0x21),
	DNS_TYPE_ATMA=(int)(0x22),
	DNS_TYPE_NAPTR=(int)(0x23),
	DNS_TYPE_DNAME=(int)(0x27),
	DNS_TYPE_DS=(int)(0x2B),
	DNS_TYPE_RRSIG=(int)(0x2E),
	DNS_TYPE_NSEC=(int)(0x2F),
	DNS_TYPE_DNSKEY=(int)(0x30),
	DNS_TYPE_DHCID=(int)(0x31),
	DNS_TYPE_ALL=(int)(0xFF),
	DNS_TYPE_WINS=(int)(0xFF01),
	DNS_TYPE_WINSR=(int)(0xFF02)
-----

or in other words:

} dns_typemap[] = {
	{ DNS_TYPE_A,     "A"     , false},
	{ DNS_TYPE_AAAA,  "AAAA"  , false},
	{ DNS_TYPE_CNAME, "CNAME" , true},
	{ DNS_TYPE_TXT,   "TXT"   , false},
	{ DNS_TYPE_PTR,   "PTR"   , false},
	{ DNS_TYPE_SRV,   "SRV"   , false},
	{ DNS_TYPE_MX,    "MX"    , false},
	{ DNS_TYPE_HINFO, "HINFO" , false},
	{ DNS_TYPE_NS,    "NS"    , false},
	{ DNS_TYPE_SOA,   "SOA"   , true},
};
------

So the failing one you notice is:
   DNS_TYPE_TOMBSTONE=(int)(0x0)

I'm atm searching how all this tombstone (is deleted) stuff
should be handled correctly...

Do you see any correlation, when this message is written to the log?
Could help to setup a testcase! :-)

Btw - the _internal_ samba dns server is a completely separate implementation.

Cheers, Günter



More information about the samba mailing list