Authoritative DNS setup in BIND10

Michal 'vorner' Vaner michal.vaner at nic.cz
Wed Jul 17 12:24:04 UTC 2013


Hello

On Wed, Jul 17, 2013 at 05:04:36PM +0530, kansal wrote:
> Now when i am querying it for that domain, it is not giving me
> authoritative answer (i.e, no aa in dig o/p).

That sounds strange. I may be wrong here, but my impression was that the only
way b10-auth would ever answer without the AA bit is when returning a
delegation. Are you sending it to the right server? If so, can you post the
query and the answer, to see what is happening?

> I am also not able to find any script to stop the bind10 in one go. (i
> run the bind10 script in background and it starts multiple
> thread/scripts for multiple task. Now i am not able to stop bind10 in
> one go. I am killing each task manually to stop bind10 completely).

You can either issue `Init shutdown` in bindctl, or just kill the „main“ process
of bind10 (`killall b10-init` would do). It'll bring down the rest.

> One more issue which i am facing is, b10-cmdctl is listening on
> 127.0.0.1. I want to change it to listen on all the interfaces
> configured on the server.
> I tried to run "./b10-cmdctl -a x.x.x.x" but it is giving me an error.
> I want to configure it globally so as to listen b10-cmdctl on 0.0.0.0.
> Any suggestion how to do that.

You're not supposed to run these internal programs manually, they expect some
special environment passed from the b10-init that starts them.

Looking around, it seems to be possible to set the port on the bind10 command
line, but not the address, it seems forgotten. Would you mind opening a bug
about that one?

As a temporary (ugly) workaround, you could rename the b10-cmdctl script and
create a shell wrapper instead, something like:

#!/bin/sh

exec /the/renamed/cmdctl -a 0.0.0.0 "$@"

With regards

-- 
If it works, fix it.

Michal 'vorner' Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://lists.isc.org/pipermail/bind10-users/attachments/20130717/b304ad62/attachment.bin>


More information about the bind10-users mailing list