- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Delete host records for non-authoritative zone
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 10:41 AM
Hi,
I have a number of host records that are not enabled in DNS, but the names are part of a delegated zone. When I try to delete via CSV using Host records I get the error: Deletion failed due to Cannot add records to a zone that is not authoritative. If I use HostAddress records in the CSV and use "parent" for the fqdn I get this message: Cannot find host for blah.subdomain.example.com.
I'd prefer not to delete these manually as I have over 1000 entries to delete. Some records for the specific zone are there for keeping track of usage so I can't delete all records either. Any help is appreciated. Thanks.
Solved! Go to Solution.
Re: Delete host records for non-authoritative zone
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 11:07 AM
I'll add that I tried deleting a Host record that did include an authoritative zone and I get this error instead: Deletion failed due to The selected object could not be found. So effectively the issue is present when the Host record isn't enabled in DNS, but does have the same name as an fqdn.
Re: Delete host records for non-authoritative zone
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 04:07 PM
I'd still like to know if I can do this via CSV Imports, but for now I just used one of the Powershell WAPI implementations which worked no problem.
Re: Delete host records for non-authoritative zone
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2024 03:41 PM
hi Please can you share script to delete inactive DNS host record
no luck in GIT HUB via Python