Dnsmasq: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
The upstream servers can be inferred from /etc/resolv.conf, specified on command line with --server option or specified in the Dnsmasq configuration files with:
The upstream servers can be inferred from /etc/resolv.conf, specified on command line with --server option or specified in the Dnsmasq configuration files with:
  server=192.168.122.12
  server=192.168.122.12
The upstream servers specified on command line or in the configuration file can optionally take a domain name which tells dnsmasq to use that server only to find names in that particular domain.


=Configuration=
=Configuration=
Line 15: Line 17:


/etc/dnsmasq.d/
/etc/dnsmasq.d/
/etc/resolv.conf

Revision as of 20:54, 13 October 2017

External

Overview

Dnsmasq is a DNS query forwarder. It will not answer arbitrary queries by recursively interact with root DNS servers. It will forward such queries to a fully recursive upstream DNS server.

The upstream servers can be inferred from /etc/resolv.conf, specified on command line with --server option or specified in the Dnsmasq configuration files with:

server=192.168.122.12

The upstream servers specified on command line or in the configuration file can optionally take a domain name which tells dnsmasq to use that server only to find names in that particular domain.

Configuration

/etc/dnsmasq.conf

/etc/dnsmasq.d/

/etc/resolv.conf