1
--- maradns-1.2.07.5/tools/askmara.c 2006-01-21 21:22:01.000000000 -0800
2
+++ maradns-1.2.07.6/tools/askmara.c 2006-06-01 02:55:58.000000000 -0700
4
if(read_hdr(uindata,&header) == JS_ERROR)
5
harderror(L_INHEADER_CONV); /* Problem converting inheader */
7
+ /* If not 0, show them the rcode from the remote server */
8
+ switch(header.rcode) {
10
+ printf("# Remote server said: FORMAT ERROR\n");
13
+ printf("# Remote server said: SERVER FAILURE\n");
16
+ printf("# Remote server said: NAME ERROR\n");
19
+ printf("# Remote server said: NOT IMPLEMENTED\n");
22
+ printf("# Remote server said: REFUSED\n");
27
+ printf("# Non-RFC1035 RCODE %d sent from remote server\n",
31
/* Move past the questions */
33
for(counter = 0;counter < header.qdcount;counter++) {