[Dnsmasq-discuss] Problems forwarding DNS lookups for local domain
simon at thekelleys.org.uk
Sat Dec 27 16:07:24 GMT 2014
-----BEGIN PGP SIGNED MESSAGE-----
I have to confess I'm confused by the description below. I tried some
experiments with moving server=...... configuration into a
servers-file and couldn't make it do anything unexpected.
Please could you send the configuration you're using and excerpts from
logs where that configuration is misbehaving. It's fine if you don't
want to post system-specific stuff to the list, just send it to me direct.
On 22/12/14 19:52, Malte Forkel wrote:
> Am 21.12.2014 um 18:25 schrieb Simon Kelley:
>> After the SIGHUP, dnsmasq will log the complete set of upstream
>> servers and the domains they'll be used for, so looking in the
>> log is the first think to do for clue about what's happening (or
>> isn't happening) here.
>> Add --log-queries to your dnsmasq configuration and look (again)
>> in the logs. You should see exactly what queries are arriving at
>> dnsmasq and what it's doing with them.
> Thanks for your help, Simon. I ran some test cases and compared the
> log entries.
> It does not seem to matter whether the --server option is specified
> in dnsmasq's configuration file or in a file specified by the
> --servers-file option. I produces log entries like using nameserver
> 10.1.1.1#53 for domain my.lan and using nameserver 10.1.1.1#53 for
> unqualified names depending on the arguments to the option. If no
> domain is specified, the log contains an additional using local
> addresses only for domain my.lan. before or after the nameserver
> According to the log entries for DNS lookups on the client side, a
> query is forwarded to the server side only if the --server option
> is specified in dnsmasq's configuration file and contains a domain
> name. In that case, the host is looked up successfully.
> The query is not forwarded if the --server option is specified in
> the servers file or does not contain a domain. Unqualified host
> names result in NODATA-IPv* log entries, qualified host name result
> in NXDOMAIN entries.
> Cheers, Malte
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the Dnsmasq-discuss