Skip to main content
All CollectionsDNS GuardDevice setup & enrollment
Linux configuration guide (external IP linking)
Linux configuration guide (external IP linking)

We will configure DNS Guard on your Linux device using external IP linking. Please link your external IP first

Updated over 9 months ago

Debian/Ubuntu

  1. SSH to your server.

  2. Open /etc/resolv.conf with your favorite editor (we like vi).

  3. Remove all lines starting with nameserver and add the following lines (replace x.x.x.x and y.y.y.y with the IP addresses you've obtained from the IP linking process:
    ​nameserver x.x.x.x
    ​nameserver y.y.y.y

  4. Save the file.

Your server may have openresolv or resolvconf installed, which may change the contents of /etc/resolv.conf dynamically. You can check this with the following commands:
​sudo apt list --installed | grep resolvconf
​sudo apt list --installed | grep openresolv

If installed, repeat the steps above for the /etc/resolvconf/resolv.conf.d/head file instead of /etc/resolv.conf.

Did this answer your question?