Questions tagged [nsd]

NSD is an authoritative only, high performance, simple and open source name server.

NSD (for "name server daemon") is an open-source server program for the Domain Name System. It was developed by NLnet Labs of Amsterdam in cooperation with the RIPE NCC, from scratch as an authoritative name server (i.e., not implementing the recursive caching function by design). The intention of this development is to add variance to the "gene pool" of DNS implementations used by higher level name servers and thus increase the resilience of DNS against software flaws or exploits.

NSD uses BIND-style zone-files (zone-files used under BIND can usually be used unmodified in NSD, once entered into the NSD configuration).

NSD uses zone information compiled via 'zonec' into a binary database file (nsd.db) which allows fast startup of the NSD name-service daemon, and allows syntax-structural errors in Zone-Files to be flagged at compile-time (before being made available to NSD service itself).

The collection of programs/processes that make-up NSD are designed so that the NSD daemon itself runs as a non-privileged user and can be easily configured to run in a Chroot jail, such that security flaws in the NSD daemon are not so likely to result in system-wide compromise as without such measures.

As of March, 2008, three of the Internet root nameservers are using NSD:

  • k.root-servers.net was switched to NSD on February 19, 2003.[2]
  • One of the 2 load-balanced servers for h.root-servers.net (called "H1", "H2") was switched to NSD, and now there are 3 servers all running NSD (called "H1", "H2", "H3").[3]
  • l.root-servers.net switched to NSD on February 6, 2007. Several other TLDs use NSD for part of their servers.
26 questions
12
votes
3 answers

unbound/nsd returning SERVFAIL resolving local LAN DNS. nsd alone works fine

I've been using unbound as a local recursive DNS server. Just added nsd to set up local LAN DNS. nsd is listening on port 53530 and that works fine: $ dig @127.0.0.1 data2.datanet.home -p 53530 ; <<>> DiG 9.9.2-P2 <<>> @127.0.0.1 data2.datanet.home…
Micah Yoder
  • 320
  • 1
  • 2
  • 7
4
votes
1 answer

Reverse DNS Lookup for 10.* Failing

I am trying to configure NSD and Unbound to handle Internal DNS. I have everything working for forward look ups but reverse looks ups are failing. I am not sure what to do next, but looking at the dig (reverse) response, it has something to do with…
Adz
  • 41
  • 4
4
votes
1 answer

Unbound stub-host option not resolving using /etc/hosts

I have unbound running as an validating, caching, recursive dns server and nsd3 running as an authoritative nameserver. It seems like every aspect of both work correctly until I attempt to resolve an address that should be forwarded to nsd3. I've…
Lindenk
  • 143
  • 1
  • 4
4
votes
2 answers

Does the order of entries/record types matter in NSD/BIND zone config files?

I'm trying to streamline the addition of DNS records to an NSD install. It looks like it uses the same syntax as BIND so this question may be relevant to either. It seems like the convention I'm seeing in the current zone file is to separate the…
phealy3330
  • 73
  • 1
  • 8
4
votes
1 answer

Zone transfer Windows Server DNS from NSD

I have a NSD server being primary server for a zone and want a Windows Server (2008 and 2012 RC) box to be secondary for that zone. Everything is configured and working EXCEPT: When Windows receives a notify message from NSD it sends an IXFR zone…
3
votes
1 answer

How do I tell nsd3 to serve for all zonefiles in a directory?

I have this directory structure: \etc\nsd3 |- nsd3.conf |- zones | |- zonefile.com.zone | |- zonefile2.com.zone Currently I have to add an entry into nsd3.conf for each zonefile I wish to source to provide DNS for. Is there a way…
voxobscuro
  • 163
  • 7
3
votes
3 answers

NSD reply from unexpected source

I have server with NSD. There are MAIN_IP and ADD_IP. When I try to get IP of my site from server I have right output dig @localhost my_site.com But when I try to make this from my PC, I have dig @my_ns_server.com my_site.com ;; reply from…
Ximik
  • 143
  • 1
  • 6
2
votes
1 answer

Checking the validity of Resource Records in DNS Zones

I am using perl to do some DNS manipulation tasks. I am using NSD as my DNS server. I want to figure out what the best way is to check whether the names of all Resource Records in a DNS zone file are valid. There seem to be a couple of possibilities…
Subzero123
  • 31
  • 1
  • 3
2
votes
1 answer

DNS (NSD) zone transfer not working

I'm trying to create a master/slave setup using NSD. I have NSD installed on two servers. The servers are running great; when I perform normal DNS queries they return the information from the zone files. However, when I try to nsdc notify on the…
Beurtschipper
  • 123
  • 1
  • 3
2
votes
2 answers

Nginx and NSD3 don't start on boot because they cannot use the assigned IP

Server is a Xen VPS running Ubuntu 12.04 and neither nginx nor NSD3 come up after reboot. The apparent reason for that is that they're not able to bind to their assigned IP addresses right after boot, from /var/log/boot.log * Starting configure…
Damn Terminal
  • 517
  • 3
  • 7
2
votes
1 answer

Bootstrapping A Records for a DNS Server

My problem is this. Dissatisfied with the existing free DNS nameserver solutions, I decided to make my own nameservers for my websites. I'm using NSD on Debian, and it's working great. I can request a record from the server with DIG and get the…
1
vote
1 answer

Unable to resolve DKIM TXT record

I've installed and configured OpenDKIM and SPF TXT records on Ubuntu 18.04 LTS. However, I'm unable to resolve my DKIM TXT record. I'm running NSD as my DNS and configured as mydomain.com.zone. My SPF record for mydomain.com returns…
Michael
  • 21
  • 5
1
vote
2 answers

split dns for google

how to setup any dns (prefer nsd3) to give ip 1.2.3.4 for google and 2.3.4.5 for all others?
DennyHalim.com
  • 491
  • 3
  • 10
1
vote
2 answers

how can i setup maradns / nsd server to answer a single IP address to any query

i tried the manual, but cant find how/if i can set it to answer single ip for all queries. anyone tried any of these? which one works? or any other smaller, secure bind alternatives? tnx nb. nsd: http://www.nlnetlabs.nl/projects/nsd/
DennyHalim.com
  • 491
  • 3
  • 10
1
vote
0 answers

NSD/BIND -- how to log dns resolver ip and edns

Do BIND and NSD support verbose logging of the DNS resolver's ip address for a query? If the vanilla releases do support that, what's the best practice for enabling/configuring that functionality. If this feature is not available in the vanilla…
Paul Rigor
  • 111
  • 3
1
2