BIND installed on a Solaris 11.4 x 86 virtual server

DeCaro, James John (Jim) CIV DISA FE (USA) james.j.decaro3.civ at mail.mil
Mon Jun 1 18:08:10 UTC 2020


Installed BIND 9.16.3 and I discovered that the SMF dns/server is trying to read named.conf from /usr/local/etc/: "/usr/local/etc/named.conf: file not found".  I am trying to figure out how point named to read /etc/named.conf.

I did try re-compiling BIND with different switches but it resulted in the same thing.  Is there an environment variable or a ./configure switch to re-point the default to /etc/named.conf?  I tried '--sysconfdir=/etc'  --no luck there.  Do I edit the manifest file?

I tried reviewing the man pages for ./configure but I don't know enough for that to answer my question.

I attempted named -c /etc/named.conf  with no luck

$ named -v
BIND 9.16.3 (Stable Release) <id:5ea41c1>

$ named -V
BIND 9.16.3 (Stable Release) <id:5ea41c1>
running on SunOS i86pc 5.11 11.4.20.4.0
built by make with '--with-gssapi=krb5-config' 'LDFLAGS=-L/usr/local/lib -R/usr/local/lib' 'PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig'
compiled by GCC 9.2.0
compiled with OpenSSL version: OpenSSL 1.1.1b  26 Feb 2019
linked to OpenSSL version: OpenSSL 1.1.1b  26 Feb 2019
compiled with libxml2 version: 2.9.9
linked to libxml2 version: 20909
compiled with json-c version: 0.12
linked to json-c version: 0.12
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
threads support is enabled

default paths:   <<----------------------------- default paths are not correct  should be /etc/...
  named configuration:  /usr/local/etc/named.conf
  rndc configuration:   /usr/local/etc/rndc.conf
  DNSSEC root key:      /usr/local/etc/bind.keys
  nsupdate session key: /usr/local/var/run/named/session.key
  named PID file:       /usr/local/var/run/named/named.pid
  named lock file:      /usr/local/var/run/named/named.lock


$ named -g:

01-Jun-2020 13:59:55.636 running as: named -g
01-Jun-2020 13:59:55.636 compiled by GCC 9.2.0
01-Jun-2020 13:59:55.636 compiled with OpenSSL version: OpenSSL 1.1.1b  26 Feb 2019
01-Jun-2020 13:59:55.636 linked to OpenSSL version: OpenSSL 1.1.1b  26 Feb 2019
01-Jun-2020 13:59:55.636 compiled with libxml2 version: 2.9.9
01-Jun-2020 13:59:55.636 linked to libxml2 version: 20909
01-Jun-2020 13:59:55.636 compiled with json-c version: 0.12
01-Jun-2020 13:59:55.637 linked to json-c version: 0.12
01-Jun-2020 13:59:55.637 compiled with zlib version: 1.2.11
01-Jun-2020 13:59:55.637 linked to zlib version: 1.2.11
01-Jun-2020 13:59:55.637 ----------------------------------------------------
01-Jun-2020 13:59:55.637 BIND 9 is maintained by Internet Systems Consortium,
01-Jun-2020 13:59:55.637 Inc. (ISC), a non-profit 501(c)(3) public-benefit
01-Jun-2020 13:59:55.637 corporation.  Support and training for BIND 9 are
01-Jun-2020 13:59:55.637 available at https://www.isc.org/support
01-Jun-2020 13:59:55.637 ----------------------------------------------------
01-Jun-2020 13:59:55.637 found 2 CPUs, using 2 worker threads
01-Jun-2020 13:59:55.637 using 2 UDP listeners per interface
01-Jun-2020 13:59:55.641 using up to 21000 sockets
01-Jun-2020 13:59:55.647 loading configuration from '/usr/local/etc/named.conf' <<------------ should be /etc/named.conf
01-Jun-2020 13:59:55.647 open: /usr/local/etc/named.conf: file not found <<------------ should be /etc/named.conf
01-Jun-2020 13:59:55.663 loading configuration: file not found
01-Jun-2020 13:59:55.663 exiting (due to fatal error)


Thanks


V/R
Jim DeCaro
DISA
Systems Administrator
Windows and Unix Server Operations
FE222/DoDNet Service Section
Defense Enclave Services Directorate
☎ 301-225-8180 
☎ 301-375-8180 
James.j.decaro3.civ at mail.mil
James.j.decaro3.civ at mail.smil.mil

"If you always do what you always did you will always get what you always got."




More information about the bind-users mailing list