[Users] Problems with DNS.
samuel
samu60 at gmail.com
Tue Nov 7 17:59:59 CET 2006
I can not get the SRV for _sip._udp.mobilia.it, does it have an ACL
blocking queries? (BTW, I can not get neither _mediaproxy._tcp.@ ...)
sam:/tmp# dig SRV _sip._udp.mobilia.it
;; QUESTION SECTION:
;_sip._udp.mobilia.it. IN SRV
;; AUTHORITY SECTION:
mobilia.it. 10734 IN SOA ns.mobilia.it.
root.mobilia.it. 2006112500 86400 7200 604800 86400
;; Query time: 4 msec
;; WHEN: Tue Nov 7 17:43:02 2006
;; MSG SIZE rcvd: 82
While I can get sipserver.mobilia.it:
sam:/tmp# dig sipserver.mobilia.it
;; QUESTION SECTION:
;sipserver.mobilia.it. IN A
;; ANSWER SECTION:
sipserver.mobilia.it. 86400 IN A 89.202.252.16
;; AUTHORITY SECTION:
mobilia.it. 86400 IN NS dns2.nic.it.
mobilia.it. 86400 IN NS ns.mobilia.it.
So there's something that does not look right:
I think there's a missing IN in the _sip._udp record...
Also, can you try to change the SRV weight (2nd zero) to see if your
DNS provides an answer for your SRV records??
Hence, update next 2 lines:
_sip._udp SRV 0 0 5060 sipserver.mobilia.it.
^ ^
_sip._udp IN SRV 0 1 5060 sipserver
and:
_mediaproxy._tcp.mobilia.it. IN SRV 10 0 25010 sipserver.mobilia.it
_mediaproxy._tcp IN SRV 10 1 5060 sipserver
Regarding module,listen, and alias config file statements is another
topic...can you post how does the messages the UA send to your proxy
look like (mainly the Req-URI) and how do you treat incoming messages
(config file).
If you have entries in domain table and you are using uri=~myself it
won't work because myself uses listen and alias parameteres to check
"membership".
On the other hand, is_uri_host_local will check the domain table....
So it depends on your config file to know where the problem is..
For last: export SIP_DOMAIN is only useful for openserctl, not for the
behaviour of the server (it will affect how users are treated
depending on use_domain...).
It's been a long one...
Hope it helps,
Samuel.
2006/11/7, nick <nick at mobilia.it>:
> Franz Edler wrote:
> >>> I have the feeling that your DNS records for your server are not o.k.
> >>> Show me your zone-files.
> >
> >> here they are, a bit truncated, but the rest of the stuf has 0 to do with
> >> this subject.. if you really want to see it, I'll send it to you via email
> >> directly
> >
> > Your zone files are o.k.
> > So I have no clue where your problem is. Sorry.
> >
> > Franz
> >
> Can someone please explain what I'm doing wrong???
>
> my system name is this: Linux sipserver.mobilia.it 2.6.9-34.ELsmp
>
> My zone files are correct, my PTR files are correct, I have the alias
> lines in my openser.cfg, I've exported my SIP_DOMAIN, I have the
> domain.so module loaded, with the domain mobilia.it (in the openser db),
> I have the SIP_DOMAIN line in my openserctlrc, but my openser still
> refuses to acknowledge that it's serving the domain mobilia.it
>
> Can anyone help here?
>
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
More information about the sr-users
mailing list