wildcard resolves queries for all non-existing domains

Sim simvirus at gmail.com
Tue Feb 14 13:48:10 UTC 2006


Hi!

I have a problem with wildcard. It resolves queries for all
non-existing domains.

# uname -n
ns1.test.com

# cat /etc/resolv.conf
nameserver 127.0.0.1

.. named/master/test.com
-------------------------
$TTL 43200
*		       IN      SOA     ns1.test.com. postmaster.test.com. (
                                2006020406
                                28800
                                2880
                                1814400
                                86400 )
;
                        NS      ns1
                        NS      ns2
                        MX      10 mx
;
ns1                    A       192.168.1.1
ns2                    A       192.168.1.2
mx                     A       192.168.1.10
www                   A       192.168.1.20
*                         A       192.168.1.100
------------------------

# dig qwertyu12345.com

;; QUESTION SECTION:
;qwertyu12345.com.              IN      A

;; AUTHORITY SECTION:
com.                    10800   IN      SOA     a.gtld-servers.net.
nstld.verisign-grs.com. 1139924349 1800 900 604800 900

;; Query time: 142 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)


--------------------------

# ping qwertyu12345.com
PING 192.168.1.100 ....

# ping qwertyu1234.com
PING 192.168.1.100 ....

# ping qwertyu123.com
PING 192.168.1.100 ....

etc...

I have tryied with ...

" test.com.   IN      SOA     ns1.test.com. postmaster.test.com. ( "

...but the resoult is the same.

Thanks!



More information about the bind-users mailing list