Re: Wildcard Subdomain

Todd Lyons <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Organization Ivenue.com
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jul 02, 2008 at 09:19:21AM +1000, Graham Weldon wrote:

>Great, thanks for that example.
>Do you know if the wildcard subdomain has to be last in the returned
>results?
>For example, if the results of the sql query return:
>
>www      1.1.1.1
>mail     1.1.1.2
>*        1.1.1.3
>special  1.1.1.4
>
>Will "special" match 1.1.1.3 or 1.1.1.4 in this example?
>Will the wildcard match "special" to 1.1.1.3 before the "special" entry
>matches?

That's going to depend on the exact queries that bind generates against
mysql.  I am not authoritative, so my advice would be to turn on mysql
query logging and have it log to /var/lib/mysql/query.log or your
location of choice.  Then tail the query log and perform a few lookups
to see what kind of lookups bind-dlz is generating.  Report back here,
it would be nice to know.
- -- 
Regards...		Todd
The greatest shortcoming of the human race is our inability to
understand the exponential function.   --Albert Bartlett, physicist
Linux kernel 2.6.24-18-generic   8 users,  load average: 0.02, 0.03, 0.00
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIa50UY2VBGxIDMLwRAqjFAJ9P1/M5dUotIwf+tnUHUgONDhhpcACfYelv
Qt/2pULHJ4Habd3kYslan7k=
=5p5j
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.