Trying to fix DNS, but broke it. Now can't undo the change

I naively modified the primary zone in the DNS configuration. It looked like it was setup improperly as it was set to server.ourofficenet.org.ourofficenet.org. I took out the 2nd domain and saved the change.
Now of course no one can use the server, which was our primary DNS server. I can't even ping the IP successfully.
Can someone give me an idea how to fix this by command line, or some trick that will get me back up and running? I'm not very familiar with OS X Server (obviously).
Thanks in advance.

I naively modified the primary zone in the DNS configuration. It looked like it was setup improperly as it was set to server.ourofficenet.org.ourofficenet.org. I took out the 2nd domain and saved the change.
Sounds like you forgot the trailing .
When working with the domain 'ourofficenet.org' the DNS server will assume that any specified hostname should be prepended to the domain name.
So if you enter 'server.ourofficenet.org' as the hostname, this is prepended to the domain name and you end up with 'server.ourofficenet.org.ourofficenet.org'.
There are two ways to deal with this - one is to only enter the hostname portion - e.g. 'server'. This will be prepended to the domain name and end up with 'server.ourofficenet.org'. The other is to add a trailing . to the end of the hostname - e.g. 'server.ourofficenet.org.'
Adding the trailing . tells the DNS server you've specified the fully-qualified domain name and the domain name should not be appended.
So that's where you went wrong. As for how to fix it, you should be able to use Server Admin to connect to the server via IP address - clearly the name lookup isn't working which is why you can't connect via name.
If that doesn't work you can try to edit your zone file directly - it'll be in /var/named then restart named via sudo killall -HUP named (or rndc reload if that's configured).

Similar Messages

Maybe you are looking for

  • Fileds Open Po, Open PR in BW

    Hi Experts I want to build a report in which I need to show "Open PR and Open PO" but I could not locate these fields in the BW CUBE / ODS / DATASOURCES. Can anybody tell me where I can find these fields.......... Dinesh Sharma

  • HT1551 No sound only after down load of movie

    Hi all I have the latest Apple TV I am using a HDMI switch as my Sony has only one HDMI port all is fine even when you preview a movie but once downloaded and you start to play it there is no sound . It will work if plug directly into the Apple TV mo

  • Best Practice Moving to iPrint Appliance

    I'm working with a site that has some old NDPS printing on NetWare 6.5 and some OES based iPrinting. We are moving to the iPrint appliance. While you can migrate/import printers from the old system into the appliance, I haven't figured out the best w

  • [New package] Pywinery, a simple wine-prefix manager

    Hello world! I have just uploaded my first package , It's an application that I find very useful,especially when using different prefixes for different apps. PyWinery is a graphical and simple wine-prefix manager which allows you to launch apps and m

  • Resizing undecorated Stage on Mac OS X flickers

    Hello. I am developing a small application on Windows. Now i tried how it works on Mac OS X. I run into trouble when i was resizing my custom Window. It is flickering while resizing. On Windows following code works finde. Perhaps someone knows a work