Problems removing a domain

Paul van der Vlis paul at vandervlis.nl
Tue Mar 5 00:01:42 UTC 2019


Op 05-03-19 om 00:56 schreef Jie Gao:
> # man rndc
> ...
> delzone [-clean] zone [class [view]]
>            Delete a zone while the server is running. Only zones that were originally added via rndc addzone can be deleted in this manner.
> 
> ...
> 
> 
> Was this zone added via "rndc addzone" originally?

Not sure. It was a domain used for testing purposes.

Before it was in /etc/bind/named.conf.local, but I removed it from there.

With regards,
Paul van der Vlis




> Regards,
> 
> 
> Jie
> 
> * Paul van der Vlis <paul at vandervlis.nl> wrote:
> 
>> Date: Tue, 5 Mar 2019 00:47:55 +0100
>> From: Paul van der Vlis <paul at vandervlis.nl>
>> To: bind-users at isc.org
>> Subject: Problems removing a domain
>> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
>>  Thunderbird/60.5.1
>>
>> Hello,
>>
>> I have problems removing a domain from an authoritative nameserver:
>> -----------
>> root at ns1:/var/cache/bind# rndc delzone extensus.nl
>> rndc: 'delzone' failed: not found
>> no matching zone 'extensus.nl' in any view
>> root at ns1:/var/cache/bind# host extensus.nl localhost
>> Using domain server:
>> Name: localhost
>> Address: ::1#53
>> Aliases:
>>
>> extensus.nl has address 91.198.178.59
>> extensus.nl has IPv6 address 2a01:1b0:7999:424::59
>> extensus.nl mail is handled by 20 mail2.vandervlis.nl.
>> extensus.nl mail is handled by 10 mail.vandervlis.nl.
>> root at ns1:/var/cache/bind# rgrep extensus.nl /etc/bind
>> root at ns1:/var/cache/bind# rgrep extensus.nl /var/cache/bind
>> Binary file /var/cache/bind/_default.nzd matches
>> ------------
>>
>> I've also tried to add and remove it again, but I don't get it away.
>>
>> Somebody an idea?
>>
>> With regards,
>> Paul van der Vlis
>>
>>
>> -- 
>> Paul van der Vlis Linux systeembeheer Groningen
>> https://protect-au.mimecast.com/s/SUlGC81Zj6tmP2gvFnMl7U?domain=vandervlis.nl
>>
>> _______________________________________________
>> Please visit https://protect-au.mimecast.com/s/FkoyC91ZkQtJNlj3UEUDhF?domain=lists.isc.org to unsubscribe from this list
>>
>> bind-users mailing list
>> bind-users at lists.isc.org
>> https://protect-au.mimecast.com/s/FkoyC91ZkQtJNlj3UEUDhF?domain=lists.isc.org
>>



-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/


More information about the bind-users mailing list