Problem Bind & Enum configuration

Vincent vincent.petit at bull.net
Fri Apr 23 15:18:57 UTC 2004


Hi all,

I have just installed bind 9 and want to configure it with enum

I want to translate a phone number -0130807946)to an SIP address
(toto at domaine1); I try with the following file but it doesn't work...
Anybody can help me ?

named.conf file :
zone "6.4.9.7.0.8.0.3.1.0.e164.arpa"{
        type master;
        file "6497080310.db";
        notify no;
};



6497080310.db file :
$TTL 172800 ; 2 days


@       IN      SOA     6.4.9.7.0.8.0.3.1.0.e164.arpa. root.domaine1.
(
                        199609206       ; serial
                        8H              ; refresh, seconds
                        2H              ; retry, seconds
                        4W              ; expire, seconds
                        1D )            ; minimum, seconds
                NS      ns;
ns      A       190.0.0.34

$ORIGIN 6.4.9.7.0.8.0.3.1.0.e164.arpa.;
6 NAPTR  10      10      "u" "E2U+sip" "!^.*$!sip:toto at domaine1!" .


I try to test it but it doesn't work...

dig @190.0.0.34 6.4.9.7.0.8.0.3.1.0.e164.arpa NAPTR

; <<>> DiG 9.2.3 <<>> @190.0.0.34 6.4.9.7.0.8.0.3.1.0.e164.arpa NAPTR
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43289
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;6.4.9.7.0.8.0.3.1.0.e164.arpa. IN      NAPTR

;; AUTHORITY SECTION:
6.4.9.7.0.8.0.3.1.0.e164.arpa. 86400 IN SOA    
6.4.9.7.0.8.0.3.1.0.e164.arpa. root.domaine1. 199609206 28800 7200
2419200 86400

;; Query time: 1 msec
;; SERVER: 190.0.0.34#53(190.0.0.34)
;; WHEN: Fri Apr 23 16:23:54 2004
;; MSG SIZE  rcvd: 96


More information about the bind-users mailing list