Secondary Nameserver tidak update

Discussion in 'Masalah Teknik dan Keamanan' started by mas.satriyo, 18 Nov 2015.

Thread Status:
Not open for further replies.
  1. mas.satriyo

    mas.satriyo Expert 2.0

    Messages:
    962
    Likes Received:
    141
    Trophy Points:
    43
    Ini kenapa ya kok secondary nameserver tidak ikut update DNS Record mengikuti primary nameserver?

    kasus yg masih baru, dua minggu yang lalu saya edit mx record
    dari (record lama) :
    domain.com. 14400 IN MX 10 mx.mailserver1.com.
    domain.com. 14400 IN MX 20 mx2.mailserver1.com.

    jadi (record baru) :
    domain.com. 14400 IN MX 10 mx.mailserver2.com.
    domain.com. 14400 IN MX 20 mx2.mailserver2.com.
    domain.com. 14400 IN MX 30 mx3.mailserver2.com.

    cek di nameserver primary pakai
    dig @ns1.domain.com domain.com mx
    hasilnya record sudah update menjadi record baru

    tapi waktu cek di nameserver secondary,
    dig @ns2.domain.com domain.com mx
    hasilnya malah masih record lama, padahal penggantian sudah dilakukan beberapa hari sebelumnya

    ini masalahnya ada dimana ya?
    saya pakai bind untuk nameservernya

    trims
     
  2. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    ns1 ns2 nya beda ip?
    ada syncron nya aktif gak?
     
  3. mas.satriyo

    mas.satriyo Expert 2.0

    Messages:
    962
    Likes Received:
    141
    Trophy Points:
    43
    beda mas, beda region juga malah
    syncron itu yg mana mas?

    apa masih ada yg kurang di setup saya ya?

    agak aneh ini, kadang2 secondary langsung update gak lama setelah primary di update
    tapi seringnya sih ketinggalan update
    antara 1 jam sampai berhari-hari
     
  4. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    pakai cpanel kah atau gimana?
    ini cluster dns?
     
  5. mas.satriyo

    mas.satriyo Expert 2.0

    Messages:
    962
    Likes Received:
    141
    Trophy Points:
    43
    gak mas, polosan tanpa panel
    bind master-slave mas
    satu server bind sebagai master, server yg lain di setup slave
     
  6. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Primary harus kirim 'notify' ke secondary agar secondary tahu bahwa ada perubahan di primary.
     
  7. mas.satriyo

    mas.satriyo Expert 2.0

    Messages:
    962
    Likes Received:
    141
    Trophy Points:
    43
    konfigurasi notify seperti ini maksudnya pak
    Code:
    options {
    allow-notify { 111.22.333.4; }; // ip address secondary-ns
    }
    
    sudah pak, saya tambahkan di named.conf.options
     
  8. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Perlu diset 'allow-notify', 'allow-transfer' dan 'notify yes'.
     
  9. mas.satriyo

    mas.satriyo Expert 2.0

    Messages:
    962
    Likes Received:
    141
    Trophy Points:
    43
    sudah pak

    sudah saya pasang ini sebelumnya di named.conf.options nameserver primary
    Code:
      notify yes;
      allow-notify { 111.22.333.4; }; // ip address secondary-ns
      allow-transfer { 111.22.333.4;}; // ip address secondary-ns
    
     
  10. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Mestinya kalau named di-restart maka primary akan notify ke secondary untuk 'refresh' data. Agar cepat, named di secondary di-restart juga.
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...