Maintained by: NLnet Labs

[Unbound-users] Using pyunbound with chaos

Ondřej Surý
Tue Jun 16 16:11:17 CEST 2009


Chris,
you may try LDNS python bindings
http://www.fit.vutbr.cz/~slany/nic-vip/pyldns/

These binding should give you more flexibility...  (I guess)

It's not integrated with LDNS yet, I have to poke Jelte bit more :)

Ondrej

On Tue, Jun 16, 2009 at 15:34, Chris Hills <chaz at chaz6.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 16/06/09 15:12, W.C.A. Wijngaards wrote:
> > Hi Chris,
> >
> > But if you set_fwd the forwarder is sent a recursive query.
> >
> > If you want to do nonrecursive queries you should set a stub-zone for
> > that domain.
> >
> > If you want to send class CH queries there you need to set it for class
> > CH.  However, the config file statements all default to class IN.
> > Except trustanchor statements and root-hints file, where a DNS file is
> > read in with class declarations inside.
>
> Wouter
>
> I am using the unbound library, but not the server.
>
> I think you misunderstand my objective.
>
> Whilst the normal operation of DNS is to discover a record recursively,
> there are some special records that are not part of the normal hierarchy and
> exist uniquely on each DNS server - for example, version.bind.,
> version.server., hostname.bind. and id.server. (all chaos txt). Basically, I
> am trying to find the python code using pyunbound that does the equivalent
> the following command:-
>
> dig @[dns-server] version.server. chaos txt
>
> This will return the version of the software that is running on the dns
> server.
>
> Regards,
>
> Chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.9 (GNU/Linux)
>
> iQIcBAEBAgAGBQJKN58cAAoJEKba9nIFysTLHRQQAM9bcGSnBhS06TZsZk94U+vc
> XyJIj6HYs2v5D+PDQxBXNCTdvDNiJqkLkMU5UWxb6xId6x5v3HmfkzZYdMWzGmRf
> iZOHT4BJ+jGGnrWd54HoczYqfgk4oLmWtC9s+Mj7iaIHrpOlW+uHSIFEhMGqAb/k
> Lvnr9WaEE2NG3IAs8fDaPWtIUVXvAmrvUb2Bh9Z4I7KgFUnm/PkYUV+0t9i9i1oP
> lVibDo49hbyP1Y4Y7T+t6eP9BHN5nBfR1fzhoglb/+KrkCw5vLYQmUTk4XjLCWO0
> SSAbYgY6ZVkfWmqjpeNR6seG1O8QN4dHDL1eJ2IXnfdbm3Oa7fOgXj4JEbxJsYDo
> n2iPVEhfaF45ODp8RZZddC0HrV/J8Ts6raJXPQPJdkwTYzOH8D5nYoohMKejjlRy
> uTv+7DmfAAc3gOx3wSrhTBgOu51pcCO9t5vUsgB/zUolEDTd2VTyOiSc6zj6hWFC
> IRVLNaN4OQ7GUXCoW36hbxAOucVw2YZCTwsVmZyZIObtg5fV7TwFAtw60zJedX/s
> SA42gZjMyh6IHjLYdAIPlP13INTtpO8cwKExEW+EtsKjKAuuFl1O5ukudYZUiaT8
> +Xa0bl7hEw49JfSf3dPB37RP4HyG04zL0L5N93Ntv6vXOwdIt8IfJ4y6lPNuuTZ4
> dwbotiMesYVn/gnYXnFI
> =uYWC
>
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Unbound-users mailing list
> Unbound-users at unbound.net
> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>



-- 
Ondřej Surý <ondrej at sury.org>
http://blog.rfc1925.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20090616/c829d0f3/attachment.htm>