1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2013
    Rep Power

    Assign two ip-address to one hostname

    Hi to all,

    I need to assign to one hostname two different ip-address of two different nodes, so if one node is down, if i ping the hostname i can yet reach it because the other node answer to me

    It's possible to configure this using the dns service? How?

    thank you
  2. #2
  3. Impoverished Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Washington, USA
    Rep Power
    It is but not in a way that will help you with this problem. What you're considering is solved by load balancing: DNS has one IP address for the one name, but it resolves to the load balancer which then forwards traffic to whatever machine it wants (such as the first one available).
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Rep Power
    I would do it in registar nameservers config. one nameserver one IP. When one do not resolve, second is used. if first node is down, how you can redirect request from dead node. Only to use another third server which distribute requests?
    Last edited by postcd; April 12th, 2013 at 05:54 AM.
    $0.5 Hosting on cPanel
    $4 VPS; $30 Dedi

IMN logo majestic logo threadwatch logo seochat tools logo