<div>hello! i was just wondering, since i'm still new here, where will i config this? i'm using debian sarge amd64 and ser 0.9.4.</div> <div> </div> <div>DNS SVR Resource Records</div> <div>It is important that your <ACRONYM class=ACRONYM>SIP</ACRONYM> clients can connect to your server for purposes of registration and call control. You might even want to have a redundant server to handle calls if your primary server is unavailable. </div> <div>These requirements can be meet by using <ACRONYM class=ACRONYM>DNS</ACRONYM> <ACRONYM class=ACRONYM>SVR</ACRONYM> Resource Records, available in BIND 8.X and up releases. </div> <div>The format for a <ACRONYM class=ACRONYM>SVR RR</ACRONYM> is this: </div><PRE class=SCREEN>_service._protocol SVR Priority Weight Port hostname</PRE> <div>In this case we want to establish an entry for our primary <ACRONYM class=ACRONYM>SIP</ACRONYM> server, gateway.mydomain.com, that will listen on <ACRONYM class=ACRONYM>UDP</ACRONYM> port
5060. The entry will look like this: </div><PRE class=SCREEN>_sip._udp SRV 0 0 5060 gateway.mydomain.com</PRE> <div>Placement of the new resource record is important. Here is a sample zone file: </div> <div><PRE class=SCREEN>; zone 'mydomain.com' last serial 1998071308 $ORIGIN com. mydomain 86400 IN SOA gateway.mydomain.com. postmaster.mydomain.com. ( 1998111908 ; Serial 36000 ; Refresh 900 ; Retry 36000 ; Expire 28800 ); Minimum IN NS gateway.mydomain.com. IN NS ns3.backupdomain.com. IN MX 1 gateway.mydomain.com. IN A 192.168.0.1 ;If we place the SRV record above the next line it fails to load
$ORIGIN fitawi.com. _sip._udp SRV 0 0 5060 gateway.mydomain.com. gateway IN A 192.168.0.1 www IN CNAME gateway.mydomain.com.</PRE> <div></div> <div>After reloading your zone file you can verify that the entry is working by using dig. </div><PRE class=SCREEN>dig -t SRV _sip._udp.mydomain.com</PRE> <div>The results should look something like this: </div> <div><PRE class=SCREEN>; <<>> DiG 9.1.0 <<>> -t SRV _sip._udp.mydomain.com ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32654 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1 ;; QUESTION SECTION: ;_sip._udp.mydomain.com. IN SRV ;; ANSWER SECTION: _sip._udp.mydomain.com. 86400 IN SRV 0 0 5060 gateway.mydomain.com. ;; AUTHORITY SECTION: mydomain.com. 86400 IN NS ns3.elsewhere.com.
mydomain..com 86400 IN NS gateway. mydomain.com. ;; ADDITIONAL SECTION: gateway. mydomain.com. 86400 IN A 192.168.0.150 ;; Query time: 6 msec ;; SERVER: 192.168.0.150#53(192.168.0.150) ;; WHEN: Tue Dec 3 08:34:17 2002 ;; MSG SIZE rcvd: 132</PRE><PRE class=SCREEN>thanks in advance!</PRE><PRE class=SCREEN>ryan</PRE><p>
<hr size="1"><FONT face=Arial size=-1>Do you Yahoo!?<BR>Try the new <A href="http://sg.rd.yahoo.com/mail/ph/footer/def/*http://beta.ph.yahoo.com/">Yahoo! Philippines</A> Front Page!</FONT>