reseller dns

Discussion in 'PSA 5.0 'How Do I' Questions' started by gmanea, Sep 6, 2002.

  1. gmanea

    gmanea Guest

    Hi guys, i will try to make this post have make as much sense as possible.

    I have the following IPS:

    .154 IP based hosting for my hosting company site
    .155 Named based IP for plesk : Also NS1 for my hosting company
    .156 NS2 for my hosting company
    .157 FREE
    .158 FREE
    .159 FREE

    I want to set up a client domain as a reseller, with his own ip address for his site, and his own ips for his nameservers. What exactly do i set my dns settings for the client domain, and then what dns settings for his domains ?

    Thanks guys for your help, I tried doing what i thought was right and we had all sorts of errors.
     
  2. Linulex

    Linulex Product Expert

    Messages:
    761
    change it to this result:
    .155 Name based hosting (will also be the name based for the client)
    .157 NS1.client.dns (IP based hosting reseller if wanted)
    .158 NS2.client.dns

    - Don't forget to enter A records in the dns of the clients name
    - Don't forget to register the nameservers or else they can't be used.

    What ip's are used for what nameservers is totaly seperated of what function they have for apache because apache lsitens to ports 80 and 443 and bind listens to port 53. The main to thing to look out for is never to have 2 dns servers on the same ip address.

    regards

    Jan
     
  3. gmanea

    gmanea Guest

    Thanks Jan, what settings do I set for the A records of the reseller's client domain. If i set .157 A domain.com will that work, or does it have to point to .155 ?
     
  4. Linulex

    Linulex Product Expert

    Messages:
    761
    That depends on wether he has name based hosting or ip based hosting

    regards

    Jan
     
  5. gmanea

    gmanea Guest

    Jan please re read what i said.
     
  6. Linulex

    Linulex Product Expert

    Messages:
    761
    the answer is the same:

    if his domain is on shared ip and you put .157 A domain.com then it wont work,
    If it is ip based in ip .158 and you put .157 A domain.com then it wont work

    you need to set the A records for that (or any) domain to that wath is configured in apache for that particular domain, so the answer is the same:

    That dpends on what type of hosting he has

    regards

    Jan
     
  7. gmanea

    gmanea Guest

    Ok Thanks Jan,
    so how is this scenario.
    Reseller uses .157 for his ip based hosting
    His A record is .157

    but each of the named based domains that he creates for his own clients must have the A record .155 (named based ip for plesk) or can they also point to .157 ?
     
  8. Linulex

    Linulex Product Expert

    Messages:
    761
    only the ip that is used for the name based hosting can have more then one domain pointing to it, an ip that is used for ip based hosting can only be used once.

    The dns entries are normaly set correct by plesk when de domain is created. This is done by the dns template under the server button.

    regards

    Jan
     
  9. matt.simpson

    matt.simpson Guru

    Messages:
    932
    You need to do this:
    Resellers main domain is domain.com he has a client that is client.com

    DNS Zone for domain.com:
    ---------------------------------------------------------------------
    domain.com NS ns1.domain.com
    domain.com NS ns2.domain.com
    ns1.domain.com A 127.0.0.157
    ns2.domain.com A 127.0.0.158
    webmail.domain.com A 125.1.1.155
    domain.com A 127.0.0.157
    www.domain.com CNAME domain.com
    ftp.domain.com CNAME domain.com
    mail.domain.com CNAME domain.com
    mail.domain.com MX10 domain.com
    domain.com PTR 127.0.0.157

    DNS Zone for client.com:
    ---------------------------------------------------------------------
    client.com NS ns1.domain.com
    client.com NS ns2.domain.com
    webmail.client.com A 127.0.0.155
    client.com A 127.0.0.155
    www.client.com CNAME client.com
    ftp.client.com CNAME client.com
    mail.client.com CNAME client.com
    mail.client.com MX10 client.com

    ~matt
     
  10. gmanea

    gmanea Guest

    Thankyou Matt for that reply !

    It was the exact response I was searching for in my original post, and it will help me out immensly. You are the best!

    Cheers,
    Glenn
     
  11. matt.simpson

    matt.simpson Guru

    Messages:
    932
    haha, no problem. I figured that's what you were asking! :D

    ~matt
     

Share This Page