
Originally Posted by
AlexeyS
Насколько я помню, если имя прописано в hosts, то оно имеет приоритет над DNS серверами, как и было в 1.9.2.7-10, а тут имя просто искажается и не резольвится по hosts...
Code:
# Add local-only domains here, queries in these domains are answered
# from /etc/hosts or DHCP only.
#local=/localnet/
...
# If you don't want dnsmasq to read /etc/hosts, uncomment the
# following line.
#no-hosts
# or if you want it to read another file, as well as /etc/hosts, use
# this.
#addn-hosts=/etc/banner_add_hosts
# Set this (and domain: see below) if you want to have a domain
# automatically added to simple names in a hosts-file.
#expand-hosts
# Set the domain for dnsmasq. this is optional, but if it is set, it
# does the following things.
# 1) Allows DHCP hosts to have fully qualified domain names, as long
# as the domain part matches this setting.
# 2) Sets the "domain" DHCP option thereby potentially setting the
# domain of all systems configured by DHCP
# 3) Provides the domain part for "expand-hosts"
#domain=thekelleys.org.uk
p.s для добавления опций, нужно их прописывать в /usr/local/etc/dnsmasq.conf, который будет дописываться к генерируемому /etc/dnsmasq.conf