[systemd-devel] Trying to set up DNS server.

Motokazu Nakai sagittariusg at gmail.com
Wed Jan 27 00:00:31 PST 2016


Hi

I am trying to set up DNS server.  but I encountered error, and enable to
set up DNS server unfortunately.

I have done creating these files below.  I checked inside files are
collect.  I don't know what is wrong.
I put the error message here.
Could you please provide me some ways to solve this problem?

<Files I created>
"vi /etc/named.conf"
"vi /var/named/individualmoto.ddns.net.lan"
"vi /var/named/1.168.192.in-addr.arpa.db"
"vi /var/named/individualmoto.ddns.net.wan"
"vi /var/named/217.194.125.in-addr.arpa.db"

And I hit "systemctl start named.service"

Then I received this message below.
"Job for named.service failed. See 'systemctl status named.service' and
'journalctl -xn' for details."

To find what is wrong I hit 'systemctl status named.service' and
'journalctl -xn'

The result for 'systemctl status named.service' was this.

systemctl status named.service
named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; disabled)
   Active: failed (Result: exit-code) since Wed 2016-01-27 16:10:11 JST;
41min ago
  Process: 8356 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 ||
/bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE)
  Process: 17751 ExecReload=/bin/sh -c /usr/sbin/rndc reload > /dev/null
2>&1 || /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
  Process: 9723 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited,
status=0/SUCCESS)
  Process: 9206 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING"
== "yes" ]; then /usr/sbin/named-checkconf -z /etc/named.conf; else echo
"Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)
 Main PID: 9445 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/named.service

Jan 27 16:10:11 localhost.localdomain bash[9206]: zone
localhost.localdomain/IN: loaded serial 0
Jan 27 16:10:11 localhost.localdomain bash[9206]: zone localhost/IN: loaded
serial 0
Jan 27 16:10:11 localhost.localdomain bash[9206]: 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/IN:
loaded serial 0
Jan 27 16:10:11 localhost.localdomain bash[9206]: zone
1.0.0.127.in-addr.arpa/IN: loaded serial 0
Jan 27 16:10:11 localhost.localdomain bash[9206]: zone 0.in-addr.arpa/IN:
loaded serial 0
Jan 27 16:10:11 localhost.localdomain bash[9206]: zone
individualmoto.ddns.net/IN: loaded serial 2016012700
Jan 27 16:10:11 localhost.localdomain bash[9206]: zone
217.194.125.in-addr.arpa/IN: loaded serial 2016012700
Jan 27 16:10:11 localhost.localdomain systemd[1]: named.service: control
process exited, code=exited status=1
Jan 27 16:10:11 localhost.localdomain systemd[1]: Failed to start Berkeley
Internet Name Domain (DNS).
Jan 27 16:10:11 localhost.localdomain systemd[1]: Unit named.service
entered failed state.


Then I entered the second one, 'journalctl -xn', and the result is this
below.

journalctl -xn
-- Logs begin at Sat 2016-01-16 14:05:45 JST, end at Wed 2016-01-27
16:50:01 JST. --
Jan 27 16:43:14 localhost.localdomain gnome-session[3192]: console.error:
Jan 27 16:43:14 localhost.localdomain gnome-session[3192]: [CustomizableUI]
Jan 27 16:43:14 localhost.localdomain gnome-session[3192]: Custom widget
with id loop-button does not return a valid node
Jan 27 16:43:14 localhost.localdomain gnome-session[3192]: console.error:
Jan 27 16:43:14 localhost.localdomain gnome-session[3192]: [CustomizableUI]
Jan 27 16:43:14 localhost.localdomain gnome-session[3192]: Custom widget
with id loop-button does not return a valid node
Jan 27 16:50:01 localhost.localdomain systemd[1]: Created slice
user-0.slice.
-- Subject: Unit user-0.slice has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit user-0.slice has finished starting up.
-- 
-- The start-up result is done.
Jan 27 16:50:01 localhost.localdomain systemd[1]: Starting Session 1882 of
user root.
-- Subject: Unit session-1882.scope has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-1882.scope has begun starting up.
Jan 27 16:50:01 localhost.localdomain systemd[1]: Started Session 1882 of
user root.
-- Subject: Unit session-1882.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit session-1882.scope has finished starting up.
-- 
-- The start-up result is done.
Jan 27 16:50:01 localhost.localdomain CROND[9903]: (root) CMD
(/usr/lib64/sa/sa1 1 1)



I no longer know what is the wrong.  I spent so many times to manage to set
up DNS server.
It doesn't work.

Please help me

Kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20160127/b9209539/attachment.html>


More information about the systemd-devel mailing list