[asterisk-users] Asterisk 1.6.2 WARNING[23042]: acl.c:392 ast_get_ip_or_srv: Unable to lookup 'whsvoip.globalipcom.com'

Barry Miller asterisk-users at notanet.net
Tue Jun 15 16:40:54 CDT 2010


On Tue, Jun 15, 2010 at 10:40:06PM +0500, Faisal Hanif wrote:
> Till now I am not able to find any difference between both machines.
> Can you please tell me how I can try to resolve it on OS level using some
> utility like dig?
> 
> On Tue, Jun 15, 2010 at 09:35:37PM +0500, Faisal Hanif wrote:
> > Hi,
> > 
> > I am also wonder that same SRV record is working fine on one machine but
> not
> > on 2nd while both have same asterisk version.
> > 
> > It may be some missing OS utilities which asterisk using to resolve SRV?
> 
> Could be. To test, does replacing whsvoip.globalipcom.com with, say,
> whs-proxy00.de.whsvoip.globalipcom.com (or whatever is reachable) make
> it work?  What is different about the two machines you've tried?

Hmm. I see something odd.  My initial dig came back with a length of 515
bytes.  Then:

	; <<>> DiG 9.3.4 <<>> @auth210.ns.uu.net _sip._udp.whsvoip.globalipcom.com SRV +ignore
 	[lines deleted]
	;; SERVER: 195.129.12.74#53(195.129.12.74)
	;; WHEN: Tue Jun 15 16:39:09 2010
	;; MSG SIZE  rcvd: 457

Then:

	; <<>> DiG 9.3.4 <<>> @auth210.ns.uu.net _sip._udp.whsvoip.globalipcom.com SRV
 	[lines deleted]
	;; SERVER: 195.129.12.74#53(195.129.12.74)
	;; WHEN: Tue Jun 15 16:39:59 2010
	;; MSG SIZE  rcvd: 515

The difference is that sometimes one more server is returned, pushing
the response over 512 bytes.

Now it's back to 457.  I suspect that they know there's a problem, and
are trying to figure out what to do about it.  (maybe shorten their
server names by one or two characters each?)

So depending on when each of your boxes happens to issue the SRV query,
they could very well be identical but get different results.

I doubt it will help, but you can try quoting RFC 2782, "Currently
there's a practical limit of 512 bytes for DNS replies.  Until all
resolvers can handle larger responses, domain administrators are
strongly advised to keep their SRV replies below 512 bytes."

-- 
Barry



More information about the asterisk-users mailing list