MRatWork Forum by Mustafa Ramadhan - bingung setting 'secondary dns'

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 22:38:32

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- bingung setting 'secondary dns'

« previous next »

- Print

Pages: 1 [2] 3 Go Down

### Author Topic: bingung setting 'secondary dns' (Read 3204 times)

0 Members and 1 Guest are viewing this topic.

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #15 on: 2015-12-07, 05:21:29 »
server 1 berhasil ganti bind ke nsd
server 2 malah muncul error ini pak waktu mau ganti
Alert: remove_failed [bind]
coba sh /script/restart-dns
Code: [Select]

    [root@uthman /]# sh /script/restart-dns -y

    - For help, type '/script/restart-dns [--help|-h]'
    [root@uthman /]#

coba sh /script/restart-all
Code: [Select]

    [root@uthman /]# sh /script/restart-all -y

    Shutting down system logger:                               [  OK  ]
    Starting system logger:                                    [  OK  ]
    -------------------------------------------------------------------

    Shutting down MySQL. SUCCESS!
    Starting MySQL. SUCCESS!
    -------------------------------------------------------------------

    Stopping php-fpm:                                          [  OK  ]
    pkill to make sure stopped
    Starting php-fpm:                                          [  OK  ]
    -------------------------------------------------------------------

    Stopping httpd:                                            [  OK  ]
    Starting httpd:                                            [  OK  ]
    -------------------------------------------------------------------

    *** Process for QMAIL service ***
    Stopping qmail-toaster: svscan qmail logging.
    qmail-send: no process killed
    Starting qmail-toaster: svscan.
    -------------------------------------------------------------------

    - For help, type '/script/restart-mail [--help|-h]'
    -------------------------------------------------------------------

    Stopping xinetd:                                           [  OK  ]
    Starting xinetd:                                           [  OK  ]
    -------------------------------------------------------------------

    * kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
    Stopping kloxo-hiawatha:                                   [  OK  ]
    Starting kloxo-hiawatha:                                   [  OK  ]
    -------------------------------------------------------------------
    [root@uthman /]#

namednya hilang sepertinya pak
padahal di component list masih ada
tapi di services statusnya mati
« Last Edit: 2015-12-07, 05:31:19 by Wibowo »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #16 on: 2015-12-07, 05:36:16 »
Coba lakukan 'yum remove bind* -y; yum reinstall nsd -y; sh /script/fixdns; sh /script/restart-dns -y'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #17 on: 2015-12-07, 05:45:20 »
masih seperti sebelumnya setelah restart pak
service status di control panel
hasil sh /script/restart-dns -y
Code: [Select]

    [root@uthman /]# sh /script/restart-dns -y

    - For help, type '/script/restart-dns [--help|-h]'
    [root@uthman /]#

hasi sh /script/restart-all -y
Code: [Select]

    [root@uthman /]# sh /script/restart-all -y

    Shutting down system logger:                               [  OK  ]
    Starting system logger:                                    [  OK  ]
    -------------------------------------------------------------------

    Shutting down MySQL. SUCCESS!
    Starting MySQL. SUCCESS!
    -------------------------------------------------------------------

    Stopping php-fpm:                                          [  OK  ]
    pkill to make sure stopped
    Starting php-fpm:                                          [  OK  ]
    -------------------------------------------------------------------

    Stopping httpd:                                            [  OK  ]
    Starting httpd:                                            [  OK  ]
    -------------------------------------------------------------------

    *** Process for QMAIL service ***
    Stopping qmail-toaster: svscan qmail logging.
    qmail-send: no process killed
    Starting qmail-toaster: svscan.
    -------------------------------------------------------------------

    - For help, type '/script/restart-mail [--help|-h]'
    -------------------------------------------------------------------

    Stopping xinetd:                                           [  OK  ]
    Starting xinetd:                                           [  OK  ]
    -------------------------------------------------------------------

    * kloxo-phpcgi ('php54s' in 'cgi' mode): No need to start
    Stopping kloxo-hiawatha:                                   [  OK  ]
    Starting kloxo-hiawatha:                                   [  OK  ]
    -------------------------------------------------------------------
    [root@uthman /]#

nsd menghilang dari restart-all pak
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #18 on: 2015-12-08, 03:03:03 »
Coba 'chkconfig nsd on; sh /script/restart-dns -y'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #19 on: 2015-12-08, 03:31:31 »
saya coba rebuild servernya, install ulang kloxomr, coba add lagi 'Secondary DNS Config'
ternyata nsd dan bind samasekali tidak membuat entry di file
bind = named.slave.conf
nsd = nsd.slave.conf
setelah sh /script/fixdns dan sh /script/restart-dns juga sama, masih tetap kosong
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #20 on: 2015-12-08, 03:51:25 »
Coba kedua2nya pakai nsd. Setelah fixdns maka jalankan 'restart-dns' dan 'restart-dns -y'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #21 on: 2015-12-08, 04:04:58 »
sudah pak
dua2nya sudah pakai nsd
tapi di server 2, setelah dibuat secondary dns, file /opt/configs/nsd/conf/defaults/nsd.slave.conf tetap kosong
saya tes di server 1 jadi secondary dns untuk domain lain
misal kaskus.com
panel menulis konten seperti ini di /opt/configs/nsd/conf/defaults/nsd.slave.conf
Code: [Select]

    zone:
        name: satriyowibowo.my.id
        zonefile: slave/satriyowibowo.my.id
        allow-notify: 8.254.194.34 NOKEY
        request-xfr: 8.254.194.34@53 NOKEY

