@ IN SOA diegobarreto.com.ar. root.diegobarreto.com.ar. (
2003040213
8H
2H
1W
1D )
NS ns
MX 10 mail.diegobarreto.com.ar.
@ A 200.73.183.170
www A 200.73.183.170
ftp A 200.73.183.170
irc A 200.73.183.170
pop3 A 200.73.183.170
smtp A 200.73.183.170
mail A 200.73.183.170
ns A 200.73.183.170
* A 200.73.183.170
and all registers A OK but * not work
zanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to use FQDNs on both the left and right hand side in the database. I assume that bind automatically converts the data when reading plaintext files into its own internal database format.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is that to say that wildcards are not supported ?
Any way they can be hacked into the source ? I'm sure someone who knows the SDB interface better than myself could manage to make it work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I spent some time going through the source to this SDB driver and I found that there is code in place to check for wildcard records if normal lookup fails, however it gets the domain wrong and a search for unknown.domain.com looks up *.unknown.domain.com when of course it should be looking up *.domain.com
As such I modified the mysqldb.c file to match the domain properly and created a patch file that you can use to fix this bug in mysql-bind and get proper wildcard records working properly.
The patch is at http://tiny.catpa.ws/uploads/2010/04/wildcard.patch and a full description of the change and instructions are available at http://tiny.catpa.ws/2010/04/28/fix-wildcard-support-in-mysql-bind-sdb-driver/
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
how to use wildcards in mysql-bind zones
i try * and *.domain and not operate ok
i need create this equiv zone
@ IN SOA diegobarreto.com.ar. root.diegobarreto.com.ar. (
2003040213
8H
2H
1W
1D )
NS ns
MX 10 mail.diegobarreto.com.ar.
@ A 200.73.183.170
www A 200.73.183.170
ftp A 200.73.183.170
irc A 200.73.183.170
pop3 A 200.73.183.170
smtp A 200.73.183.170
mail A 200.73.183.170
ns A 200.73.183.170
* A 200.73.183.170
and all registers A OK but * not work
zanks
You need to use FQDNs on both the left and right hand side in the database. I assume that bind automatically converts the data when reading plaintext files into its own internal database format.
Is that to say that wildcards are not supported ?
Any way they can be hacked into the source ? I'm sure someone who knows the SDB interface better than myself could manage to make it work.
I spent some time going through the source to this SDB driver and I found that there is code in place to check for wildcard records if normal lookup fails, however it gets the domain wrong and a search for unknown.domain.com looks up *.unknown.domain.com when of course it should be looking up *.domain.com
As such I modified the mysqldb.c file to match the domain properly and created a patch file that you can use to fix this bug in mysql-bind and get proper wildcard records working properly.
The patch is at http://tiny.catpa.ws/uploads/2010/04/wildcard.patch and a full description of the change and instructions are available at http://tiny.catpa.ws/2010/04/28/fix-wildcard-support-in-mysql-bind-sdb-driver/