Can't delete primary zone in DNS after moving the server

Woe is me!
Our MacMini was hosted at a Colo site and working fine. No firewall in front of the machine, so we turned on the server firewall and only allowed mail, web, ftp, and a couple of other services. This worked great using our external public DNS wired to our domain names and public fixed IP address. Later, we got VPN up a running (the trick was to create a second, local IP address for the ethernet port), but this also required us to turn on the server's DNS to create a split-brained DNS server.
Everything was working swimmingly... and then we had a hard drive crash. Since we were thinking about moving the server onsite anyway (our POS system was accessed through the VPN, but it could be slow and made our tasting room dependent on Internet access in order to run the POS), we ordered Comcast business class internet with a fixed IP address.
We updated the external public DNS to the new public fixed ip. Rather than plug the mini directly to the Comcast router (which is in pass-through mode), we elected to put a AirPort Extreme in front of it, mainly so we could get all of the POS computers on the same local network without using the mini as a DHCP/NAT router. We created a DHCP reservation on the Extreme so that the mini had a fixed local IP address. We port forwarded everything we wanted to expose to the Internet. Email started to work again. However, web services and VPN are nada.
This being Snow Leopard Server and having spent literally hours debugging DNS issues when we first got the server, I knew it wouldn't be straightforward. And it hasn't been. Even changing the IP address of the server has been a chore.
We ran "sudo changeip <old IP address> <new IP address>".
Then we ran "sudo changeip -checkhostname" and received:
"$ sudo changeip -checkhostname
Primary address     = 10.0.8.2 <new static internal IP address>
Current HostName    = <servername>.<domainname>.com
The DNS hostname is not available, please repair DNS and re-run this tool.
dirserv:success = "success""
Oh no, the black pit of death.
Even though I tried to modify the machine record in the local DNS to reflect the new internal static IP address, Nada.
So, looking back on my previous research from Mr Hoffman and others, I stopped the DNS service, and I deleted the primary zone and reverse lookups in order to rebuild them from scratch. Except that no matter what I do, I can't delete the primary zone - it comes back like Dracula (even though the reverse zone and all of the zone records are gone). I tried rebuilding everything using the undeletable zone, but after a few services (saved each one separately), they would suddenly disappear.
I am leery of messing with the DNS files on the server as I don't want to hose up Server Admin (my command line skills are rudimentary and slow). I have so much installed on the machine now that I am concerned about someone saying "reinstall".
Help!
Related to this is that it is not clear to me in web services which IP address you should use for the sites. The internal IP? The public IP? I thought Apache cared about the external IP address. And I think Apache is hosed at the moment due to my DNS troubles anyway.
Thanks in advance!

Morris Zwick wrote:
And does anyone know which IP you enter for your sites in the web service? The public static IP or the internal private static IP?
For the external DNS server I am sure you have already deduced that it should be the static IP issued you by Comcast and this will be forwarded by your router to your server.
For your internal DNS server you could use either the internal LAN IP, or the external IP although the later might be affected by your firewall so this you will need to test.
For the Web Server service in Server admin, if your only running a single website you could avoid the issue by just using the wildcard entry which will respond to any IP address, so this would be an empty host name and an IP address of *
In fact you don't have to specify an IP address you could just use the hostname, so it will listen to traffic arriving at your server addressed to any IP address and as long as the URL that was requested includes the hostname you define for the site it will get responded to. So if as an example you have two websites you want to serve
www.example.com
site2.example.com
then as long as both have the IP address for the site as an * (asterisk) then both should work as separate sites for traffic addressed to either the LAN or WAN IP address of the server.
You will still need to use two IP addresses on the server to enable VPN, you could use a USB Ethernet adapter for the second one. Port forwarding for VPN is not as simple as other traffic as VPN requires traffic different to the standard IP and UDP packets. Routers that support 'VPN Passthrough' are specifically designed to accomodate this but I don't know if the AirPort Extreme does this. I have also found PPTP copes better with this sort of setup than L2TP although PPTP is generally regarded as less secure.

