Using HINFO with nsupdate and BIND 8.2.2-p5

Kevin Darcy kcd at daimlerchrysler.com
Fri Jul 28 00:18:28 UTC 2000


The RR-formatting routines seem to be choking on the HINFO record, but the
Dynamic Update itself looks like it succeeded. Does the HINFO record look okay
if you query it with a real troubleshooting tool like "dig"?


- Kevin

"Ingvar Hagelund; UiO" wrote:

> Hello, list.
>
> We run bind 8.2.2-p5 on Solaris 8.
>
> I want to add some resource records with host information to DNS by using
> the HINFO type from nsupdate. But it looks like this is not possible, I
> get some "RR format error".  I get similar errors when using TXT
> records. Other RR types like A and PTR gets updated from nsupdate with no
> problem. Here's a log:
>
> #nsupdate
> > update add mymachine.somewhere.com 86400 IN HINFO Pentium Linux
> >=20
> res_mkupdate: packet size =3D 57
> ;; res_send()
> ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 39261
> ;; flags:; ZONE: 1, PREREQUISITE: 0, UPDATE: 1, ADDITIONAL: 0
> ;;=09somewhere.com, type =3D SOA, class =3D IN
> mymachine.somewhere.com. 1D IN HINFO=09""\#(=09=09; RR format error
> =0950 65 6e 74 69 75 6d 20 4c 69 6e 75 78 )=09; Pentium Linux
> ;; Querying server (# 1) address =3D 193.156.96.215
> ;; got answer:
> ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 39261
> ;; flags: qr ra; ZONE: 0, PREREQUISITE: 0, UPDATE: 0, ADDITIONAL: 0
>
> >=20
> #
>
> Now: the host -a command digs out the error, some OS-type missing
> packet size error, but this really don't tell me much. Any ideas?
>
> #host -a mymachine.somewhere.com
> Trying null domain
> rcode =3D 0 (Success), ancount=3D3
> The following answer is not verified as authentic by the server:
> mymachine.somewhere.com =0986400 IN=09A=09193.156.96.219
> mymachine.somewhere.com =0986400 IN=09MX=0910 mail.somewhere.com
> mymachine.somewhere.com =0986400 IN=09HINFO=09entium Linux=C0
> ; *** Warning *** OS-type missingpacket size error (ffbcf583 !=3D ffbcf53f)
>
> For authoritative answers, see:
> (...snip...)
>
> Thanks,=20
> Ingvar
>
> --=20
> ------------------------------------------------------------------------
> Ingvar Hagelund             Phone: (+47) 22740512
> E-mail: ingvar at unik.no      WWW: http://www.ifi.uio.no/~ingvarha
> Adress: Ringshusveien 10,   N-1176  OSLO, NORWAY
> Experience GNU/Linux!
> -------------------------------------------------------------------------




More information about the bind-users mailing list