[Nix-dev] bind root hints

Tim Barbour trb at categorical.net
Wed Oct 2 13:18:30 CEST 2013


The nixos bind package* does not seem to include any root hints, or any way to
configure it to use them. Is it only intended to be used in a forwarding setup?

I would like to configure a stand-alone DNS server to be deployed by nixops...

For root hints, the bind config should include a zone like this:

zone "." IN {
  type hint;
  file "named.root";
};

and the file "named.root" should be fetched from

   http://www.internic.net/domain/named.root

and installed, as part of the installation of bind.

* https://github.com/NixOS/nixos/blob/master/modules/services/networking/bind.nix

Tim


More information about the nix-dev mailing list