Teşekkür ederim. Sanırsam düzenledim fakat bu sefer dns sunucum çalışmıyor. Bir etkisi olmuş olabilir mi? Ne restart atabiliyorum ne başlatabiliyorum... Bu yüzden de kontrol edemedim bir türlü değiştirip değiştiremediğimi.
SSH üzerinden başlat dediğimde de şöyle bir hata alıyorum.
Alıntı
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'
++ . /etc/profile.d/lang.sh
++ unset LANGSH_SOURCED
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ PROMPT=yes
+++ AUTOSWAP=no
+++ ACTIVE_CONSOLES='/dev/tty[1-6]'
+++ SINGLE=/sbin/sushell
++ '[' pty = serial ']'
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave \)$/d'
+ '[' -r /etc/sysconfig/named ']'
+ . /etc/sysconfig/named
+ RETVAL=0
+ export KRB5_KTNAME=/etc/named.keytab
+ KRB5_KTNAME=/etc/named.keytab
+ named=named
+ '[' -x /usr/sbin/named-sdb ']'
+ NAMED_SHUTDOWN_TIMEOUT=25
+ '[' -n '' ']'
+ PIDFILE=/var/run/named/named.pid
+ ROOTDIR_MOUNT='/etc/named /etc/pki/dnssec-keys /var/named /etc/named.conf
/etc/named.dnssec.keys /etc/named.rfc1912.zones /etc/rndc.conf /etc/rndc.key
/usr/lib64/bind /usr/lib/bind /etc/named.iscdlv.key /etc/named.root.key'
+ case "$1" in
+ start
+ '[' 0 '!=' 0 ']'
+ '[' -r /etc/sysconfig/network ']'
+ . /etc/sysconfig/network
++ NETWORKING=yes
++ HOSTNAME=testing
+ '[' yes = no ']'
+ '[' -x /usr/sbin/named ']'
+ '[' '!' -s /etc/rndc.key -a '!' -s /etc/rndc.conf ']'
+ previous_option=unspecified
+ named_conf=/etc/named.conf
+ echo -n 'Starting named: '
Starting named: + check_pidfile
++ pidofproc -p /var/run/named/named.pid named
++ local RC pid pid_file=
++ '[' 3 = 0 ']'
++ '[' -p = -p ']'
++ pid_file=/var/run/named/named.pid
++ shift 2
++ fail_code=3
++ __pids_var_run named /var/run/named/named.pid
++ local base=named
++ local pid_file=/var/run/named/named.pid
+++ /usr/bin/dirname /var/run/named/named.pid
++ local pid_dir=/var/run/named
++ local binary=
++ '[' -d /var/run/named -a '!' -r /var/run/named ']'
++ pid=
++ '[' -f /var/run/named/named.pid ']'
++ return 3
++ RC=3
++ '[' -n '' ']'
++ '[' -n /var/run/named/named.pid ']'
++ return 3
+ PID=
+ '[' -n '' ']'
++ pidofnamed
++ pidofproc -p /var/run/named/named.pid named
++ local RC pid pid_file=
++ '[' 3 = 0 ']'
++ '[' -p = -p ']'
++ pid_file=/var/run/named/named.pid
++ shift 2
++ fail_code=3
++ __pids_var_run named /var/run/named/named.pid
++ local base=named
++ local pid_file=/var/run/named/named.pid
+++ /usr/bin/dirname /var/run/named/named.pid
++ local pid_dir=/var/run/named
++ local binary=
++ '[' -d /var/run/named -a '!' -r /var/run/named ']'
++ pid=
++ '[' -f /var/run/named/named.pid ']'
++ return 3
++ RC=3
++ '[' -n '' ']'
++ '[' -n /var/run/named/named.pid ']'
++ return 3
+ '[' -n '' ']'
+ mount_chroot_conf
+ '[' -n '' ']'
+ '[' '!' -r /etc/named.conf ']'
+ '[' -x /sbin/portrelease ']'
+ /sbin/portrelease named
+ '[' '' = yes ']'
+ ckcf_options=-z
+ '[' -n '' -a x '!=' x/ ']'
+ RETVAL=0
+ '[' -x /usr/sbin/named-checkconf ']'
+ '[' -x /usr/sbin/named-checkzone ']'
+ /usr/sbin/named-checkconf -z /etc/named.conf
++ /usr/sbin/named-checkconf -z /etc/named.conf
+ named_err='zone testing1.com/IN: NS '\''ns1.testing1.com'\'' has no address records (A or AAAA)
zone testing1.com/IN: NS '\''ns2.testing1.com'\'' has no address records (A or AAAA)
zone testing1.com/IN: not loaded due to errors.
_default/testing1.com/IN: bad zone
zone testing.com/IN: loaded serial 2015080806'
+ echo
+ echo 'Error in named configuration:'
Error in named configuration:
+ echo 'zone testing1.com/IN: NS '\''ns1.testing1.com'\'' has no address records (A or AAAA)
zone testing1.com/IN: NS '\''ns2.testing1.com'\'' has no address records (A or AAAA)
zone testing1.com/IN: not loaded due to errors.
_default/testing1.com/IN: bad zone
zone testing.com/IN: loaded serial 2015080806'
zone testing1.com/IN: NS 'ns1.testing1.com' has no address records (A or AAAA)
zone testing1.com/IN: NS 'ns2.testing1.com' has no address records (A or AAAA)
zone testing1.com/IN: not loaded due to errors.
_default/testing1.com/IN: bad zone
zone testing.com/IN: loaded serial 2015080806
+ failure
+ local rc=0
+ '[' color '!=' verbose -a -z '' ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[60G'
+ echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[0;31m'
+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n ']'
]+ echo -ne '\r'
+ return 1
+ '[' -x /bin/plymouth ']'
+ /bin/plymouth --details
+ return 0
+ echo
+ '[' -x /usr/bin/logger ']'
+ /usr/bin/logger -pdaemon.error -tnamed
+ echo 'zone testing1.com/IN: NS '\''ns1.testing1.com'\'' has no address records (A or AAAA)
zone testing1.com/IN: NS '\''ns2.testing1.com'\'' has no address records (A or AAAA)
zone testing1.com/IN: not loaded due to errors.
_default/testing1.com/IN: bad zone
zone testing.com/IN: loaded serial 2015080806'
+ umount_chroot_conf
+ '[' -n '' ']'
+ exit 2