Home Forums OS X Server and Client Discussion DNS Tiger Server DNS CNAME QUESTION

  • This topic has 6 replies, 4 voices, and was last updated 19 years ago by Anonymous.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #364183
    nvdtech
    Participant

    On an in-house Tiger DNS server, how would you enter a CNAME for a machine outside the company? I don’t have an IP address, just the name (123.otherplace.com).

    classifieds.mydomain.com


    needed to point to

    123.otherplace.com

    How do I set that up so the in-house clients go to 123.otherplace.com ONLY when they select classifieds.mydomain.com

    I have a DNS server on the outside pointing the world to the proper place, it’s just my in-house (local lan) that need to see it. Local clients are pointed to a local IP address when accessing “www” such as http://www.mydomain.com has a local IP address for the local clients.

    #364208
    nvdtech
    Participant

    Ok, let me try this again: I do have “ownership” of my domain…inside and outside my gateway. I had a 10.3.9 DNS server (which is being rebuilt) where I could easily MAP my “classidieds” CNAME to another servers CNAME through the Server Admin GUI.(plus I could do the same quick mapping of CNAMEs on a Windows 2000 server GUI, but I shutter when I think back to those dark days).

    Now, in the Tiger Server Admin GUI, I am unable to puzzle out just how to map one CNAME to another quickly. It should be even easier then Panther, which was fairly straight forward. I have not implemented Tiger server. I have Panther servers running all my service DNS, DHCP, OD, web, blah, blah, blah…

    So…my question is: what’s the trick here (in Tiger) to make it work?

    PS: my Tiger server is only temporarily acting as my DNS server.

    #365879
    nvdtech
    Participant

    Still wondering! :mrgreen:

    #365880
    chiefgeek
    Participant

    You need to hand edit the /var/named/yourcompany.zone file with a text editor.
    An entry such as this:
    http://www.yourfqdn.net IN CNAME purple
    Where “purple” in this case is the name of the server to which www. yourfqdn.net resolves should do it.
    After editing, DO NOT make any changes to that zone file with Tiger Server Admin; it will bork this (and any other handmade) changes.

    #365935
    Anonymous
    Guest

    Ok, heres a follow up question for you, as I’m looking into the same thing. I suspect this may be a common case moving foward… You’ll see why it’s a bit tougher than I’d have liked Apple to make it.

    I work at mycompany.com. my email is [email protected]. I’ve outsourced our email processing so it’s no longer on my xserve, it’s relayed and processed by an external cluster at, let’s say, bigemail.com.

    So, I’ve got to create a zone in DNS, and link the IP’s for web, webmail, mail, smtp etc… to bigemail.com. Take control of the domain as you said. This means it wont do outside lookups for hosts in that domain. Ok… Now it would redirect it to another IP just fine.

    If there were only 1 server for each (pop, smtp…) that would be easy, but bigemail.com load balances their POP, SMTP, webmail servers. If I create a zone, and add servers in that zone but alias them to Names rather than IP’s will that still function? It looks like sendmail says this:

    Apr 7 11:53:02 XServeHost postfix/smtp[26845]: E9E1310BDE5: to=<[email protected]>, relay=none, delay=0, status=bounced (mail for xserve.mycompany.com loops back to myself)

    I ask this question because a PHP script on my site uses sendmail to send to addresses like [email protected]. In DNS I can alias mail.mycompany.com to mail.bigemail.com. That’s ok. But since mail.bigemail.com is yet another MX lookup it looks like it’s still asking my own DNS where the load balancer is, and of course there’s no IP for it because each request varies.

    I’ve tried editing the dns .zone files myself, but if I use those DNS entries identical to 10.3 Server, it throws an error "Ignoring out-of-zone data which shows up on the Library/Logs/named.log. That’s using a line like this in DNS:

    mycompany.com. //this is the first line in the mycompany.com.zone file
    mycompany.com. IN MX 10 mx11.bigemail.com. //the mx record

    So what do you think? Creating a mail (MX) record and CNAME s that point to an outside domain of hosts that do not have fixed IP’s?

    [email protected]

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Comments are closed