[Dnsmasq-discuss] Matching any domain in -A

Peter Surda surda at shurdix.com
Wed Feb 8 17:58:51 GMT 2006


Hello,

the docs state that:

--------------------------------------------
Thus --address=/#/1.2.3.4 will always return 1.2.3.4 for any query not 
answered from /etc/hosts or  DHCP  and  not sent to an upstream 
nameserver by a more specific --server directive.
--------------------------------------------

However I can't reproduce this behaviour. When I do:

--------------------
dnsmasq -R -S my_usual_upstream_server -A '/#/1.2.3.4'

I get a:

[guest at mireille ~]$ host slashdot.org
slashdot.org has address 66.35.250.150
slashdot.org mail is handled by 10 mail.egl.net.
--------------------

And when I do:
----------------------
dnsmasq -R -A '/#/1.2.3.4'

I get a:

[guest at mireille ~]$ host slashdot.org
Host slashdot.org not found: 5(REFUSED)
-----------------------

Did I misunderstand something or is this a bug? 2.26 BTW.

Yours sincerely,
Peter

-- 
http://www.shurdix.org - Linux distribution for routers and firewalls



More information about the Dnsmasq-discuss mailing list