--- asterisk.orig.c 2005-08-09 14:51:50.936218089 -0600 +++ asterisk.c 2005-08-09 14:52:04.590636938 -0600 @@ -2072,6 +2072,10 @@ printf(term_quit()); exit(1); } + if (dnsmgr_init()) { + printf(term_quit()); + exit(1); + } /* load 'preload' modules, required for access to Realtime-mapped configuration files */ if (load_modules(1)) { printf(term_quit()); @@ -2119,10 +2123,6 @@ printf(term_quit()); exit(1); } - if (dnsmgr_init()) { - printf(term_quit()); - exit(1); - } #if 0 /* This should no longer be necessary */ /* sync cust config and reload some internals in case a custom config handler binded to them */