Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Koos Pol
op 23-12-13 16:03, Peng Yu schreef: > http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/ > > (...) > > ~$ nslookup oxygen.yulab > Server:127.0.0.1 > Address:127.0.0.1#53 > > Non-authoritative answer: > Name:oxygen.yulab > Address: 192.168.

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Nikita N.
.. btw of log facility, if I can give a suggestion.. would be nice to make it more verbose.. eg. when some behavioral exception is taken, eg. frame comes and some action should be taken, but it is NOT taken (or vice) .. a message would be nice, the user will understand whats going on.. typical my e

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Simon Kelley
On 23/12/13 16:09, Peng Yu wrote: When I run "dig oxygen.yulab", I see the following log. Dec 23 10:05:35 dnsmasq[51588]: query[A] oxygen.yulab from 127.0.0.1 Dec 23 10:05:35 dnsmasq[51588]: forwarded oxygen.yulab to 192.168.1.25 Dec 23 10:05:35 dnsmasq[51588]: reply oxygen.yulab is 192.168.1.16

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Peng Yu
When I run "dig oxygen.yulab", I see the following log. Dec 23 10:05:35 dnsmasq[51588]: query[A] oxygen.yulab from 127.0.0.1 Dec 23 10:05:35 dnsmasq[51588]: forwarded oxygen.yulab to 192.168.1.25 Dec 23 10:05:35 dnsmasq[51588]: reply oxygen.yulab is 192.168.1.163 When I run "dig @192.168.1.25 oxy

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Simon Kelley
On 23/12/13 15:52, Peng Yu wrote: Use --log-queries to see check that the queries for *.oxygen.yulab are going to the right place. If they are, then check that 192.168.1.25 is givving the right answer. I now added "log-queries" /etc$ grep log-queries /opt/local/etc/dnsmasq.conf log-queries /et

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Peng Yu
> Use --log-queries to see check that the queries for *.oxygen.yulab are going > to the right place. If they are, then check that 192.168.1.25 is givving the > right answer. I now added "log-queries" /etc$ grep log-queries /opt/local/etc/dnsmasq.conf log-queries /etc$ sudo port unload dnsmasq /et

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Peng Yu
On Mon, Dec 23, 2013 at 9:14 AM, Simon Kelley wrote: > On 23/12/13 15:03, Peng Yu wrote: >> >> Hi, >> >> I followed the instruction at the following address (after section >> "Solution: DNSMasq"). My machine is Mac OS X 10.8.5. >> >> >> http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-et

Re: [Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Simon Kelley
On 23/12/13 15:03, Peng Yu wrote: Hi, I followed the instruction at the following address (after section "Solution: DNSMasq"). My machine is Mac OS X 10.8.5. http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/ The only difference is that I have the fol

[Dnsmasq-discuss] Ping does not work but nslookup works (Use dnsmasq on Mac OS X)

2013-12-23 Thread Peng Yu
Hi, I followed the instruction at the following address (after section "Solution: DNSMasq"). My machine is Mac OS X 10.8.5. http://www.justincarmony.com/blog/2011/07/27/mac-os-x-lion-etc-hosts-bugs-and-dns-resolution/ The only difference is that I have the following configuration on my mac machi

Re: [Dnsmasq-discuss] tags in opts file

2013-12-23 Thread Simon Kelley
On 20/12/13 12:54, Shixiong Shang wrote: Hi, experts: I have an opts_file which contains the entries for two tags, tag0 and tag1. Two dnsmasq instances are sharing the same opts_file. In this case, is it possible to let the first dnsmasq only read the opts entires beginning with tag0, and let th