How to use multiple DNS in dnsmasq?

There is a home server on Ubuntu 13.10 with working on it dnsmasq as DHCP/DNS server.
You must use 2 different DNS servers, one service provider (to access the local domains) and OpenNIC DNS (for domain access .lib, etc.).
Prescribed in dnsmasq:
server=[dns provider]
server=[OpenNIC dns]

In the end, works only local domains, change the record sometimes only OpenNIC domains.
How to configure to have access to the local domains and to domains OpenNIC?
I tried different versions, and all servers were removed and strict-orderand both places changed (you never know), but did not achieve the desired result.

PS Put the same DNS in the router (Asus RT-N66U) and there the story is the same, only one DNS.
June 7th 19 at 14:22
2 answers
June 7th 19 at 14:24
bring the config to the view


specific addresses you can specify so
And what does this have to do with the question?
Might look like the config I already know, I have server and registered. - benjamin commented on June 7th 19 at 14:27
you need to resolvit domains? I pointed out how it is possible to attach a separate domain dns

Take into account that the negative response from the server is also considered a response and need to request another dns no. - Jonatan_Rodriguez69 commented on June 7th 19 at 14:30
well , so I prescribed two DNS.
It turns out that first comes the NXDOMAIN response and the second server is not queried. - benjamin commented on June 7th 19 at 14:33
because it is better to prescribe the necessary dns for a specific zone. - Jonatan_Rodriguez69 commented on June 7th 19 at 14:36
So how do I register dns for the zone .lib or .lan , that I do not quite understand?
Thanks for the tip. Understood. - benjamin commented on June 7th 19 at 14:39
June 7th 19 at 14:26
Here is written why do you have nothing is not working:
Why Windows 7 does not use the secondary DNS server?
Well, it is not about Windows.
If you are in
If the client receives the first DNS answer NXDOMAIN (Non-existent Domain Name), that's still considered the answer and the reason for switching to the second DNS no.

How is it treated? - benjamin commented on June 7th 19 at 14:29

Find more questions by tags LinuxNetwork administrationDomain name system