DNS Gremlins in SLS

Discussion in 'Mac OS X Server, Xserve, and Networking' started by corbywan, Oct 28, 2009.

  1. corbywan macrumors regular

    Joined:
    Feb 4, 2008
    Location:
    Forest Grove, OR
    #1
    This is a follow-up to the "take the plunge" posting.

    When I first installed I had a subdomain of office.myserver.com pointed to my static IP so I could get to a drive plugged into my Airport Extreme, as well as configure said AE. I thought, "Since it's already pointed there, I will just setup my new Mini Server with that domain." I did, and I could get to it, and everything was fine. I had the DNS server on the mini setup to reflect it internally as well as my dreamhost DNS setup to reflect it externally.

    But now I don't want to access it via office.mydomain.com so I used changeip to change the domain name to mydomain.com. (I realize that, from the outside, mydomain.com still points to my website, and that's fine. I'm focusing now on the internal side of things as will become evident in a moment.) I can check hostname and it comes back to the internal IP I have setup. So far as I can tell, office.mydomain.com is dead and gone as far as the Mini is concerned.

    Or is it...

    As I'm flipping all the switches and playing with the features I get to Podcast Producer. It starts, but it tells me that my Podcast Library URL and Podcast Capture Web URL both start with http://office.mydomain.com:<port>/blah/blah/blah

    Huh? Every test I can find, every utility I could google and run via the terminal tells me that the domain of this machine is mydomain.com. But Podcast Producer must be pulling office.mydomain.com from some config file somewhere.

    Any ideas? It's driving me nuts! If I click on these links I get a no such thing error. But if I delete out the "office." from the address, I get where I should be going. There is a gremlin lurking around. Anyone got a clue? I've looked in the httpd.conf, pcastserverd.plist, the files in /Library/Preferences as they relate to PodProducer. I'm thinking it's got to be some apache config somewhere leftover from the initial install. Here is from the logfile showing it's pulling the office subdomain.

    I noticed the Bonjour bit in there and thought it might be cached somewhere, so I changed the IP of the Mini, updated all the DNS everywhere internally, no joy.

    Help. Do I need to reinstall?
     
  2. corbywan thread starter macrumors regular

    Joined:
    Feb 4, 2008
    Location:
    Forest Grove, OR
    #2
    Oh yeah. Doing some looking in some of the config files for PodProd., I see that it pulls an HTTP_HOST variable while generating the mentioned links that are causing me grief. Where is that defined? Like I said, changeip -checkhostname gives me simply mydomain.com with no errors.
     
  3. extrachrispy macrumors regular

    extrachrispy

    Joined:
    Jul 29, 2009
    Location:
    Austin, Texas
    #3
    How are you setting up DNS? Are you telling your DHCP clients that your SL Server is your sole DNS server, and then having it forward to your upstream DNS for the big, bad world, or are you telling your DHCP clients that your SL server *and* your upstream DNS servers should end up in their /etc/resolv.conf?

    What I've seen happen is that mDNS does not necessarily consult DNS servers in strictly the order you specify. The fix is to ONLY tell your DHCP clients about your SL server, and then have it do forwarding to the outside. Split DNS works a charm when set up that way.

    Other than that, the only thing I can think of is that you have some stale setting somewhere in Podcast Producer (a product with which I'm not yet familiar).
     
  4. corbywan thread starter macrumors regular

    Joined:
    Feb 4, 2008
    Location:
    Forest Grove, OR
    #4
    At this point in the process I'm functioning just on the server. I could have it totally cut off from the world and I would still be seeing this behavior. In fact, it is in Server Admin that I'm seeing these settings. It's a stale setting somewhere, I'm certain, some cootie left over from the original install.

    But, It's kind of academic now since I just wiped the server and am starting over. Still, someone else may experience this. Or, if someone wants to change their domain name on their existing server, it could happen then. Ii guess the key would be to know where Podcast Producer pulls the info for those URLs from.
     

Share This Page