[Samba] Strange DNS issue...

Ryan Ashley ryana at reachtechfp.com
Tue Sep 9 16:51:20 MDT 2014


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?


More information about the samba mailing list