one more nsupdate question..

Chris Buxton cbuxton at
Sun Dec 9 19:30:17 UTC 2007

As far as I know, you would have to wrap nsupdate in a script that  
sends the necessary queries to diagnose any problems, and then return  
a meaningful error message.

Chris Buxton
Professional Services
Men & Mice
Address: Noatun 17, IS-105, Reykjavik, Iceland
Phone:   +354 412 1500
Email:   cbuxton at

Men & Mice
We bring control and flexibility to network management

This e-mail and its attachments may contain confidential and  
privileged information only intended for the person or entity to which  
it is addressed. If the reader of this message is not the intended  
recipient, you are hereby notified that any retention, dissemination,  
distribution or copy of this e-mail is strictly prohibited. If you  
have received this e-mail in error, please notify us immediately by  
reply e-mail and immediately delete this message and all its attachment.

On Dec 9, 2007, at 4:45 AM, Jack Tavares wrote:

> Using bind9.4.2, if I attempt to add a MX record using nsupdate
> and there is no A record that matches I get a operation refused  
> message.
> [I understand why it fails]
> What I would like to be able to do is to give a better error message
> back to my user.
> Is there anyway to get a better error message out of nsupdate?
> for example:
>> update add 500 in MX 123
> update failed: REFUSED
> Thanks
> --
> Jack Tavares

More information about the bind-users mailing list