Hello!
Has anybody a dns (bind9) configuration with wildcards on Debian? I would like to migrate a nameserver from redhat 7.3 to debian, but I get the followin error:
patrolsrv:~# host -t any 1.2.2.6.3.voip.hbone.hu 1.2.2.6.3.voip.hbone.hu does not exist at localhost (Authoritative answer)
The NAPTR recods look like this:
*.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.1!" . *.0.2.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.2!" .
Some other queries result correct answers:
patrolsrv:~# host -t any 1.1.1.6.3.voip.hbone.hu 1.1.1.6.3.voip.hbone.hu NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.1!" . patrolsrv:~# host -t any 1.0.2.6.3.voip.hbone.hu 1.0.2.6.3.voip.hbone.hu NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.2!" .
The nameserver works good on rendhat. Is there a known bug in the bind9 on Debian? Or is something missing in the configuration?
Thanks, Miklos Tirpak
Tirpák Miklós writes:
patrolsrv:~# host -t any 1.2.2.6.3.voip.hbone.hu 1.2.2.6.3.voip.hbone.hu does not exist at localhost (Authoritative answer)
The NAPTR recods look like this:
*.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.1!" . *.0.2.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.2!" .
i don't know why the name is not found, but i have been always told that it is not a good idea to have other names that match a * name.
-- juha
On 06/30/04 15:30, Juha Heinanen wrote:
Tirpák Miklós writes:
patrolsrv:~# host -t any 1.2.2.6.3.voip.hbone.hu 1.2.2.6.3.voip.hbone.hu does not exist at localhost (Authoritative answer)
The NAPTR recods look like this:
*.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.1!" . *.0.2.6.3.voip.hbone.hu IN NAPTR 10 10 "u" "e2u+sip" "!^(.*)$!sip:\1@10.0.0.2!" .
i don't know why the name is not found, but i have been always told that it is not a good idea to have other names that match a * name.
When I do not want to match any other name to * name, I have to register a lot of domain:
*.1.6.3 *.0.2.6.3 *.1.2.6.3 ... *.9.2.6.3 *.3.6.3 ... *.9.6.3
18 insted of 2. I do not want to imagine what would happen, because I have more then 1000 records :(
Miklos
-- juha
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers