queued named-xfers??

Steve Foster fosters at uk.psi.com
Tue Apr 23 16:28:47 UTC 2002


At 15:57 23/04/02 GMT, Barry Margolin wrote:
>In article <aa3sga$s91 at pub3.rc.vix.com>,
>Steve Foster  <fosters at uk.psi.com> wrote:
>>yeah i thought that, but it wasn't , so i changed the permissions and it
>>did....sorted...can anybody explain what the state= actually means???
>
>See the ns_defs.h file in the source.  Here's a (possibly old) version:
>
>	/* zone state bits (32 bits) */
>#define	Z_AUTH		0x00000001	/* zone is authoritative */
>#define	Z_NEED_XFER	0x00000002	/* waiting to do xfer */
>#define	Z_XFER_RUNNING	0x00000004	/* asynch. xfer is running */
>#define	Z_NEED_RELOAD	0x00000008	/* waiting to do reload */
>#define	Z_SYSLOGGED	0x00000010	/* have logged timeout */
>#define	Z_QSERIAL	0x00000020	/* sysquery()'ing for serial number */
>#define	Z_FOUND		0x00000040	/* found in boot file when reloading */
>#define	Z_INCLUDE	0x00000080	/* set if include used in file */
>#define	Z_DB_BAD	0x00000100	/* errors when loading file */
>#define	Z_TMP_FILE	0x00000200	/* backup file for xfer is temporary */
>#ifdef BIND_UPDATE
>#define	Z_DYNAMIC	0x00000400	/* allow dynamic updates */
>#define	Z_NEED_DUMP	0x00000800	/* zone has changed, needs a dump */
>#define	Z_NEED_SOAUPDATE 0x00001000	/* soa serial number needs increment */
>#endif /* BIND_UPDATE */
>#define	Z_XFER_ABORTED	0x00002000	/* zone transfer has been aborted */
>#define	Z_XFER_GONE	0x00004000	/* zone transfer process is gone */
>#define	Z_TIMER_SET	0x00008000	/* z_timer contains a valid id */
>#define	Z_NEED_QSERIAL  0x00020000	/* we need to re-call qserial() */


superb, so i would be right in thinking state 28041 equals:
Z_NEED_QSERIAL  0x00020000	/* we need to re-call qserial(
Z_TIMER_SET	0x00008000	/* z_timer contains a valid id 
Z_FOUND		0x00000040	/* found in boot file when reloading
Z_AUTH		0x00000001	/* zone is authoritative


and that a state ending in 2 indicates i am queued to do a transfer...

many thanks for you help

Steve
>
>-- 
>Barry Margolin, barmar at genuity.net
>Genuity, Woburn, MA
>*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
>Please DON'T copy followups to me -- I'll assume it wasn't posted to the
group.
>
>
>
Steve Foster
Senior Systems Administrator
PSINet Europe
Work: +44 (1223) 577322
Mobile: +44 (7720) 425911


More information about the bind-users mailing list