I have found that there must be a CR after "send" command at the end of script 
file. Or the script file will not be executed.
The compile error still exists. After install ActivePerl, openssl. After 
execute buildsetup.bat, I open win32utils\BINDBuild.dsw in MSVC 7.1 and start 
to build it. But in building, it prompt some error, all of them are releted to 
a line in inclue/isc/event.h(line 81):

#define ISC_EVENT_COMMON(ltype) \
size_t ev_size; \
unsigned int ev_attributes; \
void * ev_tag; \
isc_eventtype_t ev_type; \
isc_taskaction_t ev_action; \
void * ev_arg; \
void * ev_sender; \
isc_eventdestructor_t ev_destroy; \
void * ev_destroy_arg; \
ISC_LINK(ltype) ev_link

the "size_t" is defined as "typedef _W64 unsigned int size_t", and can not pass 
compile. Anybody can help me?


----- 原始邮件 -----
发件人:Kevin Darcy 
[EMAIL PROTECTED]
主题:Re: [SPAM] ISC bind9 compile error
日期:2008-10-1 11:55:53

[EMAIL PROTECTED] wrote:
> [...]
>
> Another problem:
> I can use nsupdate command to change DNS record successfully. But when I use 
> it to open a script file, all reply message is NOERROR, but nslookup didn't 
> return the right IPs.
> Commands input by user interactively and in the script file are identical:
> Server 127.0.0.1
> zone mydomain.com
> update add test1.mydomain.com 100 IN A 192.168.0.1
> update del 192.168.0.2
> send
>   
Do you really have a name 192.168.0.2.mydomain.com? Because that's what 
you're trying to delete.

Also, "del" is not a valid synonym for "delete" in any version of 
nsupdate I'm running, although I suppose the command syntax might have 
been liberalized in a later version.
> Is there some difference between script file mode and interactive mode? 
>   
Shouldn't be.

I'd recommend turning on debug mode for nsupdate to see what it's really 
doing. On Unix, that's done via the "-d" command line switch. I don't 
know for sure what the Wintel equivalent would be, but you might try 
"/d", or check the documentation.

- Kevin

-------------------------------------------------------------------
新浪空间——与朋友开心分享网络新生活!(http://space.sina.com.cn/ )

Reply via email to