Get the most out of your Centmin Mod LEMP stack
Become a Member

NSD setup?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by karistuck, Jun 1, 2014.

  1. karistuck

    karistuck Member

    43
    2
    8
    Jun 1, 2014
    대한민국
    Ratings:
    +3
    Local Time:
    6:15 PM
    1.5.8
    How can I setup for 2 vps use 2 name server?

    1vps : 2 ip address(123.123.123.1, 123.123.123.2)
    Code:
    $TTL 14400
    @       IN      SOA     ns1.doamin.tld.      hostmaster.doamin.tld. (
                                                    2010091500
                                                    14400
                                                    3600
                                                    1209600
                                                    86400 )
    
    ; Nameservers
    [B]doamin.tld.       14400   IN      NS      ns1.doamin.tld.
    
    doamin.tld.       14400   IN      NS      ns2.doamin.tld.[/B]
    
    ; A Records
    doamin.tld.       14400   IN      A       123.123.123.1
    [B]ns1                     14400   IN      A       123.123.123.1
    ns2                     14400   IN      A      123.123.123.2[/B]
    
    ; MX Record
    doamin.tld.       14400   IN      MX      10 mail
    
    ; TXT Record (for SPF)
    doamin.tld.       14400   IN      TXT     "v=spf1 a mx ip4: ~all"
    2 vps : 2 ip address(123.123.1.1, 123.123.1.2)

    Code:
    $TTL 14400
    @  IN  SOA  ns1.doamin.tld.  hostmaster.doamin.tld. (
      2010091500
      14400
      3600
      1209600
      86400 )
    ; Nameservers
    [B]doamin.tld.  14400  IN  NS  ns3.doamin.tld.
    
    doamin.tld.  14400  IN  NS  ns4.doamin.tld.[/B]
    ; A Records
    doamin.tld.  14400  IN  A  123.123.1.1
    [B]ns3  14400  IN  A  123.123.1.1
    
    ns4  14400  IN  A  123.123.1.2[/B]
    ; MX Record
    doamin.tld.  14400  IN  MX  10 mail
    ; TXT Record (for SPF)
    doamin.tld.  14400  IN  TXT  "v=spf1 a mx ip4: ~all"
    Than I was setup godady host on domain control panel

    ns1.doamin.tld : 123.123.123.1
    ns2.doamin.tld : 123.123.123.2
    ns3.doamin.tld : 123.123.1.1
    ns4.doamin.tld :123.123.1.2


    Does this setup working well for name server?

    Thank you for watching

    :)
     
  2. rdan

    rdan Premium Member Premium Member

    4,230
    1,030
    113
    May 25, 2014
    Ratings:
    +1,471
    Local Time:
    5:15 PM
    Mainline
    10.2
    Nah, I don't recommend hosting your own dns.
    You could use namecheap dns or cloudflare dns, both free and very fast.
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    35,123
    7,753
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,956
    Local Time:
    7:15 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Like Like x 1
..