Install NetoDNS (Linux package)

Installing NetoDNS is part of the steps to ingest Infoblox NIOS DNS Logs via NetoDNS syslog

Deployment Options

NetoDNS is available as a Docker-compatible container or a Linux software package. To deploy the container, see: Install NetoDNS (container)

Supported Platforms

NetoDNS software packages are provided in these formats:

  • x86_64 and ARM64 EL8 RPM packages available via yum

    • EL8 packages are compatible with CentOS 8 and RHEL 8

    • Most other Linux distributions that use EL8 packages will also work

  • x86_64 Debian package available via apt-get

    • Debian, Ubuntu, and other Linux distributions using Debian package management

⚖️ Selecting a deployment option

Netography recommends deploying the container for most customers. Containers provide isolation that ensures NetoDNS will operate properly and simplifies the deployment process. The software package is best suited for organizations with a standard Linux build that meets your internal security and compliance requirements.

Installing the Linux Software Package

Step 1. Setup Package Repository

CentOS 8 / RHEL 8 / EL8 - RPM / yum Instructions

Debian / Ubuntu - apt-get Instructions

Step 2. Install the package

yum install

apt-get install

The installation will write the following files:

  • /etc/systemd/system/netodns.service

  • /usr/local/bin/netodns

Installation will enable the service to run at boot, but it will not start the service.

Step 3. Configure NetoDNS

You can run NetoDNS by setting configuration in environment variables.

Refer to Configure NetoDNS for details on configuration options.

3a. Create a Fusion API key

You will need to Create a Fusion API key in the Fusion Portal, using the neto_flowrole or another role with the Send NetoDNS permission. Copy the netosecret value provided when creating the key.

Using a secrets vault is the most secure approach for storing this secret

For production deployments, you should store this value in a secrets vault and have it set the value to this environment variable: NETO_NETOSECRET

Setting the secret in your local environment

You can also set it directly in your local environment to the variable: NETO_NETOSECRET

3b. Create /etc/netodns/netodns.env environment file and set systemd to use

You can run the following commands in a shell to create /etc/netodns/netodns.envand set this file to be used to load environment variables when running the netodns service. This is one method to set configuration in the environment with systemctl.

Step 4. Syslog output configuration

NetoDNS outputs logs via syslog. /var/log/syslog is the likely default location for these logs, but this may vary depending on your Linux distribution and syslog configuration.

If you need to customize syslog output, syslog output (for logging from netodns, not the syslog listener for ingesting DNS logs) in netodns uses the socket, so if you’re using rsyslog, make sure it’s enabled and has the appropriate log levels going where you want in /etc/rsyslog.conf

Also, if you would like debug level logging, on most enterprise Linux distributions that will not be sent anywhere by default, so add kern.debug file to the appropriate log settings:

kern.debug;\*.info;mail.none;authpriv.none;cron.none /var/log/messages

Then restart:

sudo systemctl restart rsyslog.service

Step 5. Start NetoDNS

systemctl start netodns.service

Step 6. Set NetoDNS to start at boot

If you would like NetoDNS to run at boot time, you must run the following command:

systemctl enable netodns.service

Step 7. Confirm NetoDNS is Running

curl localhost:8080/api/v1/stats/rate

Last updated