Welcome to Centmin Mod Community
Register Now

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:20 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 Well-Known Member

    4,990
    1,190
    113
    May 25, 2014
    Ratings:
    +1,812
    Local Time:
    5:20 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.
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,441
    10,312
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,994
    Local Time:
    7:20 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x