> For the complete documentation index, see [llms.txt](https://docs.dnscontrol.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dnscontrol.org/provider/netnod.md). Agents can also search and read this documentation through its [MCP server](https://docs.dnscontrol.org/~gitbook/mcp).

# Netnod

### Configuration

To use this provider, add an entry to `creds.json` with `TYPE` set to `NETNOD` along with your API URL and API Key. The API URL can be omitted to use the default value `https://primarydnsapi.netnod.se`.

Example:

{% code title="creds.json" %}

```json
{
    "netnod": {
        "TYPE": "NETNOD",
        "apiKey": "your-key",
        "apiUrl": "https://primarydnsapi.netnod.se"
    }
}
```

{% endcode %}

### Metadata

The following provider metadata is available:

{% code title="dnsconfig.js" %}

```javascript
D("example.com", REGISTRAR(), SERVICE('netnod', ALL_NS, {
    default_ns: ['a.example.com.', 'b.example.com.'],
    also_notify: ['192.36.148.17', '2001:7fe::53'],
    allow_transfer_keys: ['netnod-key1.'],
}));
```

{% endcode %}

* `default_ns` sets the nameservers used when creating zones.
* `also_notify` sets a list of IP addresses that will receive DNS NOTIFY messages when a zone is created. This is the provider-level default and applies to all zones unless overridden per zone.
* `allow_transfer_keys` sets the TSIG key IDs permitted to perform zone transfers from the distribution servers when a zone is created. This should include all keys used for DNS secondary replication, including those used by the Netnod secondary DNS service. This is the provider-level default and applies to all zones unless overridden per zone.

### Usage

An example configuration:

{% code title="dnsconfig.js" %}

```javascript
D('example.com', REGISTRAR(), SERVICE('netnod'), A('test', '1.2.3.4'));
```

{% endcode %}

### Activation

See the [Netnod DNS](https://www.netnod.se/dns/dns-enterprise-services).

### Feature Summary

* Support Level and Type
  * [Official Support](https://docs.dnscontrol.org/provider/index.md#providers-with-official-support): ❌
  * DNS Provider: ✅
  * Registrar: ❌
* API-level Features
  * [Concurrent fetching](https://docs.dnscontrol.org/advanced-features/concurrency-verified.md): ✅
  * [dual host](https://docs.dnscontrol.org/advanced-features/dual-host.md): ✅
  * create-domains: ✅
  * [get-zones](https://docs.dnscontrol.org/commands/get-zones.md): ✅
  * [AUTODNSSEC](https://docs.dnscontrol.org/language-reference/domain-modifiers/autodnssec_on.md): ❌
* Supported Record Types
  * [A](https://docs.dnscontrol.org/language-reference/domain-modifiers/a.md) [AAAA](https://docs.dnscontrol.org/language-reference/domain-modifiers/aaaa.md) [ALIAS](https://docs.dnscontrol.org/language-reference/domain-modifiers/alias.md) [CAA](https://docs.dnscontrol.org/language-reference/domain-modifiers/caa.md) [CNAME](https://docs.dnscontrol.org/language-reference/domain-modifiers/cname.md) [CSYNC](https://docs.dnscontrol.org/language-reference/domain-modifiers/csync.md) [HTTPS](https://docs.dnscontrol.org/language-reference/domain-modifiers/https.md) [MX](https://docs.dnscontrol.org/language-reference/domain-modifiers/mx.md) [NAPTR](https://docs.dnscontrol.org/language-reference/domain-modifiers/naptr.md) [NS](https://docs.dnscontrol.org/language-reference/domain-modifiers/ns.md) [PTR](https://docs.dnscontrol.org/language-reference/domain-modifiers/ptr.md) [SRV](https://docs.dnscontrol.org/language-reference/domain-modifiers/srv.md) [SSHFP](https://docs.dnscontrol.org/language-reference/domain-modifiers/sshfp.md) [SVCB](https://docs.dnscontrol.org/language-reference/domain-modifiers/svcb.md) [TLSA](https://docs.dnscontrol.org/language-reference/domain-modifiers/tlsa.md) [TXT](https://docs.dnscontrol.org/language-reference/domain-modifiers/txt.md)
