1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

DNS on Linux & Windows

Discussion in 'Plesk for Linux - 8.x and Older' started by jjjheimer, Dec 13, 2004.

  1. jjjheimer

    jjjheimer Guest

    0
     
    I just can't seem to figure this out. Here's the background - I've setup 2 DNS servers
    ns1.mydomain.com
    ns2.mydomain.com

    They point to different machines - one linux with Plesk Reloaded 7.5 and one windows web 2k3 with Plesk 7. The linux box is the first nameserver. It contains an NS record pointing to the IP of the windows server. I've configured a handful of domains on the linux machine (also NS1, but different IPs) and everything is great. However, when I setup a domain on the second machine (NS2) it can't be resolved. I read about the somewhat involved task of configuring the machines to become secondaries to each other. Is this what is required to make domains on the window machine (NS2) resolve correctly? Where does the master/slave relationship apply?
    Thx jjj
     
  2. begore

    begore Guest

    0
     
    If you have a domain configured in ns1 and ns2 (by that I mean the 'whois' records and you have 2 'NS' entries in the zone file), then you must have a master configured on one of those name servers and the other must be a slave. This is pretty easy on Plesk, on the machine that's configured as slave add the domain as you have on the master server, go into DNS and click "switch". It will then as for an IP address, enter the IP for the master server and bingo, you're set.

    Clear as mud, eh?
     
  3. jjjheimer

    jjjheimer Guest

    0
     
    Thanks for the response. Ok, so if I understand correctly its not sufficient to setup mydomain.com, the nameserver domain, in Plesk on only one machine. It must also be added to, in my case, the windows box and set as slave. Is this the only case where the 'switch' to slave is used? So, with this in place if I add a client domain on the ns2 (windows) machine I don't have to add this domain to plesk on the ns1 machine as well right?
     
  4. jjjheimer

    jjjheimer Guest

    0
     
    One more question, on the second machine NS2. What type of hosting should mydomain.com use? Or is it enough to just add the DNS setting without setting a hosting type.
     
  5. AceMan

    AceMan Guest

    0
     
Loading...