About the last comment: I do not understand very well what's going on. Here's what I did:
* Before looking at these comments, I removed all wired connections from network manager configuration. I rebooted the server and the resulting resolv.conf was not referencing 127.0.0.1 anymore, but the DNS servers from dhcp directly; I re-added a wired connection from the main adapter (eth0) with DHCP and the same stuff happened.
* After that I noticed that the dnsmasq package wasn't installed. I forgot to add the line from ps -ef that showed that dnsmasq was running as a child process from NetworkManager (I even remember the --no-hosts parameter) even without the dnsmasq package being there
* I installed dnsmasq just to see what would happen, and the resolv.conf referencing 127.0.0.1 became active again, and again, it does not work if I configure my DHCP server to lend it many servers. However, if I tested with one DNS server and four DNS servers, and both worked OK.
* This "new" dnsmasq process is not a child from NetworkManager and does not have the file /var/run/nm-dns-dnsmasq.conf - what is going on, does Networkmanager has a different dnsmasq that comes with it?
* As you can see, before this day I only had dnsmasq-base and not dnsmasq installed:
[patola@bmw patola]% grep dnsmasq /var/log/dpkg.log
2012-04-06 09:05:34 upgrade dnsmasq-base 2.57-1ubuntu1 2.59-4
2012-04-06 09:05:34 status half-configured dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:36 status unpacked dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:37 status half-installed dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:39 status half-installed dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:41 status half-installed dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:45 status unpacked dnsmasq-base 2.59-4
2012-04-06 09:05:45 status unpacked dnsmasq-base 2.59-4
2012-04-07 02:19:55 configure dnsmasq-base 2.59-4 2.59-4
2012-04-07 02:19:55 status unpacked dnsmasq-base 2.59-4
2012-04-07 02:19:56 status half-configured dnsmasq-base 2.59-4
2012-04-07 02:19:57 status installed dnsmasq-base 2.59-4
2012-04-30 01:24:28 install dnsmasq <nenhum> 2.59-4
2012-04-30 01:24:28 status half-installed dnsmasq 2.59-4
2012-04-30 01:24:29 status half-installed dnsmasq 2.59-4
2012-04-30 01:24:31 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:32 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:33 configure dnsmasq 2.59-4 <nenhum>
2012-04-30 01:24:33 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:33 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status half-configured dnsmasq 2.59-4
2012-04-30 01:24:37 status installed dnsmasq 2.59-4
* I have a central server on my intranet that also does DNS resolution and caching. Is dnsmasq really needed on this scenario?
About the last comment: I do not understand very well what's going on. Here's what I did:
* Before looking at these comments, I removed all wired connections from network manager configuration. I rebooted the server and the resulting resolv.conf was not referencing 127.0.0.1 anymore, but the DNS servers from dhcp directly; I re-added a wired connection from the main adapter (eth0) with DHCP and the same stuff happened.
* After that I noticed that the dnsmasq package wasn't installed. I forgot to add the line from ps -ef that showed that dnsmasq was running as a child process from NetworkManager (I even remember the --no-hosts parameter) even without the dnsmasq package being there
* I installed dnsmasq just to see what would happen, and the resolv.conf referencing 127.0.0.1 became active again, and again, it does not work if I configure my DHCP server to lend it many servers. However, if I tested with one DNS server and four DNS servers, and both worked OK.
* This "new" dnsmasq process is not a child from NetworkManager and does not have the file /var/run/ nm-dns- dnsmasq. conf - what is going on, does Networkmanager has a different dnsmasq that comes with it?
* As you can see, before this day I only had dnsmasq-base and not dnsmasq installed:
[patola@bmw patola]% grep dnsmasq /var/log/dpkg.log
2012-04-06 09:05:34 upgrade dnsmasq-base 2.57-1ubuntu1 2.59-4
2012-04-06 09:05:34 status half-configured dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:36 status unpacked dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:37 status half-installed dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:39 status half-installed dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:41 status half-installed dnsmasq-base 2.57-1ubuntu1
2012-04-06 09:05:45 status unpacked dnsmasq-base 2.59-4
2012-04-06 09:05:45 status unpacked dnsmasq-base 2.59-4
2012-04-07 02:19:55 configure dnsmasq-base 2.59-4 2.59-4
2012-04-07 02:19:55 status unpacked dnsmasq-base 2.59-4
2012-04-07 02:19:56 status half-configured dnsmasq-base 2.59-4
2012-04-07 02:19:57 status installed dnsmasq-base 2.59-4
2012-04-30 01:24:28 install dnsmasq <nenhum> 2.59-4
2012-04-30 01:24:28 status half-installed dnsmasq 2.59-4
2012-04-30 01:24:29 status half-installed dnsmasq 2.59-4
2012-04-30 01:24:31 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:32 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:33 configure dnsmasq 2.59-4 <nenhum>
2012-04-30 01:24:33 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:33 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status unpacked dnsmasq 2.59-4
2012-04-30 01:24:34 status half-configured dnsmasq 2.59-4
2012-04-30 01:24:37 status installed dnsmasq 2.59-4
* I have a central server on my intranet that also does DNS resolution and caching. Is dnsmasq really needed on this scenario?