[Samba] Strange DNS issue...

L.P.H. van Belle belle at bazuin.nl
Thu Sep 11 07:02:34 MDT 2014


and as tip why you revers is not working. 

check the info in /var/lib/dhcpd/ 
and look what you clients where getting.. 
this is how i solved my rev problem ;-) 


>-----Oorspronkelijk bericht-----
>Van: ryana at reachtechfp.com 
>[mailto:samba-bounces at lists.samba.org] Namens Ryan Ashley
>Verzonden: donderdag 11 september 2014 1:14
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] Strange DNS issue...
>
>Anybody? This is very strange and I cannot figure out why it is 
>happening or why my reverse-DNS zones are not populating.
>
>On 09/09/2014 06:51 PM, Ryan Ashley wrote:
>> Alright, things have been fine since the sharing issue, but 
>I finally 
>> decided to dig into why my reverse-DNS zones are empty, save one 
>> single entry at the client location. What I found was very strange 
>> indeed. I have some type of grayed out records I cannot delete that 
>> are named after the hostnames of devices on my network. This one has 
>> me. Here's a screenshot linked below, and my BIND/DHCP 
>configurations.
>>
>> http://dhta.oesm.org/dns.jpeg
>>
>> root at dc01:~# cat /etc/bind/named.conf
>> # Required for SAMBA4
>> include "/var/lib/samba/private/named.conf";
>>
>> # Global options
>> options {
>>     auth-nxdomain yes;
>>     directory "/var/cache/bind";
>>
>>     forwarders {
>>       8.8.8.8;
>>       8.8.4.4;
>>     };
>>
>>     allow-transfer { none; };
>>     notify no;
>>     empty-zones-enable no;
>>
>>     allow-query {
>>       127.0.0.1;
>>       172.16.0.0/22;
>>     };
>>
>>     allow-recursion {
>>       127.0.0.1;
>>       172.16.0.0/22;
>>   };
>>
>>   tkey-gssapi-keytab "/var/lib/samba/private/dns.keytab";
>> };
>>
>> # Root servers (required zone for recursive queries)
>> zone "." {
>>   type hint;
>>   file "named.root";
>> };
>>
>> # Required localhost forward/reverse zones
>> zone "localhost" {
>>   type master;
>>   file "master/localhost.zone";
>> };
>>
>> zone "0.0.127.in-addr.arpa" {
>>   type master;
>>   file "master/0.0.127.zone";
>> };
>>
>> root at dc01:~# cat /etc/dhcp/dhcpd.conf
>> ddns-update-style none;
>> option domain-name "truevine.lan";
>> option domain-name-servers 172.16.0.1,172.16.0.2;
>> default-lease-time 600;
>> max-lease-time 7200;
>> authoritative;
>> log-facility local7;
>>
>> subnet 172.16.0.0 netmask 255.255.252.0 {
>>   range 172.16.2.1 172.16.2.100;
>>   option routers 172.16.0.254;
>>   option broadcast-address 172.16.3.255;
>>   ddns-updates on;
>>   ddns-update-style interim;
>>   update-static-leases on;
>> }
>>
>> That's it. Have I done something that would cause such an 
>odd thing to 
>> happen? Also, how do I remove those things?
>
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/options/samba
>
>



More information about the samba mailing list