server 2 tidak pernah menulis konfigurasi ke file nsd.slave.conf
sehingga peran secondary dns tidak akan berjalan
« Last Edit: 2015-12-08, 04:51:03 by Wibowo »
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #22 on: 2015-12-08, 04:12:22 »
Ini bisa jadi server1 menolak request dari server2.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #23 on: 2015-12-08, 04:31:02 »
bukannya server 2 yg gagal menulis konfigurasi ke file nsd.slave.conf ya pak?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #24 on: 2015-12-08, 04:48:35 »
Quote from: Wibowo on 2015-12-08, 04:31:02

> bukannya server 2 yg gagal menulis konfigurasi ke file nsd.slave.conf ya pak?

Kegagalan bisa jadi karena tidak menerima request dari server1.
Coba saja tambahkan secara manual isian pada nsd.slave.conf seperti hasil yang anda dapatkan untuk kaskus.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #25 on: 2015-12-08, 05:05:16 »
tapi dari server 1 bisa ke puck.nether pak
berarti kan server 1 'menyediakan' dns resource/axfr untuk ke server lain
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #26 on: 2015-12-08, 05:18:15 »
Coba lakukan lagi 'sh /script/fixdns; sh /script/restart-dns -y; sh /script/restart-dns' di kedua server (tentunya server1 terlebih dahulu).
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #27 on: 2015-12-08, 06:14:20 »
di server 2 muncul error seperti ini pak
Code: [Select]

    *** Process for NSD service ***
    Starting nsd:                                              [FAILED]
      - Process with 'nsd-control': transfer + write + reload + notify
        - transfer: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
        - write: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
        - reload: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
        - notify: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
    -------------------------------------------------------------------

ada file konfigurasi yang hilang dari nsd
« Last Edit: 2015-12-08, 06:16:42 by Wibowo »
Logged

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #28 on: 2015-12-08, 06:27:42 »
Quote from: MRatWork on 2015-12-08, 04:48:35

> Quote from: Wibowo on 2015-12-08, 04:31:02

> > bukannya server 2 yg gagal menulis konfigurasi ke file nsd.slave.conf ya pak?

> Kegagalan bisa jadi karena tidak menerima request dari server1.
> Coba saja tambahkan secara manual isian pada nsd.slave.conf seperti hasil yang anda dapatkan untuk kaskus.

jika ditulis manual ke file konfigurasi slave, (nsd.slave.conf atau named.slave.conf) ini yg terjadi pak
nsd
Code: [Select]

    *** Process for NSD service ***
    Starting nsd:                                              [FAILED]
      - Process with 'nsd-control': transfer + write + reload + notify
        - transfer: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
        - write: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
        - reload: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
        - notify: /etc/nsd/nsd.conf:43: error: cannot open include file '/opt/configs/nsd/conf/defaults/nsd.reverse.conf': No such file or directory
    read /etc/nsd/nsd.conf failed: 1 errors in configuration file
    could not read config file
    -------------------------------------------------------------------

    - For help, type '/script/restart-dns [--help|-h]'

bind
Code: [Select]

    [root@ali defaults]# sh /script/restart-dns

    *** Process for BIND service ***
      - No need started
      - Process : restart
    Stopping named: .                                          [  OK  ]
    Starting named:
    Error in named configuration:
    /opt/configs/bind/conf/defaults/named.options.conf:29: undefined ACL 'allow-notify'
                                                               [FAILED]
    -------------------------------------------------------------------

    - For help, type '/script/restart-dns [--help|-h]'
    [root@ali defaults]#

keliatannya kesalahan memang ada di panel
file2 konfigurasi yang seharusnya dibuat saat install atau ditulis ulang saat perintah diberikan
gagal dilakukan oleh panel
makanya muncul error
dan anehnya cuma terjadi di server US
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: bingung setting 'secondary dns'

« Reply #29 on: 2015-12-08, 06:35:50 »
Coba 'sh /script/cleanup'. Ini karena ada sesuatu yang tidak utuh. Jika di server2 tidak ada domain/subdomain coba pakai saja 'dummy' domain.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: 1 [2] 3 Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- bingung setting 'secondary dns'

Top 4 Global Search Engines: Google Bing Baidu Yahoo

..:: Monetize your Website or Blog with BidVertiser ::.. ..:: Sell your ad space with BidVertiser ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.043 seconds with 17 queries.

Mirror created by MasterkinG32.CoM