Can't remove dns zone

I messed up my dns zone while while adding a zone. I am trying to remove everything and start over, but SA will not let me. I have a primary and reverse zone that keeps coming back after I remove it. I have looked in /var/named/zone, but there is nothing there.
If I add another zone, it appears in /var/named/zone, and I can remove it with SA. What should I try next?

Hi
This afp548 article explains the Leopard DNS Service including where relevant files are located. You might find it useful. You could restart the Server in safe mode (shift key depressed) and try deleting the zones that way. A normal restart thereafter should get you going again. You may actually be looking at a rebuild/reinstall but only you would know or decide that.
This recent post describes how to set up the DNS Service in Leopard simply:
http://discussions.apple.com/thread.jspa?threadID=1251475&tstart=0
Stick with it because its not that obvious to begin with. Its about the 7th post down. One thing that could be added is at the setup assistant stage and when you are prompted to configure the Network Settings is to switch off IPv6.
Hope this helps, Tony

Similar Messages

  • Can't create DNS zones in Server Admin

    Hi All,
    So, I've run into this strange problem where when configuring the zone files for the DNS server in Server Admin that clicking on the + button doesn't do anything. I've re-installed Tiger Server including reformating the disk and still nothing.
    Can anyone tell me where the zone file is kept. It might be better just to make my own unless anyone can tell me why the + button isn't working.
    Thanks much!

    Definitely better to make your own, if you know how (lots of good google-able docs on this). Using Server Admin for DNS zone files is dicey at best.
    BIND config file is located at '/etc/named.conf'
    Zone files live in '/var/named/.' Primary zone files are named 'myDomain.com.zone' and secondary files are named 'myDomain.com.bak'
    Feel free to email me if you need some default files.
    Can anyone tell me where the zone file is kept. It
    might be better just to make my own unless anyone can
    tell me why the + button isn't working.
    iBook G4   Mac OS X (10.4.3)  

  • DNS - can't remove "0.0.10.in-addr.arpa" reverse domain!

    I'm having some trouble with DNS behind our firewall. In this case we have an internal block of IP's. We're using the public 10.0.1.xxx subnet. Using OS X Server's DNS service to attempt to add a virtual host to our to our previously working network has created some trouble. First of it always adds the Reverse Zone 0.0.10.in-addr.arpa. to our Zones list. The working one is 1.0.10.in-addr.arpa. so why does it insist on adding this other one? I delete it and save. But it reappears immediately...
    It even shows in the log:
    +03-Sep-2009 08:50:12.083 zone 0.0.10.in-addr.arpa/IN/com.apple.ServerAdmin.DNS.public: loading from master file db.0.0.10.in-addr.arpa. failed: file not found+
    Server is running Leopard (10.5.8)

    Hi,
    When you set up your Kerberos realm on the original 10.0.x.x DNS zone with its accompanying x.0.10.in-addr.arpa then you established a required service. If you still had OD master with Kerberos running when you deleted the 10.0.x.x zone then Kerberos failed and kept trying to use the reverse pointer x.0.10.in-addr.arpa.
    You will probably have to take the OD back to standalone after setting up the new zone with the new address and its reverse pointer. Give the new zone a different host name which results in a new realm. Then repromote OD and have Kerberos established with the new realm and DNS setup.
    At this point it seems Kerberos is borked and you don't have much choice about going to standalone and repromoting to get it back.
    HTH,
    Harry

  • Hosting Multiple DNS Zones on different servers How To?

    Hello, I have an issue that I would like one of the experts to help out with.
    I am currently facing an issue with DNS. I currently need to be able to ping certain machines on my internal domain by their external IP address.
    Example: machineA.domain.local has IP address 192.168.1.10 but from the inside of my network I would need to be able to ping machineA.domain.local and have it resolve to my EXTERNAL IP ADDRESS.
    Now as far as I know using a split DNS would solve this issue. Herein lies my issue.
    My DNS works half the time. Sometimes I will ping machineA.domain.local and it will resolve the internal address and sometimes it would resolve the public IP address (which I set manually in my split DNS)
    Now, my reasoning for this is because there are multiple entries with the same machine name on the same domain controller that resolve to different IP addresses. So when I ping machineA.domain.local the reply will be a "confused" reply.
    Here is what I tried to do to correct the issue. I created another Windows Server 2008 R2 machine with only the DNS role installed. I then removed the split DNS from my domain controller and added the zone "zone.domain.com" with the A record "machineA.domain.com"
    I did not join the domain with the new machine as I did not believe it to be necessary.
    The machines on the inside still cannot ping "machineA.domain.com", nor can my new server successfully ping "machineA.domain.local". It can resolve "machineA.domain.com" but I am fairly certain this is because I added it in
    the DNS zone.
    I tried to go a little further and tried to connect to the domain controller DNS via the MMC snap in on my new server. I get an error telling me that the access is denied.
    In order to attempt to fix that I added the computer in the properties of the DNS in the security tab. I also added the newly created server to the DNS admins group.
    Nothing works I am not sure what I am doing incorrect but I would need to know how I can do the following
    A) Successfully (if possible) have 2 different zones on the same domain
    example: internal.domain.local and external.domain.com
    I would need to know how to be able to successfully ping the machines I need to ping that resolves to  the external IP address from the inside without having the internal A record in the DNS zone interfere.
    I would also need to know how I could connect to the domain controllers DNS via another computer (the new server) without having the access is denied error.
    Once again, I tried to use a split DNS on the same server which yielded mixed results. I cannot have the machines replying randomly or go down because 2 DNS zones are on the same machine.
    Thank you hope to get an answer ASAP!

    Anyone have any ideas on this?

  • DNS Zone for Mail

    Following on from my first question which the nice Mr Camelot answered for me
    I have a server which has a DNS zone of companyname.net.
    Internal mail has been setup using Mail Exchanger set to mail.companyname.net.
    I have checked changeip -checkhostname and there are no issues.
    The public DNS records have been set to make mail.companyname.com the MX record, and an A record for mail.companyname.com has been setup pointing to the static IP.
    As I see it I have two options I can move forward with (3 actually if I wipe the server and start again )
    1. Try and rename the DNS zone to companyname.com and then reset the mail settings to match.
    2. Setup a CNAME on the server internal DNS to point mail.companyname.com to mail.companyname.net and leave the mail settings as they are.
    I am in the process of installing SL Server on a VM to test the first option to see if it is viable, but my question is are there any options I have missed, and what would you suggest I do in this circumstance?
    TIA.

    So you have a zone for a host mail.example.net within your network, and valid external DNS services with an A record and MX at mail.example.com within your external DNS services, and you're wondering about rebuilding this all?
    It'd be far easier to just enable mail.companyname.com as a virtual host within the mail server configuration.
    Personally, I'd look to remove the use of the internal example.net MX for the mail server, and use the external path.  You can set up the MX for the internal network to resolve to mail.example.com, for instance.  With that (and with a firewall that knows how to reflect" outbound traffic for the WAN IP address, or - somewhat uglier - adding a DNS A record for the mail.example.com within your internal zone), the configuration is the same for all hosts, whether internal desktops or mobile devices.
    Note that the companyname.com and companyname.net domains are real and registered domains.   The domains example.com, example.net and example.org are RFC-reserved for documentation and for these sorts of postings.

  • Question about DNS zones

    Here's my problem..
    I have an internal webserver that has an external address. Clients on my internal network (the same as the webserver) can't access the internal server using its external address. I got around this in a Windows enviornment (there are multiple buildings with different environments) by creating a primary DNS zone with the external address of the server, and an A Host pointing to the internal address.
    I'm having some trouble getting this setup on Lion server, and rather than breaking DNS again, I figured I'd ask around first. Like I said, I tried adding a new zone, and did something that broke DNS. I had to manually edit the configuration file to remove the new zone. The FQDN is different from the name of the Mac server.
    Basically the Mac server is school.com, and I need school.google.com to point internally. These obviously aren't the real addresses, but it illustrates what I need to accomplish.
    Does this make sense? Is it possible with Lion Server?
    Thanks

    If you want to access the webserver internally as school.google.com you cannot and should not try to create a google.com zone. If your website has your own private domain e.g. www.myschool.edu then as you (presumably) own and control that domain then you can run what is typicially called a 'split-horizon' DNS setup.
    You could have a second domain name just for the website which still needs to be owned by you, this would let you use say domain.local as the main internal Active Directory domain and a second dmoain like myschool.edu for the website.
    With a spit-horizon setup you need two DNS servers, one would be used just internally, the other would be used just externally. So anyone outside your network i.e. on the Internet would use the external DNS server (often your ISP), and anyone on your LAN uses the internal one. The internal one would map www.myschool.com to your internal LAN IP address of your webserver, the external DNS server would map the same www.myschool.edu to your internet routers address. Your router would then have to setup a NAT port mapping rule to forward the HTTP traffic to your internal webservers IP address. You can still have multiple websites hosted internally and be accessible externally but all of them must run on a single internal webserver as the NAT port mapping can only map to a single IP address per protocol (port number).

  • DNS - Zone NS / delegation in 10.6?

    Is it possible to create a new name server (NS) record (New Delegation in Microsoft Windows DNS Management utility) in a already made DNS zone under Snow Leopard?
    thanks

    I'm assuming you mean an NS record for a subdomain (creating them for the zone itself is easy in Server Admin -> DNS service -> Zones -> select the zone -> General -> Nameservers). The GUI admin tools don't have a way to delegate subdomains, but you should be able to do it by editing the zone files directly. There are actually two files for each zone, /var/named/db.zonename. (note the period at the end) and /var/named/zones/db.zonename.zone.apple; the second is maintained by the GUI tools, and is not save to edit, but you can add whatever you want to the first one. Just add an NS record to the end of it; it should look something like this:
    ;THE FOLLOWING INCLUDE WAS ADDED BY SERVER ADMIN. PLEASE DO NOT REMOVE.
    $INCLUDE /var/named/zones/db.zonename.zone.apple
    subdomain.zonename. IN NS delegatedserver.example.net.
    Be sure to include the trailing periods on both the subzone and delegated server portion. Then stop & restart the DNS service to get it to reload the zone, and test to make sure it's actually serving the info properly (it's very picky about its file syntax, and if anything's wrong it tends to skip the zone, or even not start at all).

  • How to setup multiple DNS zones in a single domain

    We have a small charter school running a Mac Open Directory network on a single subnet with a single registered FQDN for its internal domain. We are about to open a second school within a wing of the same building which will also be on a Mac Open Directory domain, but since it is legally a separate school (just administered by the same staff) it needs to be on it's own subnet and have its own LDAP directory.
    Is there a way to program DNS between the two schools so that DNS traffic can be routed between them without breaking the DNS and Open Directory/Kerberos realms of either? Both schools will share the same internal domain name. Is it as simple as creating two primary DNS zones on each other's nameservers, both using the same domain name but each having its own designated nameserver for that particular subnet?
    For instance, the existing school is running DNS on server1.example.com within the 10.39.54.0/23 subnet. The second school will be running DNS on server2.example.com within the 10.39.56.0/23 subnet. Would I then simply create two primary zones within each subnet, one referring to its own with itself as the nameserver and one within the neighbor subnet referencing that subnet's server as the designated nameserver.
    Or would I do this with each schools DNS servers searching through its own subnet as its primary zone with the neighbor zone being added as a secondary zone?
    Thanks!

    You have two options.
    Use a DNS server with a single internal domain example.com and have (as you said) server1.example.com
    If the two subnets are on separate networks either via a router or VLAN, then you could run a separate DHCP server on each and advertise the appropriate DNS server for that subnet.
    Otherwise you could have a single DNS server and either single DHCP advertising that single DNS server and have both server1 and server2 in the single DNS zone, or a DHCP server in each subnet but still pointing to the same single DNS server.
    Each of these two servers would be an Open Directory Master
    Note: in DNS terminology a DNS 'zone' is the same thing as a Domain Name.
    The second option which if you want to keep the two 'schools' completely separate is to do the following
    Use a DNS server per subnet
    Use a DHCP server per subnet
    Use a different domain name per school e.g. school1.com and school2.com
    Create a server record on each as appropriate e.g. server1.school1.com and server2.school2.com
    You cannot have a single DNS server have two identical zones e.g. example.com and example.com as they are of course the same thing.
    If the two schools will merge officially at some point it might be better to use the same domain name, if they are going to fully split then definiately it is going to be better to use two different domain names.

  • How can i remove comments from the "tell your frie...

    How can I remove comments from the "tell your friends how you're doing" section?

    Please do a Skype reset.
    Exit Skype : From the system tray >> right click on the skype icon and click "Quit"
    Press WinKey+R
    Type: %appdata% and press Enter.
    Rename the folder "Skype" to "Old_Skype"
    Run Skype.
    You will need your password to re-log on, and re-set any options from default
    Regards,
    Tamim
    Location - Dhaka | Bangladesh - Standard Time Zone: GMT/UTC + 06:00 hour
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Unix command in ARD to remove DNS Servers from Network prefs?

    I need to know how to send a unix command to remove DNS Servers in Network preferences. I need the DNS Servers field to be blank. Can this be done?

    Our network administrator is getting ready to change the IP address of our DNS server. This means I have over 30 Macs that will be needing changes to their DNS settings. Since each machine is setup with limited access to the system prefs, that means I have to go to each machine and log in as the admin user to make this change. In the interest of saving time, is this something I can do with Remote Desktop and how? Would I use the same commands in this post and replace dns1 with our DNS' new IP address? Will this distrupt the users access to the network when I do so?
    Thanks for any help.
    Beth

  • How can I remove the pictures in photo stream? I have already turn off my photostream at the settings but when i turn it on again, the pictures still come out?

    How can I remove the pictures in photo stream? I have already turn off my photostream at the settings but when i turn it on again, the pictures still come out?

    Ok you can reset the stream from www.icloud.com
    Goto www.icloud.com
    Login with your iCould username and password.
    and login
    Then click on your name in the top right hand side of the screen next to sign out,
    it opens a window Account details with Language, Time Zone, Advanced
    Select Advanced - Then click Reset Photo Stream. and confirm, the stream will be reset and totally deleted
    I still think you should be able to remove individual pictures though, a blured image etc is a problem

  • DNS record is not dynamically created in DNS Zone, when joining to DNS domain

    hi
    in my test lab i have deployed two virtual machines (both are windows server 2008 R2 enterprise).
    on vm1 i have installed just DNS role (without Active directory) and created a primary non-ADintegrated zone.
    on this DNS zone, i have enabled dynamic update set to
    non-secure & secure .
    now in my vm2 (as a DNS client) , i set the ip address of this DNS server as preferred DNS server and then in system properties, on the primary DNS suffix field, i entered the name of my DNS domain (mydomain.lab)& rebooted VM2, but the a record of this
    client (vm2) is not registered (created ) in mydomain.lab zone.
    i respect the record be created like the situations which we join a client to AD domain 

    Hi  John ,
    When registering DNS record ,client will send a SOA query to find the primary server of the zone .Then send register message to the server .
    We can use nslookup to find the problem :
    Open Command Prompt
    type nslookup
    type set type=soa
    type zone name
        1. If there is positive response ,check the name of
    primary name server and the IP address of the server .
    Its name should be vm1.mydomain.lab .If not ,edit the SOA record in the zone .
    If no IP address ,edit NS record in the zone .
        2. If there is no response ,check the SOA record in the zone .
    We can manually delete and recreate the records to ensure there are right SOA and NS records .
    Here is the guide for using nslookup :
    Nslookup :
    https://technet.microsoft.com/en-us/library/cc940085.aspx
    Best Regards,
    Leo
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Hi Leo, thanks for reply.
    i did all steps you mentioned but still no result.
    i put an screenshot of my desktop here , everything is shown here:

  • External DNS zone on Internal DNS servers

    We currently have a 2 domain forest with DNS running on all domain controllers. All domain controllers are 2012 or 2012 R2 and our Domain and forest functional level is set at 2008 R2 due to the existence of an exchange 2003 server which wont be retired
    for several months. We have 2 DNS servers in the root domain and 4 DNS servers in the child domain. This is a centralized DNS setup. Our parent domain is DOMAIN.LOCAL and the child domain is XX.DOMAIN.LOCAL. Externally, our DNS is MYDOMAIN.com. we
    do not have a public facing DNS server and our DNS records are hosted by a 3rd party
    We want to add the MYDOMAIN.COM DNS zone internally (AD Integrated) since we have several instances where applications do not really work well with the XX.DOMAIN.LOCAL DNS. We want this zone to host several DNS records for internal resolution
    only since we do not have any public facing applications or web servers such as SharePoint etc.
    My question(s) is this?
    How is the best way to do this and how will it affect the zones we currently have in place.
    Is it as simple as creating a new forward lookup zone, adding static records?
    How do we (or do we) handle delegation?
    Any information or suggestions to get me started would be greatly appreciated.
    Russ

    Hi,
    I’m not quite understand your question, do you want to create a new primary DNS zone on your current DNS server? If so, you
    just need to create a new primary, you can create the additional primary DNS zone.
    The related KB:
    Configuring a new primary server
    http://technet.microsoft.com/en-us/library/cc776365(v=ws.10).aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Remove DNS entries and reset from the Terminal

    I have a DNS service running on my Mac Server and it seems to be screwed up, because I can not remove any entries.
    Initially, it let's me remove them...but when I click save...they all appear again!
    What I want to do is to remove all entries manually and do anything else that will reset all of the DNS settings and let me start from scratch.
    Can anyone help me?

    I'm having a weird problem with my dns as well. I've done some research and have not been able to test it yet because the server is located at a clients business.
    However, as far as I can tell, os x server keeps it's config files for the network here...
    /Library/Preferences/SystemConfiguration/
    DNS is located here...
    /var/named
    and here...
    /etc/dns
    The name of the DNS server in the terminal is named. You can type man named in the terminal to learn how to stop and start it and other things about it.
    Before tinkering with any of the files, I would recommend making a backup of them first. Hope this helps!

  • Another DNS Zone Question! :)

    I have several geographic sites all with their own leopard servers (ten or so). Each are open directory masters managing public ip subnets. We do have an external dns server and all of our servers have registered names that are part of the same domain....
    My question is this... when setting up dns on each server, do I need to create zones, or can I just make the dns forward to our external name server. I am worried that having more that one ns authoritative for the same domain will cause problems with our isp dns server? I have one server running just fine without zones... just forwarders ... and all is running smoothly, ical, wiki's, mcx, mobile accounts, etc...
    Looking forward to finding out whether having zones at other locations and authoritative dns servers is a bad thing or not.
    Thanks.

    As long as the external DNS server has all of the info you need, there's no need to set up duplicate zones on your servers; as you note, it could even cause problems if the info got out of sync. In fact, you don't even need to act as a forwarder, you could just turn off DNS service and configure all your computers (servers & clients) to use your ISP's DNS servers.
    In your situation, I see two reasons you might want to run DNS service: in case your internet link goes down (losing access to DNS tends to make it hard to find servers, even if they're on the same LAN), or if the public DNS servers don't have the reverse DNS (IP number -> domain name) entries you need. If you're worried about the first, you could set your servers as secondaries (aka slaves) for the relevant zones, in which case they'll download the zone files from the master and automatically keep in sync. If the second is an issue, you're probably best off bugging your ISP -- since the reverse records are tied to your IP numbers, and those're "owned by" the ISP, they're generally in charge of the reverse DNS no matter who's hosting your forward DNS zones.

Maybe you are looking for

  • Keyword management - how do you move keywords up one level?

    How do you move keywords up one level in the hierarchy? Sometimes when working quickly, keywords and subgroups of keywords get inadvertently highlighted and moved as a child under another keyword or group. I can't figure out how to move them back out

  • There was a problem connecting to the server. This error message comes continuously when running final cut pro x

    I used to have a nas connected to my mac, i mounted it with AFP. Added some music to my movies from that location but all downloaded to my local mac. There is nothing on the nas that is required in my movie, still i get the message continously poppin

  • Consuming Web Services with Web Dynpro Java

    Hi All, I've been searching around for a weblog that would describe building a web dynpro java app that consumes a web service. Ideally, I'm looking for something that has at least two views. Does anyone know of good weblogs that address this? Thanks

  • Logic Time Compression/Expansion vs. WAVES SoundShifter

    I'm considering upgrading my WAVES Platinum to the Diamond, largely because of the SoundShifter plug-in. Does anybody have any experience with the WAVES SoundShifter plug-in? Is it significantly better than what is already included in Logic 8? Thanks

  • Edited photo and lost original

    Does anyone know how to reinstate an original photo once it has been edited? I was playing around - i didnt even want to edit it and it just started saving changes without me even telling it to! Now the photo is completely ruined. Any help would be m