https://bugzilla.novell.com/show_bug.cgi?id=696548
https://bugzilla.novell.com/show_bug.cgi?id=696548#c0
Summary: /etc/named.conf.include is empty. Bind doesn't know
all dns zones
Classification: openSUSE
Product: openSUSE 11.4
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.4
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Network
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: manfred.knops@3ds.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0.1) Gecko/20100101
Firefox/4.0.1
Hello together,
On a new HP Z800 I installed opensuse 11.4.
One part of this installation is:
anderson:/etc # rpm -qa | egrep '^bind'
bind-utils-9.7.3-73.1.x86_64
bind-chrootenv-9.7.3-73.1.x86_64
bind-doc-9.7.3-74.1.noarch
bind-9.7.3-73.1.x86_64
bind-libs-9.7.3-73.1.x86_64
anderson:/etc #
anderson:/etc # rpm -qi bind-9.7.3-73.1.x86_64
Name : bind Relocations: (not relocatable)
Version : 9.7.3 Vendor:
obs://build.opensuse.org/home:flacco
Release : 73.1 Build Date: Fri Apr 15 12:35:50
2011
Install Date: Thu May 26 16:01:15 2011 Build Host: build16
Group : Productivity/Networking/DNS/Servers Source RPM:
bind-9.7.3-73.1.src.rpm
Size : 897673 License: BSD3c(or similar) ; MIT
License (or similar)
Signature : DSA/SHA1, Fri Apr 15 12:37:38 2011, Key ID 7dafbf8003718ed4
URL : http://isc.org/sw/bind/
Summary : Domain Name System (DNS) Server (named)
Description :
Berkeley Internet Name Domain (BIND) is an implementation of the Domain
Name System (DNS) protocols and provides an openly redistributable
reference implementation of the major components of the Domain Name
System. This package includes the components to operate a DNS server.
Authors:
--------
ISC Software
Distribution: home:flacco / openSUSE_11.4
anderson:/etc #
Our LDAP server containes the dns zones. That's the reason while I use this
special bind version.
Here are the configuration:
#1
anderson:/etc # !egrep
egrep -v '^$|^#' sysconfig/named
NAMED_RUN_CHROOTED="yes"
NAMED_ARGS=""
NAMED_CONF_INCLUDE_FILE="named.130.17.172 named.131.17.172 named.134.17.172
named.abaqus.com named.abaqus.de named.ds named.dsee.ds named.dsy.ds
named.simulia.com"
NAMED_INITIALIZE_SCRIPTS="createNamedConfInclude"
anderson:/etc #
#2
anderson:/etc # egrep -v '^$|#' named.conf
options {
directory "/var/lib/named";
dump-file "/var/log/named_dump.db";
statistics-file "/var/log/named.stats";
listen-on port 53 { any; };
notify no;
disable-empty-zone
"1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA";
};
zone "." in {
type hint;
file "root.hint";
};
zone "localhost" in {
type master;
file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" in {
type master;
file "127.0.0.zone";
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa"
IN {
type master;
file "127.0.0.zone";
};
include "/etc/named.conf.include";
anderson:/etc #
#3
anderson:/etc # ls -l /etc/named.d
total 44
-rw-r--r-- 1 root root 209 May 27 10:22 forwarders.conf
-rw-r--r-- 1 root root 303 May 26 16:02 named.130.17.172
-rw-r--r-- 1 root root 303 May 26 16:02 named.131.17.172
-rw-r--r-- 1 root root 303 May 26 16:02 named.134.17.172
-rw-r--r-- 1 root root 182 May 26 16:02 named.abaqus.com
-rw-r--r-- 1 root root 268 May 26 16:02 named.abaqus.de
-rw-r--r-- 1 root root 166 May 26 16:02 named.ds
-rw-r--r-- 1 root root 171 May 26 16:02 named.dsee.ds
-rw-r--r-- 1 root root 172 May 26 16:02 named.dsy.ds
-rw-r--r-- 1 root root 184 May 26 16:02 named.simulia.com
-rw-r--r-- 1 root root 626 Oct 9 2003 rndc-access.conf
anderson:/etc #
#4
anderson:/etc # egrep -v '^$|#' named.conf.include
anderson:/etc # ls -l named.conf.include
-rw-r--r-- 1 root named 0 May 27 10:22 named.conf.include
anderson:/etc #
Why is this file empty?
#5
anderson:/etc # service named status
Checking for nameserver BIND
version: 9.7.3
CPUs found: 6
worker threads: 6
number of zones: 18
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/0/1000
tcp clients: 0/100
server is up and running
running
anderson:/etc #
On other machines with opensuse 11.3 and same bind configuration I have 23
zones.
#6
anderson:/etc # netstat -ntp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:51665 127.0.0.1:389 TIME_WAIT
-
tcp 0 0 172.17.131.24:955 172.17.131.6:2049 ESTABLISHED
-
tcp 0 0 127.0.0.1:38162 127.0.0.1:953 TIME_WAIT
-
tcp 0 0 127.0.0.1:51666 127.0.0.1:389 TIME_WAIT
-
tcp 0 0 127.0.0.1:60290 127.0.0.1:953 TIME_WAIT
-
tcp 0 0 127.0.0.1:36270 127.0.0.1:389 TIME_WAIT
-
tcp 0 0 172.17.131.24:54664 172.17.131.5:389 ESTABLISHED
4078/slapd
tcp 0 0 127.0.0.1:53435 127.0.0.1:953 TIME_WAIT
-
anderson:/etc #
There is no connection between bind and slapd.
#7
anderson:/etc # nslookup localhost 127.0.0.1
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: localhost
Address: 127.0.0.1
anderson:/etc # nslookup anderson 127.0.0.1
Server: 127.0.0.1
Address: 127.0.0.1#53
** server can't find anderson: NXDOMAIN
anderson:/etc #
But bind should know which ip address anderson has. It's defined in the zone.
#8 If I list the files contained in /etc/named.d in /etc/named.conf.include
bind works fine.
anderson:/etc # egrep -v '^$|#' /etc/named.conf.include.copied && cp -v
/etc/named.conf.include.copied /etc/named.conf.include
include "/etc/named.d/named.130.17.172";
include "/etc/named.d/named.131.17.172";
include "/etc/named.d/named.134.17.172";
include "/etc/named.d/named.abaqus.com";
include "/etc/named.d/named.abaqus.de";
include "/etc/named.d/named.ds";
include "/etc/named.d/named.dsee.ds";
include "/etc/named.d/named.dsy.ds";
include "/etc/named.d/named.simulia.com";
`/etc/named.conf.include.copied' -> `/etc/named.conf.include'
anderson:/etc #
anderson:/etc # nslookup anderson 127.0.0.1
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: anderson.abaqus.de
Address: 172.17.131.24
anderson:/etc #
There is also a connection between bind and slapd.
anderson:/etc # !netstat
netstat -ntp
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 127.0.0.1:51685 127.0.0.1:389 ESTABLISHED
6810/named
tcp 0 0 172.17.131.24:955 172.17.131.6:2049 ESTABLISHED
-
tcp 0 0 127.0.0.1:389 127.0.0.1:51685 ESTABLISHED
4078/slapd
tcp 0 0 172.17.131.24:54664 172.17.131.5:389 ESTABLISHED
4078/slapd
tcp 0 0 127.0.0.1:389 127.0.0.1:51686 ESTABLISHED
4078/slapd
tcp 0 0 127.0.0.1:51686 127.0.0.1:389 ESTABLISHED
6810/named
anderson:/etc #
For me it seems that the startscript for bind creates /etc/named.conf.include.
But without any character inside.
Regards
Manfred
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
bind doesn't know all dns zones which are configured.
Expected Results:
bind should know more dns zones.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.