doing dnsmgr_lookup

Home » Asterisk Users » doing dnsmgr_lookup
Asterisk Users 3 Comments

If your CLI is being spammed with : doing dnsmgr_lookup messages:

[Sep 13 08:31:38] > doing dnsmgr_lookup for ‘ssw6.itsp.tld’
[Sep 13 08:31:38] > doing dnsmgr_lookup for ‘ssw6.itsp.tld’
[Sep 13 08:31:47] > doing dnsmgr_lookup for ‘ssw4.itsp.tld’

You can to turn this off by setting a verbosity to less than 4 or or change main/dnsmgr.c and modify the 4 to something more acceptable to you, then recompile and build.

ast_verb(4, "doing dnsmgr_lookup for ‘%s’\n", name);

3 thoughts on - doing dnsmgr_lookup

  • At 11:38 PM 9/12/2010, you wrote:

    I just change the 4 in the source code to 14 so it doesn’t show up
    till you add a lot of Vs. It only occurs in one place in the code so
    it’s easy to find.

    Ira

  • Hello,

    anyone on this list knows how to turn these messages off please ?!

    I have in sip.conf :

    srvlookup=no

    and in dnsmgr.conf :

    [general]
    enable=no ; enable creation of managed DNS lookups
    ; default is ‘no’
    ;refreshinterval=1200 ; refresh managed DNS lookups every seconds
    ; default is 300 (5 minutes)

    But I still have these messages…

    Jonas.