<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>The DNS authoritative server for the domain you use (mydomain.com)</DIV>
<DIV>g-)</DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=ryanalupa@yahoo.com.ph href="mailto:ryanalupa@yahoo.com.ph">ryan
nalupa</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org
href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 21, 2006 3:34
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] Help! DNS?</DIV>
<DIV><BR></DIV>
<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>
<P>
<HR>
<P></P>_______________________________________________<BR>Serusers mailing
list<BR>serusers@lists.iptel.org<BR>http://lists.iptel.org/mailman/listinfo/serusers<BR></DIV></DIV></BLOCKQUOTE></ACRONYM></BODY></HTML>