Learn about Centmin Mod LEMP Stack today
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:
    5:56 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. RoldanLT

    RoldanLT Well-Known Member

    3,831
    929
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,258
    Local Time:
    4:56 PM
    1.11
    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

    29,054
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    6:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1