Similar Messages

  • Can't delete a file or folde after using admin. password.

    Can't delete a file or folder after using admin. password.

    Solving Trash Problems...
    http://thexlab.com/faqs/trash.html

  • HT201302 how can i delete photos from my iphone after uploading in Iphoto even if i say not to keep on phone

    how can i delete photos from my iphone after uploading in Iphoto even if i say not to keep on phone

    Hello paolo@spring,
    Just as photos that were taken more than 30 days ago remain on your MacBook Air, so will photos that are deleted from your iPhone.
    Photos in My Photo Stream are saved on the iCloud server for 30 days.
    Because your Mac and PC have more storage than your iOS devices, you can choose to download all of your My Photo Stream photos automatically.
    In iPhoto or Aperture preferences on your Mac, select Photos (or Photo Stream) > My Photo Stream > Automatic Import. All of your photo stream photos will import into your Events, Projects, Photos, Faces, and Places folders in iPhoto or Aperture.
    iCloud: My Photo Stream FAQ
    http://support.apple.com/kb/HT4486
    Cheers,
    Allen

  • I was downloading the walking dead app on my iphone and after it was done it started saying waiting. I can't delete it but if I go into the App Store I can open it through there. Can someone please tell me how to delete it.

    I was downloading the walking dead app on my iphone and after it was done it started saying waiting. I can't delete it but if I go into the App Store I can open it through there. Can someone please tell me how to delete it.

    I have the exact issue with Vivino on Iphone4S. Did u figure out a fix?

  • How can i delete photos from iphone 4s after transferring from pc?

    How can I delete photos from iphone 4s after transferring from pc?

    acapetown is the one who really solved this for me: his suggestion to create an empty folder and sync to that was THE ONLY solution that actually worked for my iphone 4s. Everything else about uncheckign "sync" and unchecking events DID NOT WORK. I think there is more than one glitch in this system because I noticed a lot of other people struggling with the question. Now my phone is light as a feather again and I can actually benefit from backup to the Cloud. Thanks acapetown!

  • I have "ghost" events on my printed calendars repeating daily after the original event. How can I delete these as they only appear on the printed calendars and not on the on screen version?

    I have "ghost" events on my printed calendars repeating daily after the original event. How can I delete these as they only appear on the printed calendars and not on the on screen version?

    I had a similar situation.  My credit card bill shows a charge on Sept 8 and Sept 9, both for $55.99.  I called Apple but they said that I was the victim of identity theft so I cancelled my credit card.  They have not refunded my money.

  • Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"

    Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"
    What are the correct mail account settings and more importantly the correct DNS settings
    Thank you for any help you may be able to provide
    Cheers
    Chris (iMac i7)

    Do not delete the old account yet. sign up for an iCloud account if you haven't.
    I understand .mac mail will still come through. Do not delete the old account yet.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
              •          Server name: imap.mail.me.com
              •          SSL Required: Yes
              •          Port: 993
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    SMTP (outgoing mail server) information:
              •          Server name: smtp.mail.me.com
              •          SSL Required: Yes
              •          Port: 587
              •          SMTP Authentication Required: Yes
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • I bought a used iPhone and found him email iCloud does not affect me so how can I deleted this email in order to use the device freely and privacy

    I bought a used iPhone and found him email iCloud does not affect me so how can I deleted this email in order to use the device freely and privacy
    help me please

    You can't. Return the phone for a refund, if you can, because without the previous owner's Apple ID/Password, you will not be able to re-activate the phone. It will be useless to you.
    Apple can't/won't help you with this.

  • How can I get my safari to open after installing the new Mavericks operating system?

    How can I get my safari to open after installing the new Mavericks operating system?

    Thanks Carolyn. Unfortunately, this didn't work. It turned out to be in my display monitor as I have my computer wired to my tv for streaming. Once I changed the monitor display it worked fine. Go figure

  • I can't enter any values in JTextField after loading the flash files.

    Hi to all,
    In my application I have two panels. One panel has JTextField and another panel i loaded flash files.
    The flash files are build by CS4. I'm using JDIC to load the flash files. While open the application i loaded flash file and I try to enter any input in the textfiled, but I can't. After minimize and maximize the application I can enter the values. This problem happens only after I change the jre version from 1.6 to 1.7.
    While loading flash files I'm getting the below exception.
    org.jdesktop.jdic.init.JdicInitException: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
         at org.jdesktop.jdic.init.JdicManager.initBrowserNative(Unknown Source)
         at org.jdesktop.jdic.browser.WebBrowser.<clinit>(Unknown Source)
    pls give me a solution.
    Thanks in advance...:)

    I can't enter any values in JTextField after loading the flash files., locking.

  • I don't know why I can't open Photoshop in my computer after downloading the file?

    I don't know why I can't open Photoshop in my computer after downloading the file?

    Did Firefox create a new profile?
    *http://kb.mozillazine.org/Recovering_a_missing_profile
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • I have downloaded the iOS6 software on my iPhone4 and now I can't delete/move or create new mail. The bar at the bottom has disappeared. Does anyone have any solutions

    I have downloaded the iOS6 software on my iPhone4 and now I can't delete/move or create new mail. The bar at the bottom has disappeared. Does anyone have any solutions?

    Hold Power and Home buttons until iPhone restarts. Ignore "Slide to Power off".

  • How can i delete all songs on my ipad at the same time?

    How can I delete all songs on my ipad at the same time without affecting my library on itunes?

    Use IMAP Mail e.g. Gmail

  • I can't delete apps on my Ipod neither on the laptop. I restart the Ipod but it doesn't work. Do you have the solution ?

    I can't delete apps on my Ipod neither from the laptop.
    I try to restart the Ipod but impossible too.
    Thanks for your help.

    Check: Settings - General - Restrictions - Deleting Apps = ???

  • HT201317 I can't find My Photo Stream album after getting the iOS 8 upgrade. Where did all my pictures go??

    I can't find My Photo Stream album after getting the iOS 8 upgrade. Where did all my pictures go??

    That album, My Photo Stream, is no longer used.
    Instead, look in "Recently Added" within Albums, and also within Photos in the various timescale views. Both places should contain photos taken by any of your devices.

Maybe you are looking for

  • E72 - Time for a new firmware to polish the GPS

    031 has been out for a long time. The E72 is by far the most stable Nokia I have owned (the first firmware was actually functional which is a rarity) but it is now time for it to get polished a bit better. There are many, many pending corrections but

  • How To Add CommandTable at Runtime

    Hi there , I am using Crystal Reports 12 with Visual Studio.NET 2008 and SQL Server 2005 as my Database engine , I have used the RCAPI ( Report Creation API for .NET SDK ) which can be used to create reports at runtime but i have failed to complete m

  • Font Appearance:

    Can you select a font, then (somehow) cause a qwerty keyboard to appear on your screen with the actual font character shown on each of the keys?  This used to be possible with an OS many, many, versions ago.  Then, by pressing the shift key you could

  • Help!! I need information about Siemens' PIM API

    Hi everybody, I am looking for any information about Siemens API to allow PIM access from a midlet. I did not manage to find specifications about that API on the web... Are specifications free ? Is there an environment to develop J2ME applications us

  • Maintain session in JSP frame

    Hi, I am having trouble in maintaining session in jsp frames. - Here is sample code parent.jsp <HTML> <HEAD> <LINK rel=stylesheet type="text/css" href="defaults.css"> <TITLE>abc</TITLE> <%           String checkAmount = "100.00";      session.setAttr