<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jan 27, 2016 at 10:00 AM, Motokazu Nakai <span dir="ltr"><<a href="mailto:sagittariusg@gmail.com" target="_blank">sagittariusg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi<br><br></div><div></div>I am trying to set up DNS server. but I encountered error, and enable to set up DNS server unfortunately. <br></div><br>I have done creating these files below. I checked inside files are collect. I don't know what is wrong.<br></div><div>I put the error message here. <br>Could you please provide me some ways to solve this problem?<br></div><div><br></div><div><Files I created><br></div><div>"vi /etc/named.conf"<br>"vi /var/named/individualmoto.ddns.net.lan"<br>"vi /var/named/1.168.192.in-addr.arpa.db"<br>"vi /var/named/individualmoto.ddns.net.wan"<br>"vi /var/named/217.194.125.in-addr.arpa.db"<br><br>And I hit "systemctl start named.service"<br><br></div><div>Then I received this message below.<br>"Job for named.service failed. See 'systemctl status named.service' and 'journalctl -xn' for details."<br><br></div><div>To find what is wrong I hit 'systemctl status named.service' and 'journalctl -xn'<br><br></div><div>The result for 'systemctl status named.service' was this.<br><br>systemctl status named.service<br>named.service - Berkeley Internet Name Domain (DNS)<br> Loaded: loaded (/usr/lib/systemd/system/named.service; disabled)<br> Active: failed (Result: exit-code) since Wed 2016-01-27 16:10:11 JST; 41min ago<br> Process: 8356 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE)<br> Process: 17751 ExecReload=/bin/sh -c /usr/sbin/rndc reload > /dev/null 2>&1 || /bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)<br> Process: 9723 ExecStart=/usr/sbin/named -u named $OPTIONS (code=exited, status=0/SUCCESS)<br> 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)<br> Main PID: 9445 (code=exited, status=0/SUCCESS)<br> CGroup: /system.slice/named.service<br><br>Jan 27 16:10:11 localhost.localdomain bash[9206]: zone localhost.localdomain/IN: loaded serial 0<br>Jan 27 16:10:11 localhost.localdomain bash[9206]: zone localhost/IN: loaded serial 0<br>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<br>Jan 27 16:10:11 localhost.localdomain bash[9206]: zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0<br>Jan 27 16:10:11 localhost.localdomain bash[9206]: zone 0.in-addr.arpa/IN: loaded serial 0<br>Jan 27 16:10:11 localhost.localdomain bash[9206]: zone <a href="http://individualmoto.ddns.net/IN" target="_blank">individualmoto.ddns.net/IN</a>: loaded serial 2016012700<br>Jan 27 16:10:11 localhost.localdomain bash[9206]: zone 217.194.125.in-addr.arpa/IN: loaded serial 2016012700<br>Jan 27 16:10:11 localhost.localdomain systemd[1]: named.service: control process exited, code=exited status=1<br>Jan 27 16:10:11 localhost.localdomain systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).<br>Jan 27 16:10:11 localhost.localdomain systemd[1]: Unit named.service entered failed state.<br></div></div></blockquote><div><br></div><div>The "Process: 9206" line shows that named.service tries to verify your configuration using `named-checkconf`, and that this check failed. Use `systemctl status named -n 100` or `journalctl -b -u named` to get more lines from the logs; they will show the actual errors. (Or, run `named-checkzone -z` manually.) The rest isn't a systemd problem.</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mantas Mikulėnas <<a href="mailto:grawity@gmail.com" target="_blank">grawity@gmail.com</a>></div></div>
</div></div>