[Serusers] DNS SRV
Chia Huey
chiahuey at genme.com
Thu Sep 21 07:14:29 CEST 2006
Hi,
I am a newbie setting up the DNS SRV, below is my the DNS setting:
sip1 10 IN A 192.168.1.111
sip2 10 IN A 192.168.1.112
sip.inogen.com. IN NAPTR 0 0 "s" "SIPS+D2T" "" _sips._tcp.sip.inogen.com.
sip.inogen.com. IN NAPTR 1 0 "s" "SIP+D2T" "" _sip._tcp.sip.inogen.com.
sip.inogen.com. IN NAPTR 2 0 "s" "SIP+D2U" "" _sip._udp.sip.inogen.com.
_sips._tcp.sip.inogen.com. 10 IN SRV 0 0 5060 sip1.sip.inogen.com.
_sips._tcp.sip.inogen.com. 10 IN SRV 0 0 5060 sip2.sip.inogen.com.
_sip._udp.sip.inogen.com. 10 IN SRV 100 10 5060 sip1.sip.inogen.com.
_sip._udp.sip.inogen.com. 10 IN SRV 100 10 5060 sip2.sip.inogen.com.
_sip._tcp.sip.inogen.com. 10 IN SRV 300 10 5060 sip1.sip.inogen.com.
_sip._tcp.sip.inogen.com. 10 IN SRV 300 10 5060 sip2.sip.inogen.com.
And I try to do this in the ser config:
rewritehost("sip.inogen.com");
rewriteport("");
t_on_reply("1");
if(!t_relay()){
sl_reply_error();
log(1,"SER LOG: can't relay");
}
But I couldn't get SER to start up successfully as it could not resolve the
host name sip.inogen.com, can you help to pinpoint how shall I set the DNS
configuration? Thanks in advance.
Regards,
Chia
-----Original Message-----
From: samuel [mailto:samu60 at gmail.com]
Sent: Wednesday, September 20, 2006 8:00 PM
To: Chia Huey
Cc: serusers at iptel.org
Subject: Re: [Serusers] DNS SRV
In the stable version SER will not cache DNS results and will depend
on the underlying resolver.
However, this week there was a post in the ser-devel list regarding
DNS and caching (in adition to great DNS failover :D).
Try to look for it if you are using CVS HEAD SER version.
Samuel.
2006/9/20, Chia Huey <chiahuey at genme.com>:
>
>
>
>
> Hi,
>
>
>
> Is there any attribute that determine whether SER will cache DNS IP upon
> start up?
>
>
>
> Regards,
>
> Chia
>
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 9/19/2006
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 9/19/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.6/453 - Release Date: 9/20/2006
More information about the sr-users
mailing list