'nsupdate' to delete non-existent hostname

Mark Andrews Mark_Andrews at isc.org
Wed Jul 27 05:47:33 UTC 2005


> Hello,
> 
> I ran into problem with using 'nsupdate'. Suppose I want to delete
> host.mydomain.com and the record
> 
> host  IN  A 192.168.1.1
> 
> do exist in my zone file.
> 
> Then I run:
> #nsupdate
> >update delete host.mydomain.com
> >;
> 
> everything is fine, record is deleted from zone.
> 
> But, if I do the same action regarding host1.mydomain.com (and this
> name is not regostered in zone file), 'nsupdate' doesn't return any
> fault or appropriate exit code.

	I suggest that you read RFC 2136.  In particular the prerequisites
	section if you want named/nsupdate to return a error.

> Is it normal behavior? I checked it with BIND8 and BIND9.

--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list