TXT records

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Jul 2 02:09:24 UTC 2002


> 
> 
> > I am having a problem in updating a TXT record using res_update query
> in
> > BIND 8.2.3, it gives me a FORMERR, I have set the class to IN, type
> t-
> > T_TXT and the RR owner that is the r_dname parameter to
> > host.blr.novell.com and the r_data parameter to the text string
> > "something", but it gives me a format error in the r_data.
> 
> Where as I am able to update the same record using the nsupdate
> utility. Could someone tell me as to what should be the format of the
> rdata section for the txt record if I just want to put a string say
> "something"??
> 
> Thanks in advance.
> Regards,
> Nitin Khurana.

	The answer depends upon the age of your resolver library.

	I suspect that you have a old resolver library so you will
	need to use "wire format".

	wire format:
	<length octet> <string> [<length octet> <string> ...]

	Mark
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list