BLOG

KB No. 1003: SETTING THE DNS TO BE USED BY THE PROXY

How to define which DNS server the HTTP proxy should use.

Objective

Define which DNS server the HTTP proxy should use.

BACKGROUND

By default, the Squid proxy uses the DNS servers specified in the/etc/resolv.conf file.

When installing the Olfeo VM, the DNS server is declared with the `olfeo-console` command.

  • Configure network > nameserver

DNS settings can also be configured from the web interface, under Settings > Legacy View > Network > DNS.

 

VALIDATION

You can check which DNS is used by Squid with thesquidclientcommand:

#squidclient -h 127.0.0.1 -p 3129 mgr:idns