bind not working

Hi,

I have fresh openSUSE leap42.2 installed.

I have installed bind, but it is not working like previous version leap42.1


suse:~ # systemctl status named
● named.service - LSB: Domain Name System (DNS) server, named
   Loaded: loaded (/etc/init.d/named; bad; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sat 2017-05-27 11:02:42 MYT; 17min ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6013 ExecStart=/etc/init.d/named start (code=exited, status=1/FAILURE)


May 27 11:02:42 suse named[6063]: adjusted limit on open files from 4096 to 1048576
May 27 11:02:42 suse named[6063]: found 4 CPUs, using 4 worker threads
May 27 11:02:42 suse named[6063]: using 3 UDP listeners per interface
May 27 11:02:42 suse named[6063]: using up to 4096 sockets
May 27 11:02:42 suse named[6063]: loading configuration: failure
May 27 11:02:42 suse named[6013]: Starting name server BIND ..failed
May 27 11:02:42 suse systemd[1]: named.service: Control process exited, code=exited status=1
May 27 11:02:42 suse systemd[1]: Failed to start LSB: Domain Name System (DNS) server, named.
May 27 11:02:42 suse systemd[1]: named.service: Unit entered failed state.
May 27 11:02:42 suse systemd[1]: named.service: Failed with result 'exit-code'.

it show fail to load configuration, I have checked the config, it should be working.

Thanks.

Have you ran named-checkconf to see if there are any errors in the config file?

What’s your BIND version? ( rpm -q bind )

No error show when running named-checkconf


suse:~ # rpm -qa | grep bind
bind-utils-9.9.9P1-41.1.x86_64
bind-chrootenv-9.9.9P1-48.3.1.x86_64
bind-9.9.9P1-48.3.1.x86_64
bind-libs-9.9.9P1-41.1.x86_64

Your bind libs and bind version are desynced (bind itself is 48.3 but bind libs are 41.1)

You should run zypper ref ; zypper up

Miukiu,

Oh yes, it was the bind-utils and bind-libs problem.

After upgrade, it runs well

Thank you very much.