[asterisk-users] DNS Query Overload

David Boyd dboyd at ignitetrx.com
Sun Sep 21 08:48:46 CDT 2008


Another item is the sequence for lookups!

So have you confirmed that your nsswitch.conf file has been set to look
at /etc/hosts first then dns?  

Dave


-----Original Message-----
From: Adam Lovegrove <sophus at gmail.com>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] DNS Query Overload
Date: Sun, 21 Sep 2008 23:24:28 +1000

G'day,
 
I've got this problem too.
 
I've tried altering my /etc/hosts files as per the suggestion, but my
DNS server is still being sent an A query - for every call.
 
Please help!
 
I'm using 1.4.21.2.
 
 
Cheers
Adam


On Sat, Jun 28, 2008 at 12:31 AM, Andres <andres at telesip.net> wrote:
        I have seen that before.  If I remember correctly, the solution
        was to
        put the IP Address of the Box in the /etc/hosts file.
        Like for example:
        192.168.2.1    asterisk.localhost
        
        If you have multiple interfaces with private IP addresses then
        put them
        all in the file.
        
        Andres
        http://www.neuroredes.com
        
        
        Mik Cheez wrote:
        
        >I'm finding that my Asterisk server is bombarding my DNS
        servers with
        >lookups like the following:
        >
        >     Queries
        >         5060-b7bfce38: type A, class IN
        >             Name: 5060-b7bfce38
        >             Type: A (Host address)
        >             Class: IN (0x0001)
        >
        >One call alone has a handful of requests to our server, simply
        looking
        >for an A record for something like '5060-b7bfce38' (listed
        above).  The
        >DNS server immediately responds with "No such name".
        >
        >I use only SIP on my box, and even if I just have the call go
        to hangup
        >it does this.
        >
        >My SIP.conf contains 'srvlookup=no' in the general section.
        >
        >Any thoughts or suggestions?
        >
        >Best regards,
        >
        >Mik
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list