[SR-Users] turning off rev. dns

Olle E. Johansson oej at edvina.net
Mon Oct 22 21:01:24 CEST 2012


22 okt 2012 kl. 20:24 skrev Daniel-Constantin Mierla <miconda at gmail.com>:

> Hello,
> 
> that message is printed by the mechanism that tries to discover local hostnames to add them to aliases list.
> 
> To turn that off, use '-a no' in command line or 'auto_aliases=no' in configuration file.
http://www.kamailio.org/wiki/cookbooks/devel/core?&#auto_aliases
Just added. Please verify (and correct if needed)

/O
> 
> Cheers,
> Daniel
> 
> On 10/22/12 8:11 PM, Christopher Holland wrote:
>> I'm setting up Homer with kamailio for sip capturing. I've got it all set up and am getting this error. I have one interface for packet capture on a mirroired port and one interface for managment. I'm thinking that I have to only have kamailio listen on the packet capture interface and not the managment interface. Would that resolve this issue?
>> 
>> loading modules under /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio/modules/
>>  0(1832) WARNING: <core> [socket_info.c:1406]: WARNING: fix_hostname: could not rev. resolve 192.168.111.88
>> Listening on 
>>              udp: 127.0.0.1:5060
>>              udp: 192.168.111.88:5060
>> Aliases: 
>>              udp: localhost:5060
>> 
>> config file ok, exiting...
>> 
>> sense it's a local address it's not possible to do a rev. resolve of that address. Is there a way to turn off the rev. resolve.
>> 
>> I've looked at this in the trouble shooting faq.
>> 
>> How do I avoid Reverse-DNS-Lookups?
>> 
>> A: Simply not use src_ip = “11.22.33.44” and use instead src_ip = 11.22.33.44! We had in our installation some serious trouble with requests coming from systems, where the hostname could not be reverse resolved (the DNS-Server responsible for this IP-Range was poorly configured and would not answer at all).
>> 
>> 
>> 
>> 
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 
> -- 
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
> Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20121022/208a1104/attachment.htm>


More information about the sr-users mailing list