dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
4
share rss forum feed

nitzan
Premium,VIP
join:2008-02-27
kudos:7
reply to sokhapkin

Re: [Voip.ms] voip.ms compromised the privacy of Canadian teleph

I realize that, but if dnsmgr is turned off (it's off by default at least on some versions) - wouldn't Asterisk re-lookup a DNS entry after it's expired (TTL) anyway?? if not then that's a serious design flaw...


sokhapkin
Premium
join:2003-05-08
Cape Coral, FL

1 recommendation

said by nitzan:

I realize that, but if dnsmgr is turned off (it's off by default at least on some versions) - wouldn't Asterisk re-lookup a DNS entry after it's expired (TTL) anyway?? if not then that's a serious design flaw...

No, it will not re-lookup! When dnsmgr is off asterisk does name resolution once and forever.
--
»www.callwithus.com

nitzan
Premium,VIP
join:2008-02-27
kudos:7

said by sokhapkin:

No, it will not re-lookup! When dnsmgr is off asterisk does name resolution once and forever.

Interesting. That makes zero sense. The whole point of having a TTL is to have lookups refreshed when they expire... oh well, good to know.

ConstantineM

join:2011-09-02
San Jose, CA

config files and name resolution

said by nitzan:

said by sokhapkin:

No, it will not re-lookup! When dnsmgr is off asterisk does name resolution once and forever.

Interesting. That makes zero sense. The whole point of having a TTL is to have lookups refreshed when they expire... oh well, good to know.

What, in your opinion, would then be the point of the supposed dnsmgr?

It actually makes perfect sense when you think about it from the programming perspective: name resolution is only done when you load the config, so TTL plays no role whatsoever.

Basically, such a setup is only one step further from hardcoding IP-addresses by hand. A lot of system tools are designed like this (for one, firewalls come to mind, and ping, and ssh, and basically every other simple tool).