I'm not sure, but I think DHCP overwrites /etc/resolv.conf at startup. This may make things more difficult.
What dns servers do you use at the moment? Is your router also a dns server?
If it does overwrite the file, then you'd need a way to avoid that. e.g. disable DNS support in your router, if possible, Or overwrite it with your own settings. Or find some setting somewhere telling dhcp to not overwrite resolv.conf.
If it doesn't, then you can try using another dns server. If that fixes your problems you know it is caused by the dns server.
If you want to use dnsmasq then put 127.0.0.1 as dns server in /etc/resolv.conf and let dnsmasq use another file with the real dns servers. Because resolv.conf is used for dns lookups by all programs and you want them to use dnsmasq you'd need to use the 127.0.0.1 (or local IP).
Yes, always then network start, resolv.conf is overwrites.
But after restart network, i put 'nameserver 127.0.0.1' to this file as you say, and now all work, thanks! But i have to do it always then computer start or i restart the network daemon.
PS: i add nameservers to /etc/dnsmasq.conf
PPS: thanks again!
You can add anything you want to run at bootime after the normal boot to rc.local. So in there you could fix the resolv.conf. Though I'm sure someone knows a way to disable the resolv.conf overwriting of dhcp somewhere.