one more nsupdate question..

Barry Margolin barmar at alum.mit.edu
Sun Dec 9 23:09:16 UTC 2007


In article <fjgo9h$j9b$1 at sf1.isc.org>,
 "Jack Tavares" <j.tavares at F5.com> 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 test.net. 500 in MX 123 madman.test.net.
> >
> update failed: REFUSED
> Thanks

Unfortunately, since nsupdate uses the DNS protocol, and the protocol 
has very limited error-reporting details, there's nothing nsupdate can 
do to improve on this.  The DNS protocol has about a half dozen error 
codes, and none of them are specific to this.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list