set up two dns with public IP master and slave

Discussion in 'Installation/Configuration' started by -crisstm-, Aug 15, 2008.

  1. -crisstm-

    -crisstm- Banned

    Hi all,

    i want to set up two server from diffrent location one master and one slave .
    i need to obtain redundancy and when the first server goes down must to work the second and when the secondary server goes down work to primary, and when work both obtain redundancy.
    here i explain what i do:
    to my registrat i tell
    ns1.xdigital.ro 89.122.18.58
    ns2.xdigital.ro 86.34.232.110
    that's my public ip where is located my servers

    on my ispconfig to first server i set up:

    *Management->Server->Settings
    Hostaname ns1
    Domain xdigital.ro
    Ip 89.122.18.58
    IP List 89.122.18.58
    86.34.232.110
    DNS tab on
    default Ns1 89.122.18.58
    default ns2 86.34.232.110

    *ISP Manager->ISP Site->Hostname www
    Domain xdigital.ro
    IP 89.122.18.58

    *DNS Manager->xdigital.ro as a primary domain
    Domain SOA xdigital.ro
    IP 89.122.18.58
    In Option tab i set up
    Nameserver 1: ns1.xdigital.ro
    Nameserver 2: ns2.xdigital.ro
    On the Records tab i set up the A record
    Hostname www
    IP 89.122.18.58
    Hostname mail same IP
    Hostname ns1 same IP
    at MX i set up
    host mail.xdigital.ro 10 priority

    on my ispconfig to second server i set up:

    *Management->Server->Settings
    Hostaname ns1
    Domain xdigital.ro
    Ip 86.34.232.110
    IP List 89.122.18.58
    86.34.232.110
    DNS tab on
    default Ns1 89.122.18.58
    default ns2 86.34.232.110

    *ISP Manager->ISP Site->Hostname www
    Domain xdigital.ro
    IP 86.34.232.110

    *DNS Manager->xdigital.ro as a slave domain
    Domain SOA xdigital.ro
    IP master DNS 89.122.18.58

    This is all but doesn't work my domain xdigital.ro. On the same server i have other domain wich is working fine. where am i wrong?
    thank's in advance
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. -crisstm-

    -crisstm- Banned

    Hi Falko

    Thank's for you reply, but I don't have debian, i work with centos 4.6, and i want to make with that 2 static IP, two servers DNS,WEB,FTP,Mail, and i need when master server goes down, work slave server and vice versa.
    How can i made this with centos and ISPConfig?
    Thank's
     
  4. falko

    falko Super Moderator Howtoforge Staff

  5. -crisstm-

    -crisstm- Banned

    ok thank's

    ok thank's for that tutorial but is working with ISPConfig?
    Because i have ISPConfig installed on both server
    And for Mail and ftp it's working ?
    And what happened when one client modify mysql databases meenwhile one server is down? the secondary server will send all modification to the primary when is up?
     
  6. falko

    falko Super Moderator Howtoforge Staff

  7. -crisstm-

    -crisstm- Banned

    ok how can i make to listen a virtual IP?
     
  8. -crisstm-

    -crisstm- Banned

    and all tutorials is for debian. why? centos is not so good? debian is very complicated, cmd line is too much command key...and so on. security is same to microsoft windows = doesn't work.
    security for me is the best when it's work, and filter what i need and block what i don't need. but in windows block everything, that is not security for me. and debian is the same.so exist tutorial for centos?
     
  9. falko

    falko Super Moderator Howtoforge Staff

    I have no idea what you're trying to tell me. Debian is not more or less secure than CentOS.


    This should work for CentOS as well: http://www.howtoforge.com/high-availability-load-balancer-haproxy-heartbeat-fedora8
     
  10. -crisstm-

    -crisstm- Banned

    for example i want to copy the site in www under debian, and i have no rights.debian tell me i have not permission to copy.why? why i can't login as root?
    that is wrong security for me, is stop all access for me.
    in centos i can login as root, i can copy all files in www...and so on
    sorry for my english i'm romanian.
    i will read carefully that tutorial and i have one question. to make that it is possible with two servers and two ip, or i need more. and it's working with Public IP, or it's working just in my internal network.
    for that i must configure additional IP under ISP Config(from tutorial a.k.a the perfect server)?
    and that ip belong to another server from my network? or just change my network card IP.
    thank's
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    You can login as root unser debian. I'am doibg this daily on many servers. You might mix up Debsain an ubuntu linux, under ubuntu the root user is disabled by default, but you just have to run the passwd command and set a password to enable it.
     
  12. -crisstm-

    -crisstm- Banned

    how?

    how can i do that?
    in debian how can i login as root?
    thnk's
     
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Use a SSH client, e.g. putty if you work on windows.
     
  14. -crisstm-

    -crisstm- Banned

    what is this answer????
    i ask if i can login as root in debian and you told me for use ssh or putty?
    ???
    i'm confuse....
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    You asked how you can login and not if you can login and my post above answered that. To your new question, yes you can login as root user in debian ;)
     
  16. -crisstm-

    -crisstm- Banned

    login

    ok
    I wondering if i could login as root in debian xserver (gnome) because i cannot.
    how can i do it?
    thank's
     

Share This Page