Most distros come with a caching daemon.
Still that's not really the point... If Asterisk has all of a sudden
developed a habit of sending high volumes of nonsense DNS requests
then it's a serious issue. Besides if the requests are different for
each call the caching server is not going to help
What you should do, assuming that each DNS request is invalid and
returns nothing, is add a fake domain on your box that all of these
requests will point to. That is, if mydomain.com is the DNS name it's
looking up, add mydomain.com to a named server on the same box. Make
sure you include
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 [EMAIL PROTECTED] wrote:
I have seen
-users@lists.digium.com
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@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
Adam Lovegrove schrieb:
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.
Install a caching nameserver on the Asterisk server.
Debian
===
aptitude
Hi,
Thanks for the suggestions.
I've had a look at nsswitch.conf, it's set as: hosts: files dns. I'm
guessing this is correct.
I haven't tried the caching DNS server yet, but I really don't understand
why Asterisk is doing dns lookups similar to2019-b6912730.mydomain.com for
every call. The
Adam Lovegrove wrote:
Hi,
Thanks for the suggestions.
I've had a look at nsswitch.conf, it's set as: hosts: files dns. I'm
guessing this is correct.
I haven't tried the caching DNS server yet, but I really don't
understand why Asterisk is doing dns lookups similar
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.1asterisk.localhost
If you have multiple interfaces with private IP addresses then put them
all in the file.
Andres
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